JP2010072867A - Terminal device, program, and content delivery system - Google Patents

Terminal device, program, and content delivery system Download PDF

Info

Publication number
JP2010072867A
JP2010072867A JP2008238591A JP2008238591A JP2010072867A JP 2010072867 A JP2010072867 A JP 2010072867A JP 2008238591 A JP2008238591 A JP 2008238591A JP 2008238591 A JP2008238591 A JP 2008238591A JP 2010072867 A JP2010072867 A JP 2010072867A
Authority
JP
Japan
Prior art keywords
terminal device
log data
communication speed
log
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008238591A
Other languages
Japanese (ja)
Inventor
Taiki Mizutani
太紀 水谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2008238591A priority Critical patent/JP2010072867A/en
Publication of JP2010072867A publication Critical patent/JP2010072867A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a terminal device which suppresses concentration of access to a log management server without increase of equipment cost and to provide a program and content delivery system. <P>SOLUTION: The terminal devices are logically connected in a multilayer in a hierarchy structure on a network having a log management server at a top and receives log data from other terminal devices logically connected to a lower layer. The terminal device stores the log data in an own terminal device, and the log data received from other terminal devices. The terminal device selects a transmission destination to transmit the log data, whether it is another terminal device which is logically connected to an upper layer or a log management server, and transmits the log data to the selected transmission destination. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、音楽データ、映画データ及び文書データなどのコンテンツデータを受信及び再生する端末装置、プログラム及びコンテンツ配信システムに関する。   The present invention relates to a terminal device, a program, and a content distribution system that receive and reproduce content data such as music data, movie data, and document data.

近年、インターネットなどのネットワークを介して、音楽、映画、トーク番組などコンテンツデータ(以下、「コンテンツ」ともいう。)のストリーミング配信を行うコンテンツ配信システムが開始され始めている。   In recent years, content distribution systems that perform streaming distribution of content data (hereinafter also referred to as “content”) such as music, movies, and talk programs have started to be started via a network such as the Internet.

このようなコンテンツ配信システムでは、複数の端末装置がピアツーピア(P2P)方式のネットワークで接続されるものが主流であり、一つの配信サーバから複数の端末装置に対して直接コンテンツの配信を行うシステムや、一つの配信サーバを頂点として複数の端末装置がツリー状に接続され、上層から順次にコンテンツの配信を行うシステムなどがあった。   In such content distribution systems, a system in which a plurality of terminal devices are connected via a peer-to-peer (P2P) network is the mainstream, and a system that directly distributes content to a plurality of terminal devices from one distribution server, There has been a system in which a plurality of terminal devices are connected in a tree shape with one distribution server as a vertex, and contents are distributed sequentially from the upper layer.

また、このようなコンテンツ配信システムのなかでも、複数の端末装置をインターネット等の情報通信回線を介して接続して、端末装置間で双方向での情報通信が可能なオーバーレイネットワークを構築すると共に、各端末装置内のストレージ(記憶手段)に、それぞれ様々なコンテンツデータを記憶させておくことにより、複数の端末装置のストレージ群からなる巨大なストレージを仮想的に構築した情報配信システムも知られている(たとえば、特許文献1参照。)。   Among such content distribution systems, a plurality of terminal devices are connected via an information communication line such as the Internet, and an overlay network capable of bidirectional information communication between the terminal devices is constructed. There is also known an information distribution system in which a huge storage composed of storage groups of a plurality of terminal devices is virtually constructed by storing various content data in the storage (storage means) in each terminal device. (For example, refer to Patent Document 1).

また、この種のコンテンツ配信システムにおいては、P2Pネットワークに参加している端末装置からログデータを収集するためにログ管理サーバが設置されている。このログ管理サーバに、ログデータが端末装置のそれぞれから随時送信されることによって、収集されることとなる。
特開2006−197400号公報
In this type of content distribution system, a log management server is installed to collect log data from terminal devices participating in the P2P network. Log data is collected by transmitting log data to each log management server from time to time.
JP 2006-197400 A

しかしながら、このようなコンテンツ配信システムにおいては、ネットワークに参加する端末装置の数が増大することに伴い、ログ収集時にログ管理サーバへのアクセスが集中するおそれがあった。特に、通信速度の遅い端末装置は、ログデータのアップロードに時間がかかり、その分ログ管理サーバへの負担が大きくなるため、端末装置の送信要求に対する処理に遅延が生ずるおそれがあった。その結果、ログ管理サーバの増設などを別途行うと、P2Pネットワークシステムの成長に伴い設備コストも増加してしまう。   However, in such a content distribution system, as the number of terminal devices participating in the network increases, access to the log management server may be concentrated during log collection. In particular, a terminal device with a low communication speed takes time to upload log data, and the burden on the log management server increases accordingly, so there is a possibility that processing for a transmission request of the terminal device may be delayed. As a result, if the log management server is additionally installed, the equipment cost increases with the growth of the P2P network system.

本発明は、上述したような課題に鑑みてなされたものであり、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる端末装置、プログラム及びコンテンツ配信システムを提供することを目的とする。   The present invention has been made in view of the above-described problems, and provides a terminal device, a program, and a content distribution system that can suppress concentration of access to a log management server without increasing facility costs. The purpose is to do.

以上のような目的を達成するために、本発明は、以下のようなものを提供する。   In order to achieve the above object, the present invention provides the following.

すなわち、請求項1に記載の発明は、ネットワークを介してコンテンツデータを受信及び再生する複数の端末装置と、前記複数の端末装置におけるログデータを管理するログ管理サーバと、を備えたコンテンツ配信システムにおける前記端末装置において、前記ログ管理サーバを頂点として前記複数の端末装置が前記ネットワーク上において階層構造で多層に論理接続する接続手段と、前記接続手段によって下層に論理接続されている他の端末装置からログデータを受信するログデータ受信手段と、自己の端末装置におけるログデータ、前記ログデータ受信手段によって受信された前記他の端末装置からのログデータを記憶するログデータ記憶手段と、前記ログデータ記憶手段におけるログデータを送信する送信先を、前記接続手段によって上層に論理接続されている他の端末装置とするか、前記ログ管理サーバとするかを選択する送信先選択手段と、前記送信先選択手段によって選択された送信先に前記ログデータ記憶手段におけるログデータを送信するログデータ送信手段と、を有することを特徴とするものである。   That is, the invention according to claim 1 is a content distribution system comprising a plurality of terminal devices that receive and reproduce content data via a network, and a log management server that manages log data in the plurality of terminal devices. In the terminal device, a connection means for logically connecting the plurality of terminal devices in a multi-layered hierarchical structure on the network with the log management server as a vertex, and another terminal device logically connected to a lower layer by the connection means Log data receiving means for receiving log data from the log data storage means for storing log data in its own terminal device, log data from the other terminal device received by the log data receiving means, and the log data A transmission destination for transmitting log data in the storage means is determined by the connection means. A destination selection means for selecting whether to use another terminal device logically connected to the layer or the log management server, and a log in the log data storage means to the destination selected by the destination selection means Log data transmitting means for transmitting data.

また、請求項2に記載の発明は、請求項1に記載の端末装置において、前記ログデータ記憶手段に記憶されているログデータの記憶容量を判定するログデータ記憶容量判定手段を有し、前記送信先選択手段は、前記ログデータ記憶容量判定手段によってログデータの記憶容量が所定の容量以上となっていると判定された場合に、前記ログ管理サーバを前記送信先として選択することを特徴とするものである。   The invention according to claim 2 is the terminal device according to claim 1, further comprising log data storage capacity determination means for determining a storage capacity of log data stored in the log data storage means, The transmission destination selection unit selects the log management server as the transmission destination when the log data storage capacity determination unit determines that the storage capacity of the log data is equal to or larger than a predetermined capacity. To do.

また、請求項3に記載の発明は、請求項1又は2に記載の端末装置において、前記ログデータ記憶手段に記憶されているログデータの記憶時間を判定するログデータ記憶時間判定手段と、前記送信先選択手段は、前記ログデータ記憶時間判定手段によってログデータの記憶時間が所定の時間以上となっていると判定された場合に、前記ログ管理サーバを前記送信先として選択することを特徴とするものである。   Further, the invention according to claim 3 is the terminal device according to claim 1 or 2, wherein the log data storage time determination means for determining the storage time of the log data stored in the log data storage means, The transmission destination selection unit selects the log management server as the transmission destination when the log data storage time determination unit determines that the log data storage time is equal to or longer than a predetermined time. To do.

また、請求項4に記載の発明は、請求項1から3のいずれかにに記載の端末装置において、前記送信先選択手段は、前記ログデータ送信手段は、前記接続手段によって接続されている前記ネットワーク上から脱する場合に、前記接続手段によって上層に論理接続されている他の端末装置を前記送信先として選択することを特徴とするものである。   According to a fourth aspect of the present invention, in the terminal device according to any one of the first to third aspects, the transmission destination selection unit is connected to the log data transmission unit by the connection unit. When leaving the network, another terminal device logically connected to the upper layer by the connection means is selected as the transmission destination.

また、請求項5に記載の発明は、請求項1から4のいずれかにに記載の端末装置において、自己の端末装置における通信速度が記憶された通信速度記憶手段と、他の端末装置における通信速度を取得する通信速度取得手段と、前記通信速度記憶手段に記憶された自己の端末装置における通信速度と、前記接続手段によって論理接続され、前記通信速度取得手段によって取得された他の端末装置における通信速度とを比較する通信速度比較手段と、前記通信速度比較手段によって比較された結果に基づいて、前記接続手段によって上層に接続されている端末装置の通信速度よりも、前記接続手段によって下層に接続されている端末装置の通信速度のほうが速いか否かを判定する通信速度判定手段と、を有し、前記接続手段は、前記通信速度判定手段によって前記上層に接続されている端末装置の通信速度よりも前記下層に接続されている端末装置の通信速度のほうが速いと判定された場合に、前記上層に接続されている端末装置と前記下層に接続されている端末装置とを入れ替えることを特徴とするものである。   According to a fifth aspect of the present invention, in the terminal device according to any one of the first to fourth aspects, the communication speed storage means storing the communication speed of the terminal device of its own, and the communication of another terminal device A communication speed acquisition means for acquiring a speed, a communication speed in its own terminal device stored in the communication speed storage means, and a logical connection by the connection means in another terminal device acquired by the communication speed acquisition means. Based on the result of the comparison by the communication speed comparison means for comparing the communication speed and the communication speed comparison means, the connection means lower than the communication speed of the terminal device connected to the upper layer by the connection means. Communication speed determination means for determining whether or not the communication speed of the connected terminal device is faster, and the connection means determines the communication speed. When it is determined that the communication speed of the terminal device connected to the lower layer is higher than the communication speed of the terminal device connected to the upper layer by a stage, the terminal device connected to the upper layer and the lower layer The terminal device connected to is replaced with a terminal device.

また、請求項6に記載の発明は、請求項5に記載の端末装置において、前記ログ管理サーバを頂点として所定の階層数であるか否かを判定する階層数判定手段を有し、前記接続手段は、前記階層数判定手段によって所定の階層数であると判定された場合には、前記通信速度判定手段による判定結果に拘わらず、前記上層に接続されている端末装置と前記下層に接続されている端末装置との入れ替えを禁止することを特徴とするものである。   The invention according to claim 6 is the terminal device according to claim 5, further comprising: a hierarchy number determination unit that determines whether or not the log management server has a predetermined hierarchy number, with the log management server as a vertex. When the means for determining the number of hierarchies is determined by the number of hierarchies determining means, the means is connected to the terminal device connected to the upper layer and the lower layer regardless of the determination result by the communication speed determining means. It is forbidden to replace the terminal device.

また、請求項7に記載の発明は、請求項6に記載の端末装置において、前記送信先選択手段は、前記階層数判定手段によって所定の階層数であると判定された場合には、前記ログ管理サーバを前記送信先として選択することを特徴とするものである。   The invention according to claim 7 is the terminal device according to claim 6, wherein when the transmission destination selection means determines that the number of hierarchies is a predetermined number of hierarchies by the hierarchy number determination means, the log The management server is selected as the transmission destination.

また、請求項8に記載の発明は、請求項5から7のいずれかに記載の端末装置において、他の端末装置との通信を行うときに、当該他の端末装置との通信速度を計測することによって、自己の端末装置における通信速度を算出する通信速度算出手段を有し、前記通信速度記憶手段は、前記通信速度算出手段によって算出された自己の端末装置における通信速度を記憶することを特徴とするものである。   The invention according to claim 8 measures the communication speed with the other terminal device when the terminal device according to any of claims 5 to 7 performs communication with the other terminal device. The communication speed calculating means for calculating the communication speed in its own terminal device, and the communication speed storage means stores the communication speed in its own terminal device calculated by the communication speed calculating means. It is what.

また、請求項9に記載の発明は、請求項8に記載の端末装置において、前記通信速度算出手段は、前記他の端末装置との通信速度の平均値に基づいて、前記自己の端末装置における通信速度を算出することを特徴とするものである。   The invention according to claim 9 is the terminal device according to claim 8, wherein the communication speed calculation means is based on an average value of communication speeds with the other terminal devices. The communication speed is calculated.

また、請求項10に記載の発明は、請求項8に記載の端末装置において、前記通信速度算出手段は、前記他の端末装置との通信速度の最大値に基づいて、前記自己の端末装置における通信速度を算出することを特徴とするものである。   Further, the invention according to claim 10 is the terminal device according to claim 8, wherein the communication speed calculation means is based on the maximum value of the communication speed with the other terminal device. The communication speed is calculated.

また、請求項11に記載の発明は、コンピュータを、請求項1から10のいずれかに記載の端末装置における各手段として機能させるためのものである。   The invention described in claim 11 is for causing a computer to function as each means in the terminal device according to any one of claims 1 to 10.

また、請求項12に記載の発明は、ネットワークを介してコンテンツデータを受信及び再生する複数の端末装置と、前記複数の端末装置におけるログデータを管理するログ管理サーバと、を備えたコンテンツ配信システムにおいて、前記複数の端末装置の各々は、前記ログ管理サーバを頂点として前記複数の端末装置が前記ネットワーク上において階層構造で多層に論理接続する接続手段と、前記接続手段によって下層に論理接続されている他の端末装置からログデータを受信するログデータ受信手段と、自己の端末装置におけるログデータ、前記ログデータ受信手段によって受信された前記他の端末装置からのログデータを記憶するログデータ記憶手段と、前記ログデータ記憶手段におけるログデータを送信する送信先を、前記接続手段によって上層に論理接続されている他の端末装置とするか、前記ログ管理サーバとするかを選択する送信先選択手段と、前記送信先選択手段によって選択された送信先に前記ログデータ記憶手段におけるログデータを送信するログデータ送信手段と、を有することを特徴とするものである。   The invention according to claim 12 is a content distribution system comprising: a plurality of terminal devices that receive and reproduce content data via a network; and a log management server that manages log data in the plurality of terminal devices. Each of the plurality of terminal devices is logically connected to a lower layer by the connection means, wherein the plurality of terminal devices are logically connected in a hierarchical structure in a hierarchical structure on the network with the log management server as a vertex. Log data receiving means for receiving log data from another terminal apparatus, log data storage means for storing log data in its own terminal apparatus, and log data from the other terminal apparatus received by the log data receiving means And a destination for transmitting log data in the log data storage means to the connection means A destination selection unit for selecting whether to use another terminal device logically connected to the upper layer or the log management server, and the log data storage unit to the destination selected by the destination selection unit Log data transmission means for transmitting the log data in (1).

本発明では、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   In the present invention, concentration of access to the log management server can be suppressed without increasing the equipment cost.

以下、本発明の一実施形態について具体的に説明する。なお、本実施形態ではツリー形状のP2P型のコンテンツ配信システムを例にとり説明する。   Hereinafter, an embodiment of the present invention will be specifically described. In this embodiment, a tree-shaped P2P type content distribution system will be described as an example.

[1.第1実施形態]
[1.1.コンテンツ配信システムSの構成等]
まず始めに、図1を参照して、本発明の第1実施形態におけるコンテンツ配信システムの概要について説明する。図1は、本実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。
[1. First Embodiment]
[1.1. Configuration of content distribution system S]
First, the outline of the content distribution system in the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a diagram illustrating a schematic configuration example of a content distribution system S according to the present embodiment.

図1に示すように、本実施形態に係るコンテンツ配信システムSは、ネットワーク9を介して、音楽、映画、トーク番組などコンテンツデータ(以下、「コンテンツ」ともいう。)の配信を行うコンテンツ配信サービスを行うシステムである。   As shown in FIG. 1, the content distribution system S according to this embodiment distributes content data (hereinafter also referred to as “content”) such as music, movies, and talk programs via a network 9. It is a system that performs.

このコンテンツ配信システムSは、ネットワーク9を介してコンテンツデータを配信するコンテンツ配信サーバ10と、ネットワーク9を介してコンテンツデータの受信及び再生を行う複数の端末装置1と、複数の端末装置1に対して接続先を紹介するとともに、コンテンツ配信サーバ10及び複数の端末装置1など各種装置のコンテンツ配信システムS上における接続状態を管理する接続管理サーバ11と、複数の端末装置1におけるログデータを管理するログ管理サーバ12と、を含む構成である。なお、便宜上、複数の端末装置の全てを符号1で表す。   The content distribution system S includes a content distribution server 10 that distributes content data via a network 9, a plurality of terminal devices 1 that receive and reproduce content data via the network 9, and a plurality of terminal devices 1. The connection management server 11 that manages the connection state of the content distribution server 10 and various devices such as the plurality of terminal devices 1 on the content distribution system S, and manages log data in the plurality of terminal devices 1. And a log management server 12. For convenience, all of the plurality of terminal devices are denoted by reference numeral 1.

なお、本実施形態において、コンテンツ配信システムSは、コンテンツ配信サーバ10を含むシステムである。コンテンツ配信システムSに、コンテンツ配信サーバ10が一体の装置として配置されているが、これに限らず、複数体のコンテンツ配信サーバ10が配置されていてもよい。   In the present embodiment, the content distribution system S is a system including the content distribution server 10. In the content distribution system S, the content distribution server 10 is disposed as an integrated device. However, the present invention is not limited to this, and a plurality of content distribution servers 10 may be disposed.

コンテンツ配信サーバ10、端末装置1、接続管理サーバ11、ログ管理サーバ12には、各々IPアドレスが割り当てられている。すなわち、目的の接続先端末装置のIPアドレスを宛先IPアドレス、自装置のIPアドレスを送信元IPアドレスとしたヘッダを含むパケットを送信することによって通信接続が可能となっている。   An IP address is assigned to each of the content distribution server 10, the terminal device 1, the connection management server 11, and the log management server 12. In other words, communication connection is possible by transmitting a packet including a header with the destination IP address of the target terminal device as the destination IP address and the IP address of the own device as the source IP address.

なお、本実施形態においては、コンテンツ配信サーバ10、接続管理サーバ11、ログ管理サーバ12などを別体の装置として構成したが、これに限らず、例えば、接続管理サーバ11やログ管理サーバ12などをコンテンツ配信サーバ10の内部に有することとしてもよい。この場合には接続管理サーバ11やログ管理サーバ12にはIPアドレスは割り当てなくてもよく、コンテンツ配信サーバ10のIPアドレスと共用するようにしてもよい。また、例えば、コンテンツ配信サーバ10、接続管理サーバ11、ログ管理サーバ12以外にも、別の機能を有する装置を含む構成であってもよい。   In the present embodiment, the content distribution server 10, the connection management server 11, the log management server 12, and the like are configured as separate devices. However, the present invention is not limited thereto, and for example, the connection management server 11, the log management server 12, and the like. May be included in the content distribution server 10. In this case, the connection management server 11 and the log management server 12 do not have to be assigned an IP address, and may be shared with the IP address of the content distribution server 10. For example, in addition to the content distribution server 10, the connection management server 11, and the log management server 12, a configuration including a device having another function may be used.

接続管理サーバ11は、コンテンツ配信システムSに参加していない端末装置1などから接続先紹介要求を受信すると、コンテンツ配信システムSにおける接続状態等に基づいて、その端末装置1が配信を受けるための上流に接続する接続先候補(端末装置1やコンテンツ配信サーバ10など)を選択する。そして、このように選択した接続先候補の所在情報(接続先候補のIPアドレスやポート番号など)及び通信プロトコル等を通知する。   When the connection management server 11 receives a connection destination introduction request from a terminal device 1 that does not participate in the content distribution system S, the connection management server 11 receives the distribution based on the connection state in the content distribution system S and the like. A connection destination candidate (terminal device 1, content distribution server 10, etc.) to be connected upstream is selected. Then, the location information of the connection destination candidate selected in this way (such as the IP address and port number of the connection destination candidate) and the communication protocol are notified.

端末装置1は、接続管理サーバ11から接続先候補の所在情報を受信すると、そのIPアドレスの接続先候補に対して、コンテンツ配信システムSへの参加(接続)を要求し、これにより端末装置1がコンテンツ配信システムSに組み込まれる。すなわち、端末装置1はコンテンツ配信サーバ10から配信されるコンテンツデータを受信可能となる。   When receiving the location information of the connection destination candidate from the connection management server 11, the terminal device 1 requests the connection destination candidate of the IP address to participate (connect) to the content distribution system S, and thereby the terminal device 1 Is incorporated into the content distribution system S. That is, the terminal device 1 can receive content data distributed from the content distribution server 10.

コンテンツ配信システムSは、このように端末装置1が参加することによって、コンテンツ配信サーバ10を頂点として複数の端末装置1が論理接続される。そして、コンテンツ配信サーバ10から配信されるコンテンツデータは、複数の端末装置1に配信される。   In the content distribution system S, when the terminal device 1 participates in this manner, a plurality of terminal devices 1 are logically connected with the content distribution server 10 as a vertex. Then, the content data distributed from the content distribution server 10 is distributed to a plurality of terminal devices 1.

また、上述した接続管理サーバ11は、接続先の紹介要求を行う端末装置1との通信を行う場合に、その端末装置1との通信速度を計測し、通知することとなる。これによって、自己の端末装置1は、その通信速度を認識可能となり、更には、上層又は下層に接続されている他の端末装置1と通信することによって、相互における通信速度の比較が可能となる。   In addition, the connection management server 11 described above measures and notifies the communication speed with the terminal device 1 when performing communication with the terminal device 1 that makes a connection destination introduction request. As a result, the terminal device 1 can recognize the communication speed, and further, by communicating with another terminal device 1 connected to the upper layer or the lower layer, the communication speeds can be compared with each other. .

また、このコンテンツ配信システムSにおいては、コンテンツ配信サーバ10を頂点としたツリー構造とは別に、ログ管理サーバ12も頂点としたツリー構造が構築されており、複数の端末装置1におけるログデータの管理が行われる。   In addition, in this content distribution system S, a tree structure with the log management server 12 as a vertex is constructed in addition to the tree structure with the content distribution server 10 as a vertex, and log data management in a plurality of terminal devices 1 is performed. Is done.

従来においては、複数の端末装置1の各々がログ管理サーバ12にログデータを送信したが、上層に接続されている端末装置1にログデータを送信することによって、端末装置間でログデータを収集し、まとめてログ管理サーバ12にログデータを送信することが可能となる。もちろん、所定の条件が成立すると、ログ管理サーバ12にログデータが送信される。つまり、このログデータの送信先を選択可能となり、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   Conventionally, each of the plurality of terminal devices 1 has transmitted log data to the log management server 12, but collects log data between the terminal devices by transmitting log data to the terminal device 1 connected to the upper layer. As a result, log data can be transmitted to the log management server 12 collectively. Of course, when predetermined conditions are satisfied, log data is transmitted to the log management server 12. That is, it becomes possible to select the transmission destination of the log data, and it is possible to suppress the concentration of access to the log management server without increasing the equipment cost.

また、上層に接続されている端末装置が下層に接続されている端末装置よりも通信速度が速くなるようにツリー構造が構築されている。従って、上層に配置されている通信速度の速い端末装置にログデータが収集され、まとめてログ管理サーバ12に送信されるため、より一層、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   In addition, the tree structure is constructed so that the terminal device connected to the upper layer has a higher communication speed than the terminal device connected to the lower layer. Therefore, log data is collected in the terminal device with a high communication speed arranged in the upper layer and is collectively transmitted to the log management server 12, so that access to the log management server can be performed without further increasing the equipment cost. Concentration can be suppressed.

[1.2.端末装置1、接続管理サーバ11の具体的構成及び動作の説明]
以下、図面を参照して、上述した端末装置1の具体的構成及び動作の一例について説明する。
[1.2. Description of Specific Configuration and Operation of Terminal Device 1 and Connection Management Server 11]
Hereinafter, an example of a specific configuration and operation of the terminal device 1 described above will be described with reference to the drawings.

(端末装置1の構成について)
まず、端末装置1の構成について説明する。図2は、端末装置1の概略構成を示す図である。
(About the configuration of the terminal device 1)
First, the configuration of the terminal device 1 will be described. FIG. 2 is a diagram illustrating a schematic configuration of the terminal device 1.

端末装置1は、専用のコンピュータの他、一般のパーソナルコンピュータを適用可能であり、図2に示すように、制御部101と、各種テーブルなどを記憶する書き換え可能な第1記憶部102と、他の端末装置1、コンテンツ配信サーバ10から取得したコンテンツファイルを記憶する不揮発性メモリである第2記憶部103(コンテンツ記憶手段の一例に相当)と、ネットワーク8を介して取得したコンテンツデータを一時的に記憶するバッファメモリ104と、このバッファメモリ104に記憶したコンテンツデータを順次取り出してデコードするデコーダ部105と、このデコーダ部105によってデコードされたコンテンツデータのうち映像情報を後述の表示部107で表示可能な情報に変換処理する映像処理部106と、この映像処理部106からの出力に基づいてコンテンツデータの映像を表示する液晶表示装置(LCD)などの表示部107と、デコーダ部105によってデコードされたコンテンツデータのうち音声情報を後述のスピーカ109で音波として出力可能な情報に変換処理する音声処理部108と、この音声処理部108からの出力に基づいてコンテンツデータの音声を音波として出力するスピーカ109と、マウス及びキーボードなどからなる入力部110と、ネットワーク8を介して、他の端末装置1、コンテンツ配信サーバ10、接続管理サーバ11、ログ管理サーバ12と通信するための通信部111とを備えている。なお、制御部101、第1記憶部102、第2記憶部103、バッファメモリ104、デコーダ部105、通信部111は、システムバス120を介して相互に接続されている。また、デコーダ部105、映像処理部106及び音声処理部108は再生手段の一例に相当する。   The terminal device 1 can be a general personal computer in addition to a dedicated computer. As shown in FIG. 2, the control unit 101, a rewritable first storage unit 102 for storing various tables, and the like. A second storage unit 103 (corresponding to an example of content storage means) that is a nonvolatile memory that stores content files acquired from the terminal device 1 and the content distribution server 10 and content data acquired via the network 8 temporarily. A buffer memory 104 stored in the buffer memory 104, a decoder unit 105 that sequentially extracts and decodes the content data stored in the buffer memory 104, and video information of the content data decoded by the decoder unit 105 is displayed on a display unit 107 described later. A video processing unit 106 that converts the information into possible information, Audio information of the content data decoded by the decoder unit 105 and a display unit 107 such as a liquid crystal display device (LCD) that displays content data video based on the output from the processing unit 106 is converted into sound waves by a speaker 109 described later. An audio processing unit 108 that performs conversion processing into information that can be output, a speaker 109 that outputs audio of content data as sound waves based on an output from the audio processing unit 108, an input unit 110 including a mouse and a keyboard, and a network 8, a communication unit 111 for communicating with another terminal device 1, a content distribution server 10, a connection management server 11, and a log management server 12 is provided. The control unit 101, the first storage unit 102, the second storage unit 103, the buffer memory 104, the decoder unit 105, and the communication unit 111 are connected to each other via the system bus 120. The decoder unit 105, the video processing unit 106, and the audio processing unit 108 correspond to an example of a reproducing unit.

制御部101は、CPU(Central Processing Unit)、内部メモリから構成される。この内部メモリには、コンテンツ配信システムSに参加して、コンテンツデータを送受信し、コンテンツデータを再生するための情報処理プログラムが格納されており、CPUは内部メモリに記憶されている情報処理プログラムを読み出して実行することによって、コンテンツ送信手段等として機能する。また、第1記憶部102は、詳しくは後述するようなプログラムが記憶された記録媒体である。   The control unit 101 includes a CPU (Central Processing Unit) and an internal memory. The internal memory stores an information processing program for participating in the content distribution system S, transmitting / receiving content data, and reproducing the content data, and the CPU stores the information processing program stored in the internal memory. By reading and executing, it functions as a content transmission means or the like. The first storage unit 102 is a recording medium that stores a program that will be described in detail later.

(接続管理サーバ11の構成について)
次に、接続管理サーバ11の具体的構成及び動作の一例について説明する。
(About the configuration of the connection management server 11)
Next, an example of a specific configuration and operation of the connection management server 11 will be described.

まず、接続管理サーバ11の具体的構成について説明する。図3は、本実施形態のコンテンツ配信システムSにおける接続管理サーバ11の概略構成を示す図である。   First, a specific configuration of the connection management server 11 will be described. FIG. 3 is a diagram showing a schematic configuration of the connection management server 11 in the content distribution system S of the present embodiment.

接続管理サーバ11は、一般のサーバコンピュータを適用可能であり、図3に示すように、接続管理サーバ11全体を制御する制御部201と、主に複数の端末装置1等の接続状況を記憶する書き換え可能な記憶部202と、端末装置1,他のコンテンツ配信サーバ10、ログ管理サーバ12と通信するための通信部203とを備えており、これらはシステムバス210を介して相互に接続されている。   As the connection management server 11, a general server computer can be applied, and as shown in FIG. 3, the control unit 201 that controls the connection management server 11 as a whole, and the connection status of a plurality of terminal devices 1 and the like are mainly stored. A rewritable storage unit 202 and a communication unit 203 for communicating with the terminal device 1, another content distribution server 10, and the log management server 12 are provided, and these are connected to each other via a system bus 210. Yes.

制御部201は、CPU(Central Processing Unit)、内部メモリなどから構成される。この内部メモリには、端末装置1との間で接続先を紹介するためのプログラムや、その際において端末装置1における通信速度を計測するためのプログラムなどが格納されており、CPUは内部メモリに記憶されている情報処理プログラムを読み出して実行することとなる。   The control unit 201 includes a CPU (Central Processing Unit), an internal memory, and the like. The internal memory stores a program for introducing a connection destination with the terminal device 1 and a program for measuring a communication speed in the terminal device 1 at that time. The CPU stores the program in the internal memory. The stored information processing program is read out and executed.

(端末装置1の動作について)
以上のように構成された端末装置1の動作について図面を参照して具体的に説明する。図4は端末装置1のメイン処理フローチャートである。なお、以下の各処理は、端末装置1の制御部101が上述した各手段等として機能することによって実行されるものである。
(Operation of terminal device 1)
The operation of the terminal device 1 configured as described above will be specifically described with reference to the drawings. FIG. 4 is a main process flowchart of the terminal device 1. The following processes are executed by the control unit 101 of the terminal device 1 functioning as the above-described units.

図4に示すように、端末装置1においてメイン電源スイッチ(図示せず)がONされたときやリセットスイッチ(図示せず)が操作されたとき、制御部101のCPUは、内部メモリの作業領域確保等の初期設定動作を実行し、内部メモリに記憶した情報処理プログラムを実行状態として、制御部101としての機能を動作状態とした後(ステップS10)、コンテンツ配信システムSへ参加してステップS11に処理を移行する。   As shown in FIG. 4, when a main power switch (not shown) is turned on or a reset switch (not shown) is operated in the terminal device 1, the CPU of the control unit 101 performs a work area of the internal memory. An initial setting operation such as securing is executed, the information processing program stored in the internal memory is set to the execution state, and the function as the control unit 101 is set to the operation state (step S10). Then, the content distribution system S is joined and step S11 is performed. The process is transferred to.

ステップS11の処理において、制御部101は、ネットワーク参加指示があったか否かを判定する。制御部101は、端末装置1の操作指示等に応じて、ネットワーク9に参加するか否かを判定することとなる。   In the process of step S11, the control unit 101 determines whether there is a network participation instruction. The control unit 101 determines whether or not to participate in the network 9 according to an operation instruction or the like of the terminal device 1.

制御部101は、ネットワーク参加指示があったと判定すると(ステップS11:YES)、接続先紹介要求制御処理を実行する(ステップS12)。この処理において、制御部101は、ネットワーク9に参加するために、接続管理サーバ11に対して接続先の紹介要求を行う。そして、制御部101は、接続管理サーバ11から紹介された接続先に接続することとなる。つまり、制御部101は、コンテンツ配信サーバ10やログ管理サーバ12を頂点として複数の端末装置1がネットワーク9上において階層構造で多層に論理接続する。このような処理を実行する制御部101は、接続手段の一例に相当する。   When determining that there is a network participation instruction (step S11: YES), the control unit 101 executes connection destination introduction request control processing (step S12). In this process, the control unit 101 makes a connection destination introduction request to the connection management server 11 in order to participate in the network 9. Then, the control unit 101 connects to the connection destination introduced from the connection management server 11. That is, the control unit 101 logically connects a plurality of terminal devices 1 in a hierarchical structure on the network 9 with the content distribution server 10 and the log management server 12 as vertices. The control unit 101 that executes such processing corresponds to an example of a connection unit.

そして、制御部101は、接続管理サーバ11から自己の端末装置1における通信速度を取得する通信速度取得処理を実行する(ステップS13)。この処理において、制御部101は、上述した接続先の紹介要求を行う際に接続管理サーバ11において自己の端末装置1における通信速度が計測されるため、その通信速度を接続管理サーバ11から取得し、第2記憶部103に記憶することとなる。つまり、制御部101や第2記憶部103は、自己の端末装置における通信速度を記憶することとなる。尚、このような処理を実行する制御部101は、通信速度記憶手段の一例に相当する。この処理が終了した場合には、ステップS23に処理を移す。   And the control part 101 performs the communication speed acquisition process which acquires the communication speed in the own terminal device 1 from the connection management server 11 (step S13). In this process, the control unit 101 acquires the communication speed from the connection management server 11 because the connection management server 11 measures the communication speed of the terminal device 1 when making the connection destination introduction request described above. And stored in the second storage unit 103. That is, the control part 101 and the 2nd memory | storage part 103 memorize | store the communication speed in an own terminal device. The control unit 101 that executes such processing corresponds to an example of a communication speed storage unit. If this process ends, the process moves to a step S23.

一方、制御部101は、ネットワーク参加指示がなかったと判定すると(ステップS11:NO)、ステップS14に処理を移す。   On the other hand, when determining that the network participation instruction has not been given (step S11: NO), the control unit 101 moves the process to step S14.

ステップS14の処理において、制御部101は、端末装置1の通信速度の比較指示があったか否かを判定する。制御部101は、端末装置1の操作指示等に応じて、端末装置1の通信速度の比較指示があったか否かを判定することとなる。   In the process of step S <b> 14, the control unit 101 determines whether there is an instruction to compare the communication speed of the terminal device 1. The control unit 101 determines whether or not there is a communication speed comparison instruction of the terminal device 1 in accordance with an operation instruction or the like of the terminal device 1.

制御部101は、端末装置1の通信速度の比較指示があったと判定すると(ステップS14:YES)、ツリー組換処理を実行し(ステップS15)、ステップS23に処理を移す。このツリー組換処理については図6を用いて詳しく後述するが、制御部101は、上層に接続された端末装置1における通信速度と比較し、その結果に基づいて、上層の端末装置1との入れ替えを行うことがある。この処理が終了した場合には、ステップS23に処理を移す。   When the control unit 101 determines that there is an instruction to compare the communication speed of the terminal device 1 (step S14: YES), the control unit 101 executes tree rearrangement processing (step S15), and moves the processing to step S23. The tree rearrangement process will be described later in detail with reference to FIG. 6. The control unit 101 compares the communication speed with the terminal device 1 connected to the upper layer, and based on the result, the control unit 101 communicates with the upper layer terminal device 1. May be replaced. If this process ends, the process moves to a step S23.

一方、制御部101は、端末装置1の通信速度の比較指示がなかったと判定すると(ステップS14:NO)、ステップS16に処理を移す。   On the other hand, when the control unit 101 determines that there is no instruction to compare the communication speed of the terminal device 1 (step S14: NO), the process proceeds to step S16.

ステップS16において、制御部101は、ネットワーク脱退指示があったか否かを判定する。制御部101は、端末装置1の操作指示等に応じて、ネットワーク9から脱退するか否かを判定することとなる。制御部101は、ネットワーク脱退指示があったと判定すると(ステップS16:YES)、ログ送信処理を実行する(ステップS17)。このログ送信処理については図5を用いて詳しく後述するが、制御部101は、ネットワーク9から脱退し、ログデータの送信を行うこととなる。この処理が終了した場合には、ステップS23に処理を移す。一方、制御部101は、ネットワーク脱退指示がなかったと判定すると(ステップS16:NO)、ステップS17に処理を移す。   In step S16, the control unit 101 determines whether there is a network withdrawal instruction. The control unit 101 determines whether or not to leave the network 9 according to an operation instruction or the like of the terminal device 1. When determining that there is a network withdrawal instruction (step S16: YES), the control unit 101 executes a log transmission process (step S17). The log transmission process will be described later in detail with reference to FIG. 5, but the control unit 101 leaves the network 9 and transmits log data. If this process ends, the process moves to a step S23. On the other hand, when determining that there is no network withdrawal instruction (step S16: NO), the control unit 101 moves the process to step S17.

ステップS17の処理において、制御部101は、ログ送信時刻であるか否かを判定する。この時刻は、ユーザによって設定可能であり、例えば、毎日12時と設定可能である。また、この時刻は、例えば、数時間毎、数日毎、数週間毎、数月毎等の期間の単位を問わない。制御部101は、ログ送信時刻であると判定すると(ステップS17:YES)、ログ送信処理を実行する(ステップS18)。このログ送信処理については図5を用いて詳しく後述するが、制御部101は、ログデータの送信を行うこととなる。この処理が終了した場合には、ステップS23に処理を移す。一方、制御部101は、ログ送信時刻ではないと判定すると(ステップS17:NO)、ステップS19に処理を移す。   In the process of step S17, the control unit 101 determines whether it is a log transmission time. This time can be set by the user, for example, can be set to 12:00 every day. In addition, this time may be a unit of a period such as every several hours, every few days, every several weeks, every several months, or the like. When determining that it is the log transmission time (step S17: YES), the control unit 101 executes a log transmission process (step S18). The log transmission process will be described in detail later with reference to FIG. 5, but the control unit 101 transmits log data. If this process ends, the process moves to a step S23. On the other hand, if the control unit 101 determines that it is not the log transmission time (step S17: NO), the process proceeds to step S19.

ステップS19の処理において、制御部101は、他の端末装置1からログデータを受信したか否かを判定する。制御部101は、ログを受信したと判定すると(ステップS19:YES)、第2記憶部103に記憶し、ステップS20に処理を移す。一方、制御部101は、ログを受信していないと判定すると(ステップS19:NO)、ステップS22に処理を移す。尚、詳しく後述するが、制御部101は、自己の端末装置における通信速度よりも遅く、下層に論理接続されている他の端末装置からログデータを受信し、制御部101と第2記憶部103は、自己の端末装置1におけるログデータ、受信された他の端末装置1からのログデータを記憶することとなる。このような処理を実行する制御部101は、ログデータ受信手段の一例に相当し、制御部101と第2記憶部103は、ログデータ記憶手段の一例に相当する。   In the process of step S <b> 19, the control unit 101 determines whether log data has been received from another terminal device 1. When the control unit 101 determines that the log has been received (step S19: YES), the control unit 101 stores the log in the second storage unit 103, and moves the process to step S20. On the other hand, when determining that the log is not received (step S19: NO), the control unit 101 moves the process to step S22. As will be described in detail later, the control unit 101 receives log data from other terminal devices that are slower than the communication speed of its own terminal device and logically connected to the lower layer, and the control unit 101 and the second storage unit 103. Stores log data in its own terminal device 1 and received log data from other terminal devices 1. The control unit 101 that executes such processing corresponds to an example of a log data receiving unit, and the control unit 101 and the second storage unit 103 correspond to an example of a log data storage unit.

ステップS20の処理において、制御部101は、直接ログアップデート条件が成立したか否かを判定する。本実施形態における直接ログアップデート条件とは、自己の端末装置1において保持しているログデータが所定サイズ以上となったという第一条件、一定時間以上前のログデータを含んでいるという第二条件のいずれかである。つまり、このような処理を実行する制御部101は、記憶されているログデータの記憶容量、ログデータの記憶時間を判定することとなる。尚、本実施形態において、このような処理を実行する制御部101は、ログデータ記憶容量判定手段、ログデータ記憶時間判定手段の一例に相当する。   In the process of step S20, the control unit 101 determines whether or not the direct log update condition is satisfied. The direct log update condition in the present embodiment is a first condition that the log data held in the terminal device 1 is equal to or larger than a predetermined size, and a second condition that includes log data that is more than a predetermined time ago. One of them. That is, the control unit 101 that executes such processing determines the storage capacity of the stored log data and the storage time of the log data. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a log data storage capacity determination unit and a log data storage time determination unit.

この処理において、制御部101は、直接ログアップデート条件が成立したと判定すると(ステップS20:YES)、受信したログデータをログ管理サーバ12に送信し(ステップS21)、ステップS23に処理を移す。つまり、制御部101は、自己の端末装置における通信速度よりも遅い他の端末装置からログデータを受信した場合において、ログデータの記憶容量が所定の容量以上となっていると判定されたとき、若しくは、ログデータの記憶時間が所定の時間以上となっていると判定されたときに、ログデータの送信先としてログ管理サーバ12を選択し、記憶されているログデータをそのログ管理サーバ12に送信することとなる。尚、本実施形態において、このような処理を実行する制御部101は、送信先選択手段、ログデータ送信手段の一例に相当する。   In this process, if the control unit 101 determines that the direct log update condition is satisfied (step S20: YES), the control unit 101 transmits the received log data to the log management server 12 (step S21), and moves the process to step S23. That is, when the control unit 101 receives log data from another terminal device that is slower than the communication speed of its own terminal device, when it is determined that the storage capacity of the log data is greater than or equal to a predetermined capacity, Alternatively, when it is determined that the storage time of the log data is equal to or longer than the predetermined time, the log management server 12 is selected as the log data transmission destination, and the stored log data is stored in the log management server 12. Will be sent. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a transmission destination selection unit and a log data transmission unit.

このように、ログデータの記憶容量が所定の容量以上となっていると判定されたとき、若しくは、ログデータの記憶時間が所定の時間以上となっていると判定されたときに、ログデータを送信する送信先としてログ管理サーバ12を選択し、送信するため、ログデータの蓄積を最小限にすることができ、迅速にログデータをログ管理サーバ12に送信することができる。   As described above, when it is determined that the storage capacity of the log data is equal to or larger than the predetermined capacity, or when it is determined that the storage time of the log data is equal to or longer than the predetermined time, the log data is Since the log management server 12 is selected and transmitted as a transmission destination, the accumulation of log data can be minimized, and the log data can be quickly transmitted to the log management server 12.

一方、制御部101は、直接ログアップデート条件が成立していないと判定すると(ステップS20:NO)、ステップS21を実行することなく、ステップS23に処理を移す。   On the other hand, if the control unit 101 determines that the direct log update condition is not satisfied (step S20: NO), the process proceeds to step S23 without executing step S21.

ステップS22において、制御部101は、その他制御処理を実行し、ステップS23に処理を移す。具体的な一例としては、制御部101は、コンテンツデータを受信した場合には、そのコンテンツデータを再生するとともに、コンテンツ配信を行うためのツリー構造において下層に接続されている他の端末装置1にコンテンツを送信する。   In step S22, the control unit 101 performs other control processing, and moves the processing to step S23. As a specific example, when the content data is received, the control unit 101 reproduces the content data and sends it to another terminal device 1 connected to the lower layer in the tree structure for content distribution. Send content.

ステップS23において、制御部101は、電源オフであるか否かを判定する。この処理において、制御部101は、電源スイッチの操作等に応じて、電源オフであるか否かを判定することとなる。制御部101は、電源オフであると判定すると(ステップS23:YES)、メイン処理を終了する。一方、制御部101は、電源オフではないと判定すると(ステップS23:NO)、再度、ステップS12に処理を移す。これによって、制御部101は、電源オフとなるまで、ステップS12からステップS22を繰り返し実行することとなる。   In step S23, the control unit 101 determines whether the power is off. In this process, the control unit 101 determines whether or not the power is off according to the operation of the power switch or the like. When determining that the power is off (step S23: YES), the control unit 101 ends the main process. On the other hand, when the control unit 101 determines that the power is not turned off (step S23: NO), the process proceeds to step S12 again. As a result, the control unit 101 repeatedly executes step S12 to step S22 until the power is turned off.

[ツリー組換処理]
図4のステップS15において実行されるサブルーチンについて図5を用いて説明する。
[Tree rearrangement process]
The subroutine executed in step S15 in FIG. 4 will be described with reference to FIG.

最初に、図5に示すように、制御部101は、上層に接続されている他の端末装置1と通信速度を比較する(ステップS31)。この処理において、制御部101は、上層に接続されている他の端末装置1に対して、その他の端末装置1における通信速度を要求する。そして、制御部101は、第2記憶部103に記憶された自己の端末装置1における通信速度と、他の端末装置1における通信速度とを比較することとなる。つまり、制御部101は、他の端末装置における通信速度を取得し、記憶された自己の端末装置における通信速度と、上層に論理接続され、取得された他の端末装置における通信速度とを比較することとなる。尚、本実施形態において、このような処理を実行する制御部101は、通信速度取得手段、通信速度比較手段の一例に相当する。   First, as shown in FIG. 5, the control unit 101 compares the communication speed with other terminal devices 1 connected to the upper layer (step S31). In this process, the control unit 101 requests the communication speed in the other terminal device 1 from the other terminal device 1 connected to the upper layer. And the control part 101 will compare the communication speed in the own terminal device 1 memorize | stored in the 2nd memory | storage part 103, and the communication speed in the other terminal device 1. FIG. That is, the control unit 101 acquires the communication speed of the other terminal device, and compares the stored communication speed of its own terminal device with the acquired communication speed of the other terminal device that is logically connected to the upper layer. It will be. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a communication speed acquisition unit and a communication speed comparison unit.

ステップS32において、制御部101は、自己の端末装置1における通信速度のほうが速いか否かを判定する。つまり、制御部101は、比較された結果に基づいて、上層に接続されている端末装置の通信速度よりも、下層に接続されている端末装置の通信速度のほうが速いか否かを判定することとなる。尚、本実施形態において、このような処理を実行する制御部101は、通信速度判定手段の一例に相当する。   In step S <b> 32, the control unit 101 determines whether or not the communication speed of the terminal device 1 is higher. That is, the control unit 101 determines whether or not the communication speed of the terminal device connected to the lower layer is higher than the communication speed of the terminal device connected to the upper layer based on the comparison result. It becomes. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a communication speed determination unit.

この処理において、制御部101は、自己の端末装置1における通信速度のほうが速いと判定すると(ステップS32:YES)、上層に接続された他の端末装置1と入れ替えて接続を行い、その接続状況を接続管理サーバ11に送信し(ステップS33)、本サブルーチンを終了する。一方、制御部101は、自己の端末装置1における通信速度のほうが遅いと判定すると(ステップS32:NO)、ステップS33を実行することなく、本サブルーチンを終了する。   In this process, when the control unit 101 determines that the communication speed of its own terminal device 1 is higher (step S32: YES), the control unit 101 replaces the other terminal device 1 connected to the upper layer to perform connection, and the connection status Is transmitted to the connection management server 11 (step S33), and this subroutine is terminated. On the other hand, if the control unit 101 determines that the communication speed of its own terminal device 1 is slower (step S32: NO), the control unit 101 ends this subroutine without executing step S33.

つまり、制御部101は、上層に接続されている端末装置の通信速度よりも下層に接続されている端末装置の通信速度のほうが速いと判定された場合に、上層に接続されている端末装置と下層に接続されている端末装置とを入れ替えることとなる。尚、本実施形態において、このような処理を実行する制御部101は、接続手段の一例に相当する。   That is, when the control unit 101 determines that the communication speed of the terminal device connected to the lower layer is higher than the communication speed of the terminal device connected to the upper layer, the control unit 101 and the terminal device connected to the upper layer The terminal device connected to the lower layer is replaced. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a connection unit.

これによって、上層に接続されている端末装置における通信速度のほうが速くなるため、通信速度の速い端末装置にログデータが収集され、その端末装置からログ管理サーバ12にログデータが送信されるため、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   Thereby, since the communication speed in the terminal device connected to the upper layer becomes faster, the log data is collected in the terminal device with a high communication speed, and the log data is transmitted from the terminal device to the log management server 12, Concentration of access to the log management server can be suppressed without increasing the equipment cost.

[ログ送信処理]
図4のステップS18において実行されるサブルーチンについて図6を用いて説明する。
[Log Send Processing]
The subroutine executed in step S18 in FIG. 4 will be described with reference to FIG.

最初に、図6に示すように、制御部101は、直接ログアップデート条件が成立したか否かを判定する(ステップS41)。この処理において、制御部101は、直接ログアップデート条件が成立したと判定すると(ステップS41:YES)、ステップS44に処理を移す。一方、制御部101は、直接ログアップデート条件が成立していないと判定すると(ステップS41:NO)、ステップS42に処理を移す。   First, as shown in FIG. 6, the control unit 101 determines whether or not a direct log update condition is satisfied (step S41). In this process, when the control unit 101 determines that the direct log update condition is satisfied (step S41: YES), the process proceeds to step S44. On the other hand, when the control unit 101 determines that the direct log update condition is not satisfied (step S41: NO), the process proceeds to step S42.

ステップS42において、制御部101は、上層に他の端末装置1が存在するか否かを判定する。制御部101は、上層に他の端末装置1が存在すると判定すると(ステップS42:YES)、上層に接続されている他の端末装置1にログデータを送信し(ステップS43)、本サブルーチンを終了する。   In step S <b> 42, the control unit 101 determines whether another terminal device 1 exists in the upper layer. When the control unit 101 determines that another terminal device 1 exists in the upper layer (step S42: YES), the control unit 101 transmits log data to the other terminal device 1 connected to the upper layer (step S43), and ends this subroutine. To do.

つまり、制御部101は、ログデータを送信する送信先を、上層に論理接続されている他の端末装置とするか、ログ管理サーバ12とするかを選択することとなる。また、言い換えると、制御部101は、接続されているネットワーク9上から脱する場合に、上層に論理接続されている他の端末装置1を送信先として選択することとなる。また、制御部101は、送信先として選択された上層の端末装置にログデータを送信することとなる。尚、本実施形態において、このような処理を実行する制御部101は、送信先選択手段、ログデータ送信手段の一例に相当する。   That is, the control unit 101 selects whether the transmission destination for transmitting the log data is another terminal device logically connected to the upper layer or the log management server 12. In other words, when the control unit 101 leaves the connected network 9, the control unit 101 selects another terminal device 1 logically connected to the upper layer as a transmission destination. In addition, the control unit 101 transmits log data to the upper-layer terminal device selected as the transmission destination. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a transmission destination selection unit and a log data transmission unit.

一方、制御部101は、上層に他の端末装置1が存在しないと判定すると(ステップS42:NO)、ステップS44に処理を移す。   On the other hand, if the control part 101 determines with the other terminal apparatus 1 not existing in an upper layer (step S42: NO), it will move a process to step S44.

ステップS44において、制御部101は、記憶されているログデータをログ管理サーバ12に送信し、本サブルーチンを終了する。つまり、制御部101は、ログデータの記憶容量が所定の容量以上となっていると判定された場合、若しくは、ログデータの記憶時間が所定の時間以上となっていると判定された場合に、ログデータの送信先としてログ管理サーバ12を選択し、記憶されているログデータをログ管理サーバ12に送信することとなる。尚、本実施形態において、このような処理を実行する制御部101は、送信先選択手段、ログデータ送信手段の一例に相当する。   In step S44, the control unit 101 transmits the stored log data to the log management server 12, and ends this subroutine. That is, when it is determined that the storage capacity of the log data is equal to or greater than the predetermined capacity, or when it is determined that the storage time of the log data is equal to or greater than the predetermined time, The log management server 12 is selected as the log data transmission destination, and the stored log data is transmitted to the log management server 12. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a transmission destination selection unit and a log data transmission unit.

これによって、ログデータの記憶容量が所定の容量以上となっていると判定されたとき、若しくは、ログデータの記憶時間が所定の時間以上となっていると判定されたときに、ログデータを送信する送信先としてログ管理サーバ12を選択し、送信するため、ログデータの蓄積を最小限にすることができ、迅速にログデータをログ管理サーバ12に送信することができる。   As a result, when it is determined that the storage capacity of the log data is equal to or greater than the predetermined capacity, or when it is determined that the storage time of the log data is equal to or longer than the predetermined time, the log data is transmitted. Since the log management server 12 is selected and transmitted as the transmission destination, the accumulation of log data can be minimized, and the log data can be quickly transmitted to the log management server 12.

(接続管理サーバ11の具体的動作について)
以上のように構成された接続管理サーバ11の動作について図面を参照して具体的に説明する。図7は本実施形態における接続管理サーバ11のメイン処理のフローチャートである。
(Specific operation of the connection management server 11)
The operation of the connection management server 11 configured as described above will be specifically described with reference to the drawings. FIG. 7 is a flowchart of the main process of the connection management server 11 in this embodiment.

図7に示すように、接続管理サーバ11において、制御部201は、メイン電源スイッチ(図示せず)がONされたときやリセットスイッチ(図示せず)が操作されたとき、接続管理サーバ11は初期設定を行なう(ステップS101)。具体的には、制御部201のCPUは、内部メモリの作業領域確保等の初期設定動作を実行し、内部メモリに記憶した情報処理プログラムを実行状態として、制御部201としての機能を動作状態とする。この処理が終了した場合には、ステップS102に処理を移す。   As shown in FIG. 7, in the connection management server 11, when the main power switch (not shown) is turned on or the reset switch (not shown) is operated, the control unit 201 Initial setting is performed (step S101). Specifically, the CPU of the control unit 201 executes an initial setting operation such as securing the work area of the internal memory, sets the information processing program stored in the internal memory as the execution state, and sets the function as the control unit 201 as the operation state. To do. If this process ends, the process moves to a step S102.

ステップS102において、制御部201は、接続先の紹介要求があったか否かを判定する。この処理において、制御部201は、端末装置1から接続先の紹介要求があったと判定すると(ステップS102:YES)、ステップS103に処理を移す。一方、制御部201は、端末装置1から接続先の紹介要求がなかったと判定すると(ステップS102:NO)、後述するステップS103からステップS106を実行することなく、ステップS107に処理を移す。   In step S102, the control unit 201 determines whether there is a connection destination introduction request. In this process, when the control unit 201 determines that there is a connection destination introduction request from the terminal device 1 (step S102: YES), the process proceeds to step S103. On the other hand, when the control unit 201 determines that there is no connection destination introduction request from the terminal device 1 (step S102: NO), the process proceeds to step S107 without executing step S103 to step S106 described later.

ステップS103において、制御部201は、参加する端末装置1の通信速度を計測する。この処理において、制御部201は、ネットワーク9に参加する端末装置1との通信を行うときに、その端末装置1との通信速度を計測し、その端末装置1における通信速度を算出する。尚、本実施形態において、このような処理を実行する制御部201は、通信速度算出手段の一例に相当する。この処理が終了した場合には、ステップS104に処理を移す。   In step S <b> 103, the control unit 201 measures the communication speed of the participating terminal device 1. In this processing, the control unit 201 measures the communication speed with the terminal device 1 and calculates the communication speed in the terminal device 1 when communicating with the terminal device 1 participating in the network 9. In the present embodiment, the control unit 201 that executes such processing corresponds to an example of a communication speed calculation unit. If this process ends, the process moves to a step S104.

ステップS104において、制御部201は、ネットワーク9に参加する端末装置1における通信速度が一定値以上であるか否かを判定する。この処理において、制御部201は、接続先候補となる端末装置1における通信速度を、その端末装置1から取得する。そして、制御部201は、その取得した通信速度と、参加する端末装置1における通信速度とを比較し、ネットワーク9に参加する端末装置1における通信速度が一定値以上であるか否かを判定することとなる。   In step S <b> 104, the control unit 201 determines whether the communication speed in the terminal device 1 participating in the network 9 is equal to or higher than a certain value. In this process, the control unit 201 acquires the communication speed of the terminal device 1 that is a connection destination candidate from the terminal device 1. And the control part 201 compares the acquired communication speed with the communication speed in the terminal device 1 which participates, and determines whether the communication speed in the terminal device 1 which participates in the network 9 is more than a fixed value. It will be.

制御部201は、ネットワーク9に参加する端末装置1における通信速度が一定値以上であると判定すると(ステップS104:YES)、参加する端末装置1に対して、接続先候補の端末装置1の上層に接続するように接続先を紹介し(ステップS106)、ステップS107に処理を移す。一方、制御部201は、ネットワーク9に参加する端末装置1における通信速度が一定値未満であると判定すると(ステップS104:NO)、参加する端末装置1に対して、接続先候補の端末装置1の下層に接続するように接続先を紹介し(ステップS105)、ステップS107に処理を移す。   When the control unit 201 determines that the communication speed in the terminal device 1 participating in the network 9 is equal to or higher than a certain value (step S104: YES), the control unit 201 sets the upper layer of the terminal device 1 that is a connection destination candidate to the participating terminal device 1. The connection destination is introduced so as to connect to (step S106), and the process proceeds to step S107. On the other hand, if the control unit 201 determines that the communication speed in the terminal device 1 participating in the network 9 is less than a certain value (step S104: NO), the control unit 201 determines that the terminal device 1 that is a connection destination candidate is connected to the participating terminal device 1. The connection destination is introduced so as to connect to the lower layer (step S105), and the process proceeds to step S107.

つまり、制御部201は、ネットワーク9に参加する端末装置1に対して、通信速度の速い端末装置1を上層に接続するように接続先を紹介することとなる。これによって、上層に接続されている端末装置における通信速度のほうが速くなるため、通信速度の速い端末装置にログデータが収集され、その端末装置からログ管理サーバ12にログデータが送信されるため、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   That is, the control unit 201 introduces a connection destination to the terminal device 1 participating in the network 9 so that the terminal device 1 having a high communication speed is connected to the upper layer. Thereby, since the communication speed in the terminal device connected to the upper layer becomes faster, the log data is collected in the terminal device with a high communication speed, and the log data is transmitted from the terminal device to the log management server 12, Concentration of access to the log management server can be suppressed without increasing the equipment cost.

ステップS107において、制御部201は、その他制御処理を実行し、ステップS111に処理を移す。   In step S107, the control unit 201 executes other control processing, and shifts the processing to step S111.

ステップS111において、制御部201は、電源オフであるか否かを判定する。この処理において、制御部201は、電源スイッチの操作等に応じて、電源オフであるか否かを判定することとなる。制御部201は、電源オフであると判定すると(ステップS111:YES)、メイン処理を終了する。一方、制御部101は、電源オフではないと判定すると(ステップS111:NO)、再度、ステップS102に処理を移す。これによって、制御部101は、電源オフとなるまで、ステップS102からステップS107を繰り返し実行することとなる。   In step S111, the control unit 201 determines whether or not the power is off. In this process, the control unit 201 determines whether or not the power is off according to the operation of the power switch or the like. When determining that the power is off (step S111: YES), the control unit 201 ends the main process. On the other hand, when determining that the power is not turned off (step S111: NO), the control unit 101 moves the process to step S102 again. Thus, the control unit 101 repeatedly executes step S102 to step S107 until the power is turned off.

このように、ログ管理サーバを頂点としてネットワーク上において階層構造で多層に論理接続する構成において、下層に論理接続されている他の端末装置からログデータを受信し、ログデータを送信する送信先を、上層に論理接続されている他の端末装置とするか、ログ管理サーバとするかを選択し、選択された送信先に、自己の端末装置におけるログデータとともに受信したログデータも送信する。従って、ログ管理サーバに送信するだけではなく、上層に論理接続されている端末装置に送信するというように送信先を選択可能となり、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   In this way, in a configuration in which the log management server is at the top and the logical connection is hierarchically structured in a hierarchical structure on the network, the log data is received from other terminal devices logically connected to the lower layer, and the transmission destination for transmitting the log data is The other terminal device logically connected to the upper layer or the log management server is selected, and the log data received together with the log data in its own terminal device is transmitted to the selected transmission destination. Therefore, it is possible to select a transmission destination such as transmission to a terminal device logically connected to an upper layer in addition to transmission to the log management server, and concentration of access to the log management server without increasing the equipment cost. Can be suppressed.

[2.第2実施形態〕
尚、上述した実施形態においては、上層に接続されている端末装置1よりも通信速度が速い端末装置1がある場合には、それら端末装置を入れ替えるように制御したが、これに限らず、例えば、特定の階層数の端末装置においては、その入れ替えを禁止するように制御してもよい。また、その特定の階層数に通信速度が速い端末装置を紹介することによって、特定の階層数における端末装置から直接ログ管理サーバ12に送信するように構成してもよい。この場合における実施形態について図8から図11を用いて以下に説明する。尚、以下の実施形態においては、同じような構成、制御処理については、発明の理解を容易とするために説明を省略し、異なる構成、制御処理について主に説明する。
[2. Second Embodiment]
In the above-described embodiment, when there is a terminal device 1 having a higher communication speed than the terminal device 1 connected to the upper layer, the terminal device 1 is controlled to be replaced. The terminal device having a specific number of layers may be controlled so as to prohibit the replacement. In addition, by introducing a terminal device having a high communication speed to the specific number of layers, the terminal device in the specific number of layers may be directly transmitted to the log management server 12. An embodiment in this case will be described below with reference to FIGS. In the following embodiments, the description of the same configuration and control processing will be omitted to facilitate understanding of the invention, and different configuration and control processing will be mainly described.

本実施形態におけるコンテンツ配信システムSでは、図8に示すように、特定の階層数に配置されている端末装置からは、上層にログデータが送信されず、ログ管理サーバ12に送信される。また、この特定の階層数における端末装置は、通信速度が速い端末装置が配置される。このため、ツリー構造が大きく、階層が深くなった場合であっても、特定の階層数における通信速度が速い端末装置にログデータが収集され、ログ管理サーバ12に送信されるため、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   In the content distribution system S in the present embodiment, as shown in FIG. 8, log data is not transmitted to the upper layer but transmitted to the log management server 12 from the terminal devices arranged in a specific number of layers. In addition, terminal devices having a high communication speed are arranged as the terminal devices in this specific number of layers. For this reason, even when the tree structure is large and the hierarchy is deep, log data is collected in a terminal device with a high communication speed in a specific number of hierarchies and transmitted to the log management server 12. Concentration of access to the log management server can be suppressed without increasing it.

[ツリー組換処理]
図4のステップS15において実行されるサブルーチンについて図9を用いて説明する。
[Tree rearrangement process]
The subroutine executed in step S15 in FIG. 4 will be described with reference to FIG.

最初に、図9に示すように、制御部101は、通信速度の比較指示を受けた端末装置が、ツリーの特定の階層数に端末装置1が存在するか否かを判定する(ステップS30)。つまり、制御部101は、コンテンツ配信サーバ10やログ管理サーバ12を頂点として特定の階層数(所定の階層数)であるか否かを判定することとなる。尚、本実施形態において、このような処理を実行する制御部201は、階層数判定手段の一例に相当する。   First, as illustrated in FIG. 9, the control unit 101 determines whether the terminal device 1 that has received the communication speed comparison instruction has the terminal device 1 at a specific number of levels in the tree (step S <b> 30). . That is, the control unit 101 determines whether or not the content distribution server 10 or the log management server 12 has a specific number of layers (a predetermined number of layers). In the present embodiment, the control unit 201 that executes such processing corresponds to an example of a hierarchy number determination unit.

制御部101は、ツリーの特定の階層数に端末装置1が存在すると判定すると(ステップS30:YES)、上述した実施形態におけるステップS31からステップS33を実行することなく、本サブルーチンを終了する。一方、制御部101は、ツリーの特定の階層数に端末装置1が存在しないと判定すると(ステップS30:NO)、上述した実施形態におけるステップS31に処理を移す。   If the control unit 101 determines that the terminal device 1 exists at a specific number of hierarchies in the tree (step S30: YES), the control unit 101 ends this subroutine without executing steps S31 to S33 in the above-described embodiment. On the other hand, when the control unit 101 determines that the terminal device 1 does not exist in the specific number of hierarchies of the tree (step S30: NO), the control unit 101 moves the process to step S31 in the above-described embodiment.

つまり、制御部101は、特定の階層数であると判定された場合には、通信速度の判定結果に拘わらず、上層に接続されている端末装置と下層に接続されている端末装置との入れ替えを禁止することとなる。尚、本実施形態において、このような処理を実行する制御部201は、接続手段の一例に相当する。   That is, when it is determined that the number of layers is a specific number, the control unit 101 switches the terminal device connected to the upper layer and the terminal device connected to the lower layer regardless of the determination result of the communication speed. Will be prohibited. In the present embodiment, the control unit 201 that executes such processing corresponds to an example of a connection unit.

[ログ送信処理]
図4のステップS18において実行されるサブルーチンについて図10を用いて説明する。
[Log Send Processing]
The subroutine executed in step S18 in FIG. 4 will be described with reference to FIG.

図10に示すように、ステップS41において、制御部101は、直接ログアップデート条件が成立したと判定すると(ステップS41:YES)、ツリーの特定の階層数に端末装置が存在するか否かを判定する(ステップS45)。つまり、制御部101は、コンテンツ配信サーバ10やログ管理サーバ12を頂点として特定の階層数(所定の階層数)であるか否かを判定することとなる。尚、本実施形態において、このような処理を実行する制御部201は、階層数判定手段の一例に相当する。   As illustrated in FIG. 10, when the control unit 101 determines in step S41 that the direct log update condition is satisfied (step S41: YES), the control unit 101 determines whether a terminal device exists in a specific number of hierarchies in the tree. (Step S45). That is, the control unit 101 determines whether or not the content distribution server 10 or the log management server 12 has a specific number of layers (a predetermined number of layers). In the present embodiment, the control unit 201 that executes such processing corresponds to an example of a hierarchy number determination unit.

制御部101は、ツリーの特定の階層数に端末装置1が存在すると判定すると(ステップS45:YES)、上述した実施形態におけるステップS44に処理を移す。一方、制御部101は、ツリーの特定の階層数に端末装置1が存在しないと判定すると(ステップS45:NO)、上述した実施形態におけるステップS43に処理を移す。   If the control unit 101 determines that the terminal device 1 exists in a specific number of hierarchies in the tree (step S45: YES), the control unit 101 moves the process to step S44 in the above-described embodiment. On the other hand, when the control unit 101 determines that the terminal device 1 does not exist in the specific number of hierarchies of the tree (step S45: NO), the control unit 101 moves the process to step S43 in the above-described embodiment.

このように、制御部101は、特定の階層数であると判定された場合には、ログ管理サーバ12を前記送信先として選択し、送信することとなる。尚、本実施形態において、このような処理を実行する制御部101は、送信先選択手段、ログデータ送信手段の一例に相当する。   As described above, when it is determined that the number of hierarchies is a specific number, the control unit 101 selects the log management server 12 as the transmission destination and transmits it. In the present embodiment, the control unit 101 that executes such processing corresponds to an example of a transmission destination selection unit and a log data transmission unit.

(接続管理サーバ11の具体的動作について)
以上のように構成された接続管理サーバ11の動作について図面を参照して具体的に説明する。図11は本実施形態における接続管理サーバ11のメイン処理のフローチャートである。
(Specific operation of the connection management server 11)
The operation of the connection management server 11 configured as described above will be specifically described with reference to the drawings. FIG. 11 is a flowchart of the main process of the connection management server 11 in this embodiment.

図11に示すように、接続管理サーバ11では、ステップS104において、制御部201は、ネットワーク9に参加する端末装置1における通信速度が一定値以上であるか否かを判定する。この処理において、制御部201は、予め設定されている基準通信速度と、参加する端末装置1における通信速度とを比較し、ネットワーク9に参加する端末装置1における通信速度が一定値以上であるか否かを判定することとなる。   As illustrated in FIG. 11, in the connection management server 11, in step S <b> 104, the control unit 201 determines whether the communication speed in the terminal device 1 participating in the network 9 is equal to or higher than a certain value. In this processing, the control unit 201 compares the reference communication speed set in advance with the communication speed of the terminal device 1 that participates, and whether the communication speed of the terminal device 1 that participates in the network 9 is equal to or higher than a certain value. It will be determined whether or not.

制御部201は、ネットワーク9に参加する端末装置1における通信速度が一定値以上であると判定すると(ステップS104:YES)、特定の階層数に端末装置を配置する空きがあるか否かを判定する(ステップS108)。この処理において、制御部201は、特定の階層数に端末装置を配置する空きがあるかと判定すると(ステップS108:YES)、特定の階層数に端末装置を配置するように接続先を紹介し(ステップS110)、ステップS107に処理を移す。一方、制御部201は、特定の階層数に端末装置を配置する空きがないと判定すると(ステップS108:NO)、特定の階層数以外の階層に端末装置を配置するように接続先を紹介し(ステップS109)、ステップS107に処理を移す。   When the control unit 201 determines that the communication speed in the terminal device 1 participating in the network 9 is equal to or higher than a certain value (step S104: YES), the control unit 201 determines whether there is a space for arranging the terminal device in a specific number of layers. (Step S108). In this process, when the control unit 201 determines that there is a space for arranging the terminal device in a specific number of layers (step S108: YES), the connection unit introduces a connection destination so that the terminal device is arranged in a specific number of layers ( The process proceeds to step S110) and step S107. On the other hand, when the control unit 201 determines that there is no space for arranging the terminal device in the specific number of layers (step S108: NO), the control unit 201 introduces the connection destination so that the terminal device is arranged in a layer other than the specific number of layers. (Step S109), the process proceeds to step S107.

このように、特定の階層数に配置される端末装置は、その通信速度が一定値以上となり、その端末装置との入れ替えを禁止するとともに、ログ管理サーバ12に直接ログデータを送信する。従って、特定の階層数には、通信速度の速い端末装置が配置され、収集されたログデータをログ管理サーバ12に送信することとなるため、通信速度の速い端末装置にログデータが収集され、その端末装置からログ管理サーバ12にログデータが送信されるため、設備コストを増加させることなく、ログ管理サーバへのアクセスの集中を抑制することができる。   As described above, the terminal device arranged in a specific number of layers has a communication speed equal to or higher than a certain value, prohibits replacement with the terminal device, and transmits log data directly to the log management server 12. Accordingly, since a terminal device with a high communication speed is arranged in a specific number of layers and the collected log data is transmitted to the log management server 12, the log data is collected in the terminal device with a high communication speed, Since log data is transmitted from the terminal device to the log management server 12, concentration of access to the log management server can be suppressed without increasing the equipment cost.

[3.その他の実施形態〕
上述の実施形態においては、ログデータの記憶容量、ログデータの記憶時間に基づいて、ログデータをログ管理サーバ12に送信するか否かを判定したが、これに限らず、例えば、ログデータの記憶容量、ログデータの記憶時間に拘わらず、ログデータをログ管理サーバ12に送信するか否かを判定してもよい。
[3. Other Embodiments]
In the above-described embodiment, whether or not to transmit log data to the log management server 12 is determined based on the storage capacity of the log data and the storage time of the log data. Whether or not to transmit log data to the log management server 12 may be determined regardless of the storage capacity and the storage time of the log data.

上述した実施形態においては、接続管理サーバ11において、自己の端末装置との通信時に通信速度を計測し、自己の端末装置1における通信速度を算出し、通知したが、これに限らず、例えば、他の端末装置等とコンテンツデータを送受信するなど、他の端末装置と通信を行うときに、その他の端末装置との通信速度を計測することによって、自己の端末装置における通信速度を算出するように構成してもよい。   In the embodiment described above, the connection management server 11 measures the communication speed at the time of communication with its own terminal device, and calculates and notifies the communication speed in its own terminal device 1. When communicating with other terminal devices, such as sending / receiving content data to / from other terminal devices, etc., the communication speed of the terminal device is calculated by measuring the communication speed with the other terminal devices. It may be configured.

具体的には、制御部101は、コンテンツデータを受信する際に、他の端末装置における通信速度を計測し、第2記憶部103に記憶する。そして、制御部101は、第2記憶部103に記憶された他の端末装置における通信速度の平均値を自己の端末装置1における通信速度として算出してもよい。従って、他の端末装置1との通信を行うときに、その通信速度を計測することとなり、実際のネットワーク状況などを考慮した計測を行うことができる。また、他の端末装置との通信速度の平均値に基づいて、自己の端末装置における通信速度を算出するため、実際のネットワーク状況などを考慮し、自己の端末装置における通信速度を容易に推測することができる。このような処理を実行する制御部101は、通信速度算出手段、通信速度取得手段の一例に相当し、このような処理を実行する制御部101と第2記憶部103は、通信速度記憶手段、通信速度テーブル記憶手段の一例に相当する。   Specifically, when receiving the content data, the control unit 101 measures the communication speed in another terminal device and stores it in the second storage unit 103. And the control part 101 may calculate the average value of the communication speed in the other terminal device memorize | stored in the 2nd memory | storage part 103 as a communication speed in the own terminal device 1. FIG. Therefore, when communicating with another terminal device 1, the communication speed is measured, and measurement in consideration of an actual network state or the like can be performed. In addition, in order to calculate the communication speed of its own terminal device based on the average value of the communication speed with other terminal devices, the communication speed of its own terminal device is easily estimated in consideration of the actual network conditions and the like. be able to. The control unit 101 that executes such processing corresponds to an example of a communication speed calculation unit and a communication speed acquisition unit, and the control unit 101 and the second storage unit 103 that execute such processing include a communication speed storage unit, This corresponds to an example of a communication speed table storage unit.

もちろん、他の端末装置との通信速度の最大値に基づいて、自己の端末装置における通信速度を算出してもよい。従って、他の端末装置との通信速度の最高値に基づいて、自己の端末装置における通信速度を算出するため、実際のネットワーク状況などを考慮し、自己の端末装置における通信速度を容易に推測することができる。   Of course, the communication speed of its own terminal device may be calculated based on the maximum value of the communication speed with other terminal devices. Therefore, in order to calculate the communication speed of its own terminal device based on the maximum value of the communication speed with other terminal devices, it is possible to easily estimate the communication speed of its own terminal device in consideration of the actual network conditions and the like. be able to.

また、例えば、通信速度を算出しなくても、通信制御回路等のスペックに応じた通信速度が設定されていてもよい。また、例えば、ユーザの操作に応じて通信速度を設定可能としてもよい。   Further, for example, the communication speed may be set according to the specifications of the communication control circuit or the like without calculating the communication speed. Further, for example, the communication speed may be set according to a user operation.

上述の実施形態において、少なくとも、ネットワークから脱する場合、他の端末装置からログデータを受信した場合、若しくは、自己の端末装置におけるログ送信時刻となった場合に、ログデータを送信したが、これに限らず、例えば、ユーザの操作に応じてログデータを送信してもよい。   In the above-described embodiment, log data is transmitted at least when leaving the network, when receiving log data from another terminal device, or when the log transmission time of the terminal device is reached. For example, the log data may be transmitted according to a user operation.

上述の実施形態において、コンテンツ配信のためのツリー構造と、ログデータ収集のためのツリー構造とを備えたコンテンツ配信システムSを採用したが、これに限らず、例えば、図12に示すように、コンテンツ配信をツリー構造としなくてもよい。具体的な一例としては、DHTルーティングによってコンテンツ配信を行ってもよい。また、例えば、図13に示すように、コンテンツ配信とログデータ収集を同じツリー構造で行ってもよい。   In the above-described embodiment, the content distribution system S provided with a tree structure for content distribution and a tree structure for log data collection is adopted. However, the present invention is not limited to this, for example, as shown in FIG. Content distribution need not have a tree structure. As a specific example, content distribution may be performed by DHT routing. For example, as shown in FIG. 13, content distribution and log data collection may be performed in the same tree structure.

本発明の一実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。It is a figure showing an example of outline composition of content distribution system S concerning one embodiment of the present invention. 端末装置の概略構成の一例を示す図である。It is a figure which shows an example of schematic structure of a terminal device. 接続管理サーバの概略構成の一例を示す図である。It is a figure which shows an example of schematic structure of a connection management server. 端末装置におけるメイン処理のフローチャートである。It is a flowchart of the main process in a terminal device. 端末装置におけるツリー組換処理のフローチャートである。It is a flowchart of the tree rearrangement process in a terminal device. 端末装置におけるログ送信処理のフローチャートである。It is a flowchart of the log transmission process in a terminal device. 接続管理サーバにおけるメイン処理のフローチャートである。It is a flowchart of the main process in a connection management server. 本発明の一実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。It is a figure showing an example of outline composition of content distribution system S concerning one embodiment of the present invention. 端末装置におけるツリー組換処理のフローチャートである。It is a flowchart of the tree rearrangement process in a terminal device. 端末装置におけるログ送信処理のフローチャートである。It is a flowchart of the log transmission process in a terminal device. 接続管理サーバにおけるメイン処理のフローチャートである。It is a flowchart of the main process in a connection management server. 本発明の一実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。It is a figure showing an example of outline composition of content distribution system S concerning one embodiment of the present invention. 本発明の一実施形態に係るコンテンツ配信システムSの概要構成例を示す図である。It is a figure showing an example of outline composition of content distribution system S concerning one embodiment of the present invention.

符号の説明Explanation of symbols

S コンテンツ配信システム
1 端末装置
10 コンテンツ配信サーバ
11 接続管理サーバ
12 ログ管理サーバ
101 端末装置の制御部
103 端末装置の第2記憶部
201 接続管理サーバの制御部
S content distribution system 1 terminal device 10 content distribution server 11 connection management server 12 log management server 101 control unit 103 of terminal device second storage unit 201 of terminal device control unit of connection management server

Claims (12)

ネットワークを介してコンテンツデータを受信及び再生する複数の端末装置と、前記複数の端末装置におけるログデータを管理するログ管理サーバと、を備えたコンテンツ配信システムにおける前記端末装置において、
前記ログ管理サーバを頂点として前記複数の端末装置が前記ネットワーク上において階層構造で多層に論理接続する接続手段と、
前記接続手段によって下層に論理接続されている他の端末装置からログデータを受信するログデータ受信手段と、
自己の端末装置におけるログデータ、前記ログデータ受信手段によって受信された前記他の端末装置からのログデータを記憶するログデータ記憶手段と、
前記ログデータ記憶手段におけるログデータを送信する送信先を、前記接続手段によって上層に論理接続されている他の端末装置とするか、前記ログ管理サーバとするかを選択する送信先選択手段と、
前記送信先選択手段によって選択された送信先に前記ログデータ記憶手段におけるログデータを送信するログデータ送信手段と、を有することを特徴とする端末装置。
In the terminal device in the content distribution system, comprising: a plurality of terminal devices that receive and reproduce content data via a network; and a log management server that manages log data in the plurality of terminal devices.
Connection means for logically connecting the plurality of terminal devices in a hierarchical structure on the network with the log management server as a vertex;
Log data receiving means for receiving log data from other terminal devices logically connected to the lower layer by the connecting means;
Log data in its own terminal device, log data storage means for storing log data from the other terminal device received by the log data receiving means,
A transmission destination selection unit for selecting whether to transmit the log data in the log data storage unit to another terminal device logically connected to an upper layer by the connection unit or the log management server;
A log data transmission unit configured to transmit log data in the log data storage unit to the transmission destination selected by the transmission destination selection unit;
前記ログデータ記憶手段に記憶されているログデータの記憶容量を判定するログデータ記憶容量判定手段を有し、
前記送信先選択手段は、前記ログデータ記憶容量判定手段によってログデータの記憶容量が所定の容量以上となっていると判定された場合に、前記ログ管理サーバを前記送信先として選択することを特徴とする請求項1に記載の端末装置。
Log data storage capacity determination means for determining the storage capacity of log data stored in the log data storage means;
The transmission destination selection unit selects the log management server as the transmission destination when the log data storage capacity determination unit determines that the storage capacity of log data is equal to or greater than a predetermined capacity. The terminal device according to claim 1.
前記ログデータ記憶手段に記憶されているログデータの記憶時間を判定するログデータ記憶時間判定手段と、
前記送信先選択手段は、前記ログデータ記憶時間判定手段によってログデータの記憶時間が所定の時間以上となっていると判定された場合に、前記ログ管理サーバを前記送信先として選択することを特徴とする請求項1又は2に記載の端末装置。
Log data storage time determination means for determining the storage time of log data stored in the log data storage means;
The transmission destination selection unit selects the log management server as the transmission destination when the log data storage time determination unit determines that the log data storage time is equal to or longer than a predetermined time. The terminal device according to claim 1 or 2.
前記送信先選択手段は、前記ログデータ送信手段は、前記接続手段によって接続されている前記ネットワーク上から脱する場合に、前記接続手段によって上層に論理接続されている他の端末装置を前記送信先として選択することを特徴とする請求項1から3のいずれかに記載の端末装置。   The transmission destination selecting unit is configured to send another terminal device logically connected to an upper layer by the connection unit when the log data transmission unit is disconnected from the network connected by the connection unit. The terminal device according to claim 1, wherein the terminal device is selected as a terminal device. 自己の端末装置における通信速度が記憶された通信速度記憶手段と、
他の端末装置における通信速度を取得する通信速度取得手段と、
前記通信速度記憶手段に記憶された自己の端末装置における通信速度と、前記接続手段によって論理接続され、前記通信速度取得手段によって取得された他の端末装置における通信速度とを比較する通信速度比較手段と、
前記通信速度比較手段によって比較された結果に基づいて、前記接続手段によって上層に接続されている端末装置の通信速度よりも、前記接続手段によって下層に接続されている端末装置の通信速度のほうが速いか否かを判定する通信速度判定手段と、を有し、
前記接続手段は、前記通信速度判定手段によって前記上層に接続されている端末装置の通信速度よりも前記下層に接続されている端末装置の通信速度のほうが速いと判定された場合に、前記上層に接続されている端末装置と前記下層に接続されている端末装置とを入れ替えることを特徴とする請求項1から4のいずれかに記載の端末装置。
A communication speed storage means for storing a communication speed in its own terminal device;
A communication speed acquisition means for acquiring a communication speed in another terminal device;
Communication speed comparison means for comparing the communication speed of its own terminal device stored in the communication speed storage means with the communication speed of another terminal device logically connected by the connection means and acquired by the communication speed acquisition means. When,
Based on the result of comparison by the communication speed comparison means, the communication speed of the terminal device connected to the lower layer by the connection means is faster than the communication speed of the terminal device connected to the upper layer by the connection means. Communication speed determination means for determining whether or not,
When the communication speed determining means determines that the communication speed of the terminal device connected to the lower layer is faster than the communication speed of the terminal device connected to the upper layer, the connection means The terminal device according to claim 1, wherein a terminal device connected to the terminal device connected to the lower layer is exchanged.
前記ログ管理サーバを頂点として所定の階層数であるか否かを判定する階層数判定手段を有し、
前記接続手段は、前記階層数判定手段によって所定の階層数であると判定された場合には、前記通信速度判定手段による判定結果に拘わらず、前記上層に接続されている端末装置と前記下層に接続されている端末装置との入れ替えを禁止することを特徴とする請求項5に記載の端末装置。
Having a hierarchy number determination means for determining whether or not the log management server has a predetermined hierarchy number as a vertex;
When the connection means determines that the number of hierarchies is a predetermined number of hierarchies, regardless of the determination result by the communication speed determination means, the connection means connects the terminal device connected to the upper layer and the lower layer. The terminal device according to claim 5, wherein replacement with a connected terminal device is prohibited.
前記送信先選択手段は、前記階層数判定手段によって所定の階層数であると判定された場合には、前記ログ管理サーバを前記送信先として選択することを特徴とする請求項6に記載の端末装置。   The terminal according to claim 6, wherein the transmission destination selection unit selects the log management server as the transmission destination when the hierarchy number determination unit determines that the number of hierarchy is a predetermined number. apparatus. 他の端末装置との通信を行うときに、当該他の端末装置との通信速度を計測することによって、自己の端末装置における通信速度を算出する通信速度算出手段を有し、
前記通信速度記憶手段は、前記通信速度算出手段によって算出された自己の端末装置における通信速度を記憶することを特徴とする請求項5から7のいずれかに記載の端末装置。
When performing communication with another terminal device, it has a communication speed calculation means for calculating the communication speed in its own terminal device by measuring the communication speed with the other terminal device,
The terminal device according to claim 5, wherein the communication speed storage unit stores a communication speed of the terminal device calculated by the communication speed calculation unit.
前記通信速度算出手段は、前記他の端末装置との通信速度の平均値に基づいて、前記自己の端末装置における通信速度を算出することを特徴とする請求項8に記載の端末装置。   9. The terminal apparatus according to claim 8, wherein the communication speed calculating unit calculates a communication speed in the terminal apparatus based on an average value of communication speeds with the other terminal apparatuses. 前記通信速度算出手段は、前記他の端末装置との通信速度の最大値に基づいて、前記自己の端末装置における通信速度を算出することを特徴とする請求項8に記載の端末装置。   9. The terminal apparatus according to claim 8, wherein the communication speed calculating unit calculates a communication speed in the terminal apparatus based on a maximum communication speed with the other terminal apparatus. コンピュータを、請求項1から10のいずれかに記載の端末装置における各手段として機能させるためのプログラム。   The program for functioning a computer as each means in the terminal device in any one of Claims 1-10. ネットワークを介してコンテンツデータを受信及び再生する複数の端末装置と、前記複数の端末装置におけるログデータを管理するログ管理サーバと、を備えたコンテンツ配信システムにおいて、
前記複数の端末装置の各々は、
前記ログ管理サーバを頂点として前記複数の端末装置が前記ネットワーク上において階層構造で多層に論理接続する接続手段と、
前記接続手段によって下層に論理接続されている他の端末装置からログデータを受信するログデータ受信手段と、
自己の端末装置におけるログデータ、前記ログデータ受信手段によって受信された前記他の端末装置からのログデータを記憶するログデータ記憶手段と、
前記ログデータ記憶手段におけるログデータを送信する送信先を、前記接続手段によって上層に論理接続されている他の端末装置とするか、前記ログ管理サーバとするかを選択する送信先選択手段と、
前記送信先選択手段によって選択された送信先に前記ログデータ記憶手段におけるログデータを送信するログデータ送信手段と、を有することを特徴とするコンテンツ配信システム。
In a content distribution system comprising a plurality of terminal devices that receive and reproduce content data via a network, and a log management server that manages log data in the plurality of terminal devices,
Each of the plurality of terminal devices is
Connection means for logically connecting the plurality of terminal devices in a hierarchical structure on the network with the log management server as a vertex;
Log data receiving means for receiving log data from other terminal devices logically connected to the lower layer by the connecting means;
Log data in its own terminal device, log data storage means for storing log data from the other terminal device received by the log data receiving means,
A transmission destination selection unit for selecting whether to transmit the log data in the log data storage unit to another terminal device logically connected to an upper layer by the connection unit or the log management server;
A log data transmission unit configured to transmit log data in the log data storage unit to the transmission destination selected by the transmission destination selection unit;
JP2008238591A 2008-09-17 2008-09-17 Terminal device, program, and content delivery system Pending JP2010072867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008238591A JP2010072867A (en) 2008-09-17 2008-09-17 Terminal device, program, and content delivery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008238591A JP2010072867A (en) 2008-09-17 2008-09-17 Terminal device, program, and content delivery system

Publications (1)

Publication Number Publication Date
JP2010072867A true JP2010072867A (en) 2010-04-02

Family

ID=42204595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008238591A Pending JP2010072867A (en) 2008-09-17 2008-09-17 Terminal device, program, and content delivery system

Country Status (1)

Country Link
JP (1) JP2010072867A (en)

Similar Documents

Publication Publication Date Title
JP6348505B2 (en) Improved peer-to-peer performance
JP2017118575A (en) Load distribution in data networks
US7792900B2 (en) Overlay network system and service providing method
US20080244067A1 (en) Contents distribution system and information processing method thereof, as well as contents management apparatus and recording medium on which program thereof is recorded
JP2008092235A (en) Content distribution system, content distribution method, terminal in content distribution system and program therefor
KR20130040236A (en) Method, server and terminal for audio and video on demand
US11411826B2 (en) Monitoring a peer-to-peer network
JP2009157437A (en) Distributed storage system
JP4765876B2 (en) TERMINAL DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM FOR CONTENT DISTRIBUTION SYSTEM
JP5614530B2 (en) Information communication system, node device, information processing method, and information processing program
JP4877107B2 (en) Terminal device and information processing program in information distribution system, and information processing method of terminal device
JP2009289161A (en) Clustered storage system, node device thereof, and method and program for controlling data read/write
JP4798146B2 (en) Terminal device and program in information distribution system, and reconnection processing method
JP2010072867A (en) Terminal device, program, and content delivery system
JP2008085678A (en) Content distribution system, content distribution method, terminal device in the content distribution system and program thereof
JP5168055B2 (en) COMMUNICATION SYSTEM, TERMINAL DEVICE, AND CONTENT INFORMATION ACQUISITION METHOD
US7983193B2 (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
JP2008293196A (en) Information distribution system, terminal apparatus used for the system, information processing program thereof, and information processing method
US20090319612A1 (en) Information distribution system, terminal apparatus, distribution server and introduction server in the information distribution system, and recording medium on which program thereof is recorded
JP5136213B2 (en) Information distribution system and terminal device in the system
JP2009200725A (en) Information delivery system, method of forming hierarchical structure in the system, and program
JP4635966B2 (en) CONTENT DISTRIBUTION SYSTEM, CONTENT DISTRIBUTION METHOD, TERMINAL DEVICE IN CONTENT DISTRIBUTION SYSTEM, AND PROGRAM THEREOF
JP5195813B2 (en) Karaoke network system and karaoke device
JP2009087103A (en) Terminal for information delivery system, information processing program and information processing method
JP2010074428A (en) Terminal device, program, and content distribution system