JP2009200725A - Information delivery system, method of forming hierarchical structure in the system, and program - Google Patents

Information delivery system, method of forming hierarchical structure in the system, and program Download PDF

Info

Publication number
JP2009200725A
JP2009200725A JP2008039101A JP2008039101A JP2009200725A JP 2009200725 A JP2009200725 A JP 2009200725A JP 2008039101 A JP2008039101 A JP 2008039101A JP 2008039101 A JP2008039101 A JP 2008039101A JP 2009200725 A JP2009200725 A JP 2009200725A
Authority
JP
Japan
Prior art keywords
terminal device
connection
terminal
information
hierarchical structure
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.)
Withdrawn
Application number
JP2008039101A
Other languages
Japanese (ja)
Inventor
Katsuro Suda
克朗 須田
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 JP2008039101A priority Critical patent/JP2009200725A/en
Publication of JP2009200725A publication Critical patent/JP2009200725A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information delivery system for forming a hierarchical structure preventing the reduction in efficiency of delivering information to respective terminal units, and to provide a method of forming the hierarchical structure in the system and a program. <P>SOLUTION: In the information delivery system includes a hierarchical structure configured by connecting a plurality of terminal units in multiple layers through a network to relay the information successively from the upstream terminal unit of the hierarchical structure to the downstream terminal unit. A storage means is provided for storing the information of an ideal hierarchical structure specifying the ideal position of each of the plurality of terminal units in the hierarchical structure. When the terminal unit participates in the hierarchical structure, it is determined whether the terminal unit can be connected to candidate terminals selected in the order on the basis of a predetermined connection criterion determined for the ideal position of the terminal unit among the information of the ideal hierarchical structure stored in the storage means. When there is a connectable terminal candidate, the terminal unit is connected to the connectable terminal candidate. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、情報配信システム及び同システムにおける階層構造の形成方法及びプログラムに関するものであり、特に、ネットワークを介して複数の端末装置を多層に接続して階層構造を構成し、当該階層構造の上流の端末装置から下流の端末装置へ順次情報が中継される情報配信システム、及び同システムにおける階層構造の形成方法、及びプログラムに関するものである。   The present invention relates to an information distribution system and a hierarchical structure forming method and program in the information distribution system, and in particular, a plurality of terminal devices are connected in multiple layers via a network to form a hierarchical structure, and upstream of the hierarchical structure. The present invention relates to an information distribution system in which information is sequentially relayed from a terminal device to a downstream terminal device, a hierarchical structure forming method, and a program in the system.

近年、ブロードバンドの普及に伴って、コンテンツ情報を配信する情報配信サービスが人気となっている。例えば、VOD(ビデオオンデマンド)のように利用者の要求に応じてコンテンツ情報を配信するサービスの他、インターネット放送のようにコンテンツ情報を放送形式で配信するサービスが知られている。   In recent years, with the spread of broadband, information distribution services that distribute content information have become popular. For example, in addition to a service that distributes content information in response to a user request such as VOD (video on demand), a service that distributes content information in a broadcast format such as Internet broadcasting is known.

この種の情報配信サービスは、サーバクライアント方式による配信形態が主流であったが、最近では、この方式に代わる新しい配信形態としてP2P(ピアツーピア)型の配信形態であるツリー型トポロジー形式の配信形態が注目されている。   In this type of information distribution service, the distribution form by the server client method has been mainstream, but recently, a tree-type topology distribution form, which is a P2P (peer-to-peer) type distribution form, has been introduced as a new distribution form to replace this form. Attention has been paid.

このツリー型トポロジー形式は、インターネットなどのネットワークを介してコンテンツ情報を配信する情報配信装置を頂点として複数の端末装置がネットワーク上にツリー状の階層構造で多層に論理接続され、情報配信装置から配信されるコンテンツ情報が端末装置の中継機能により順次下層の端末装置へ中継される配信形態である(例えば、特許文献1参照)。   In this tree topology format, multiple terminal devices are logically connected in multiple layers in a tree-like hierarchical structure on the network and distributed from the information distribution device, with the information distribution device distributing content information via the network such as the Internet at the top. Content information is relayed sequentially to the lower terminal device by the relay function of the terminal device (see, for example, Patent Document 1).

このツリー型トポロジー形式の配信形態においては、端末装置が新たにツリー状の階層構造へ参加(接続)する際、この階層構造を管理する接続管理装置に問い合わせを行い、接続先の端末装置(以下、「接続先候補」とも呼ぶ。)を教えてもらう。すなわち、接続管理装置は、新規に参加する端末装置から問い合わせを受けたとき、ツリー状の階層構造に参加している端末装置の中から、その端末装置の下流側に他の端末装置を接続可能な接続先候補を選択をする。新規に参加する端末装置は、このように接続管理装置が選択した接続先候補に接続して、情報配信装置が配信するコンテンツ情報を受信するようにしている。   In this tree-type topology distribution form, when a terminal device newly joins (connects) to a tree-like hierarchical structure, it makes an inquiry to a connection management device that manages this hierarchical structure, and connects to a terminal device (hereinafter referred to as a terminal device) , Also called "connection destination candidates"). That is, when a connection management device receives an inquiry from a newly participating terminal device, it can connect another terminal device to the downstream side of the terminal device from among the terminal devices participating in the tree-like hierarchical structure Select a suitable connection destination candidate. The newly participating terminal device connects to the connection destination candidate selected by the connection management device in this way, and receives the content information distributed by the information distribution device.

この情報配信システムでは、ツリー状の階層構造に参加する各端末装置毎に、性能、使用している通信回線の種類、ネットワーク上における物理的距離がそれぞれ異なる。   In this information distribution system, the performance, the type of communication line used, and the physical distance on the network are different for each terminal device participating in the tree-like hierarchical structure.

そのため、ツリー状の階層構造を用いた情報配信システムでは、性能の高い端末装置や通信帯域が広く通信速度の速い通信回線を使用している端末装置を階層構造の上流側へ配置することや、ネットワーク上における物理的距離の近い端末装置同士を階層構造中で近い位置に配置することがコンテンツ情報を効率的に配信する上で理想的である。
特開2006−33514号公報
Therefore, in an information distribution system using a tree-like hierarchical structure, a high-performance terminal device or a terminal device using a communication line with a wide communication band and a high communication speed is arranged upstream of the hierarchical structure, In order to efficiently distribute content information, it is ideal to arrange terminal devices having a close physical distance on the network at close positions in the hierarchical structure.
JP 2006-33514 A

ところが、上記従来の情報配信システムでは、情報配信装置から配信されるコンテンツ情報を効率良く各端末装置へ配信可能なツリー状の階層構造を形成することが困難であった。   However, in the conventional information distribution system, it has been difficult to form a tree-like hierarchical structure that can efficiently distribute content information distributed from the information distribution apparatus to each terminal apparatus.

すなわち、上記従来の情報配信システムでは、端末装置が一旦ツリー状の階層構造へ参加した後は、コンテンツ情報の配信経路において、自装置の上流に接続している装置との通信が途絶したときや、自らツリー状の階層構造から離脱するまで、ツリー状階層構造の接続位置は維持されるので、性能の低い端末装置や、通信速度の低い通信回線や通信帯域の狭い通信回線を使用している端末装置が、コンテンツ情報の配信経路における上流側に長時間配置される場合や、ネットワーク上における物理的距離が近い端末装置同士が階層構造中の離れた位置に配置される場合があり、この場合、各端末装置へのコンテンツ情報の配信効率が低下するという問題があった。   That is, in the above-described conventional information distribution system, after a terminal device once participates in a tree-like hierarchical structure, when communication with a device connected upstream of the terminal device is interrupted in the content information distribution path, Since the connection position of the tree-like hierarchical structure is maintained until it leaves the tree-like hierarchical structure, a low-performance terminal device, a communication line with a low communication speed, or a communication line with a narrow communication band is used. In some cases, terminal devices may be placed on the upstream side of the content information distribution path for a long time, or terminal devices that are close to the physical distance on the network may be placed at distant locations in the hierarchical structure. There has been a problem that the distribution efficiency of content information to each terminal device is reduced.

請求項1に係る本発明では、ネットワークを介して複数の端末装置を多層に接続して階層構造を構成し、当該階層構造の上流の端末装置から下流の端末装置へ順次情報が中継される情報配信システムにおいて、前記階層構造における前記複数の端末装置のそれぞれの理想位置を規定した理想階層構造の情報を記憶する記憶手段を備え、前記端末装置が前記階層構造へ参加するときに、前記記憶手段に記憶された前記理想階層構造の情報のうち当該参加する端末装置の理想位置に対して予め定められた接続基準に従った順番で選択される接続先候補の端末装置に対して接続が可能か否かが順次判断され、接続可能な接続先候補があったとき、当該接続可能な接続先候補に前記参加する端末装置を接続することを特徴とする。   In the present invention according to claim 1, information in which a plurality of terminal devices are connected in multiple layers via a network to form a hierarchical structure, and information is sequentially relayed from an upstream terminal device to a downstream terminal device in the hierarchical structure. In the distribution system, a storage unit that stores information of an ideal hierarchical structure that defines an ideal position of each of the plurality of terminal devices in the hierarchical structure, and when the terminal device participates in the hierarchical structure, the storage unit Is it possible to connect to the terminal device of the connection destination candidate selected in the order according to the predetermined connection standard with respect to the ideal position of the participating terminal device among the information of the ideal hierarchical structure stored in If there is a connection destination candidate that can be connected, the terminal device that participates is connected to the connection destination candidate that can be connected.

また、請求項2に係る本発明では、請求項1に記載の情報配信システムにおいて、前記記憶手段を有するサーバ装置を備え、前記端末装置は、前記階層構造における前記複数の端末装置の理想位置を規定した理想階層構造の情報を前記サーバ装置から取得する取得処理手段と、前記階層構造へ参加するときに、前記取得処理手段で取得した理想階層構造のうち自装置の理想位置に対して予め定められた接続基準に従った順番で接続先候補の端末装置に対して接続を順次試み、接続可能な接続先候補があったときに当該接続先候補と接続する接続処理手段とを備えたことを特徴とする。   According to a second aspect of the present invention, in the information distribution system according to the first aspect, the information processing system includes a server device having the storage unit, and the terminal device determines an ideal position of the plurality of terminal devices in the hierarchical structure. An acquisition processing means for acquiring information on the specified ideal hierarchical structure from the server device, and a predetermined position for the ideal position of the own device in the ideal hierarchical structure acquired by the acquisition processing means when participating in the hierarchical structure. A connection processing means for sequentially connecting to the connection destination candidate terminal device in the order in accordance with the determined connection criteria and connecting to the connection destination candidate when there is a connectable connection destination candidate. Features.

また、請求項3に係る本発明では、請求項2に記載の情報配信システムにおいて、前記接続処理手段は、前記階層構造へ参加した後、定期的に、前記階層構造から離脱し、前記取得処理手段で取得した理想階層構造のうち自装置の理想位置に対して予め定められた接続基準に従った順番で接続先候補の端末装置に対して接続を順次試み、接続可能な接続先候補があったときに当該接続先候補と接続することを特徴とする。   According to a third aspect of the present invention, in the information distribution system according to the second aspect, the connection processing means periodically leaves the hierarchical structure after participating in the hierarchical structure, and the acquisition process In the ideal hierarchical structure acquired by the means, the connection destination candidates are sequentially tried in the order in accordance with the connection criteria determined in advance with respect to the ideal position of the own device, and there are connection destination candidates that can be connected. The connection is made with the connection destination candidate.

また、請求項4に係る本発明では、請求項1に記載の情報配信システムにおいて、前記記憶手段を有するサーバ装置を備え、前記端末装置は、前記階層構造へ参加するときに、前記サーバ装置に対して接続先候補の端末装置の紹介を要求する接続先紹介要求手段と、前記紹介要求に対して前記サーバ装置から通知される接続先候補に対して接続を行う接続処理手段と、前記階層構造への接続時又はその後、前記階層構造における自装置の位置を前記サーバ装置に対して通知する通知手段とを備え、前記サーバ装置は、各前記端末装置から通知された当該端末装置の前記階層構造における位置に基づいて、前記階層構造の状態を検出する階層構造状態検出手段と、前記端末装置から接続先候補の紹介要求があったとき、前記記憶手段に記憶している前記理想階層構造の情報のうち前記紹介要求を行った端末装置の理想位置に対して予め定められた接続基準に従った順番で接続先候補を選択して通知する接続先候補紹介手段とを備えたことを特徴とする。   According to a fourth aspect of the present invention, in the information distribution system according to the first aspect, the server device having the storage unit is provided, and the terminal device is connected to the server device when participating in the hierarchical structure. Connection destination introduction requesting means for requesting introduction of a connection destination candidate terminal device, connection processing means for connecting to a connection destination candidate notified from the server device in response to the introduction request, and the hierarchical structure Notification means for notifying the server device of the position of the device itself in the hierarchical structure at the time of connection to the server device, and the server device is configured to notify the hierarchical structure of the terminal device notified from each terminal device. The hierarchical structure state detecting means for detecting the state of the hierarchical structure based on the position at the time, and when there is a connection destination candidate introduction request from the terminal device, Connection destination candidate introduction means for selecting and notifying a connection destination candidate in an order according to a predetermined connection standard with respect to the ideal position of the terminal device that has made the introduction request from the information of the ideal hierarchical structure. It is characterized by having.

また、請求項5に係る本発明では、請求項2〜4のいずれか1項に記載の情報配信システムにおいて、前記端末装置は、自装置の下流に接続している他の端末装置の理想位置の情報を記憶する下流情報記憶手段と、他の端末装置から接続の要求があったとき、当該接続の要求を行った他の端末装置の理想位置と前記下流情報記憶手段に記憶した他の端末装置の理想位置とを比較して、前記接続の要求を行った他の端末装置と接続すべきか否かを判定する判定手段と、前記判定手段により前記接続の要求を行った他の端末装置と接続すべきと判定されると、当該接続の要求を行った他の端末装置との接続を行い、前記下流に接続している他の端末装置との接続を切断する下流接続処理手段とを備えたことを特徴とする。   Moreover, in this invention which concerns on Claim 5, in the information delivery system of any one of Claims 2-4, the said terminal device is the ideal position of the other terminal device connected downstream of an own apparatus. When there is a connection request from another terminal device and the downstream information storage means for storing the information of the other terminal device, the ideal position of the other terminal device that made the connection request and the other terminal stored in the downstream information storage means A determination means for comparing with an ideal position of the apparatus to determine whether or not to connect to another terminal apparatus that has requested the connection; and another terminal apparatus that has requested the connection by the determination means When it is determined that the connection is to be made, a downstream connection processing unit is provided for connecting to another terminal device that has requested the connection and disconnecting the other terminal device connected downstream. It is characterized by that.

また、請求項6に係る本発明では、請求項5に記載の情報配信システムにおいて、前記端末装置の理想位置の情報として、前記理想階層構造の上流から下流に向けて一定の配列順序となる端末番号が各前記端末装置に対して割り当てられており、前記判定手段は、前記接続の要求を行った他の端末装置の端末番号が前記下流情報記憶手段に記憶している端末番号よりも上流側にある端末番号であるときに、前記接続の要求を行った他の端末装置と接続すべきと判定することを特徴とする。   Moreover, in this invention which concerns on Claim 6, in the information delivery system of Claim 5, as the information of the ideal position of the said terminal device, the terminal which becomes a fixed arrangement order toward the downstream from the said ideal hierarchy structure A number is assigned to each of the terminal devices, and the determination unit is upstream of the terminal number stored in the downstream information storage unit of the terminal number of another terminal device that has made the connection request. It is determined that the terminal number should be connected to another terminal device that has made the connection request.

また、請求項7に係る本発明では、請求項6に記載の情報配信システムにおいて、前記判定手段は、前記接続の要求を行った他の端末装置の端末番号が前記下流情報記憶手段に記憶している端末番号よりも上流側にある端末番号であるときであっても、前記接続の要求を行った他の端末装置の端末番号が前記理想階層構造において自装置の理想位置の下流に接続される端末装置の端末番号よりも下流側にある端末番号ではなく、かつ同じ端末番号でもないとき、前記接続の要求を行った他の端末装置と接続すべきでないと判定することを特徴とする。   Further, in the present invention according to claim 7, in the information distribution system according to claim 6, the determination unit stores a terminal number of another terminal device that has requested the connection in the downstream information storage unit. Even when the terminal number is on the upstream side of the current terminal number, the terminal number of the other terminal device that made the connection request is connected downstream of the ideal position of the own device in the ideal hierarchical structure. When the terminal number is not the terminal number downstream of the terminal number of the terminal device and the terminal number is not the same, it is determined that the terminal device should not be connected to the other terminal device that has requested the connection.

また、請求項8に係る本発明では、コンピュータを、請求項2〜7のいずれか1項に記載の情報配信システムにおける前記端末装置の各手段として機能させるプログラムを提供することとした。   In the present invention according to claim 8, a program for causing a computer to function as each unit of the terminal device in the information distribution system according to any one of claims 2 to 7 is provided.

また、請求項9に係る本発明では、ネットワークを介して複数の端末装置を多層に接続して階層構造を構成し、当該階層構造の上流の端末装置から下流の端末装置へ順次情報が中継される情報配信システムにおける前記階層構造の形成方法であって、前記階層構造における前記複数の端末装置のそれぞれの理想位置を規定した理想階層構造の情報を記憶手段に記憶するステップと、前記端末装置が前記階層構造へ参加するときに、前記記憶手段に記憶された前記理想階層構造の情報のうち当該参加する端末装置の理想位置に対して予め定められた接続基準に従った順番で選択される接続先候補の端末装置に対して接続が可能か否かを順次判断していき、接続可能な接続先候補があったとき、当該接続可能な接続先候補に前記参加する端末装置を接続するステップとを有することを特徴とする。   In the present invention according to claim 9, a plurality of terminal devices are connected in multiple layers via a network to form a hierarchical structure, and information is sequentially relayed from the upstream terminal device to the downstream terminal device in the hierarchical structure. A method of forming the hierarchical structure in the information distribution system, the step of storing ideal hierarchical structure information defining each ideal position of the plurality of terminal devices in the hierarchical structure in a storage unit; A connection selected in order according to a predetermined connection criterion with respect to the ideal position of the participating terminal device among the information of the ideal hierarchical structure stored in the storage means when participating in the hierarchical structure Terminal devices that sequentially determine whether or not connection is possible to a destination terminal device, and when there is a connection destination candidate that can be connected, the terminal device that participates in the connection destination candidate that can be connected Characterized by a step of connecting.

本発明によれば、各端末装置への情報の配信効率の低下を防止可能な階層構造を形成することができる。   ADVANTAGE OF THE INVENTION According to this invention, the hierarchical structure which can prevent the fall of the delivery efficiency of the information to each terminal device can be formed.

[1.第1実施形態]
[1.1.情報配信システムの概要構成等]
まず、図1を参照して、本実施形態に係る情報配信システムSの概要構成について説明する。図1は、本実施形態に係る情報配信システムSの概要構成例を示す説明図である。
[1. First Embodiment]
[1.1. Outline configuration of information distribution system]
First, a schematic configuration of the information distribution system S according to the present embodiment will be described with reference to FIG. FIG. 1 is an explanatory diagram illustrating a schematic configuration example of the information distribution system S according to the present embodiment.

図1に示すように、本実施形態に係る情報配信システムSは、音楽データ、映像データ或いは文書データなどのコンテンツ情報をネットワーク8を介して配信する情報配信装置1と、ネットワーク8上において情報配信装置1を頂点としてツリー状の階層構造(以下、「ツリー」と呼ぶ。)で多層に論理接続される複数の端末装置2a1,2a2,2b1〜2b4,2c1〜2c8と、このツリーを管理するサーバ装置3とを備えている。なお、端末装置の数をここでは14台としているがこれに限られるものではない。   As shown in FIG. 1, the information distribution system S according to the present embodiment includes an information distribution apparatus 1 that distributes content information such as music data, video data, or document data via a network 8, and information distribution on the network 8. A plurality of terminal devices 2a1, 2a2, 2b1 to 2b4, 2c1 to 2c8 logically connected in multiple layers in a tree-like hierarchical structure (hereinafter referred to as “tree”) with the device 1 as a vertex, and a server that manages this tree The apparatus 3 is provided. In addition, although the number of terminal devices is 14 here, it is not restricted to this.

図1では、中央の破線内に情報配信装置1と各端末装置2a1,2a2,2b1〜2b4,2c1〜2c8との論理接続形態を示しており、その下側に、各装置(情報配信装置1と各端末装置2a1,2a2,2b1〜2b4,2c1〜2c8とサーバ装置3)の物理的接続形態を示している。   In FIG. 1, the logical connection form of the information distribution apparatus 1 and each terminal device 2a1, 2a2, 2b1-2b4, 2c1-2c8 is shown in the middle broken line, and each apparatus (information distribution apparatus 1 is shown below). And physical connection forms of the terminal devices 2a1, 2a2, 2b1-2b4, 2c1-2c8 and the server device 3).

情報配信装置1、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8、サーバ装置3には、各々IPアドレスが割り当てられており、これら装置は、図1下部に示すように、ネットワーク8の一例としてのインターネットにルータ等を介して接続されている。   An IP address is assigned to each of the information distribution device 1, the terminal devices 2a1, 2a2, 2b1 to 2b4, 2c1 to 2c8, and the server device 3, and these devices are examples of the network 8 as shown in the lower part of FIG. Connected to the Internet via a router or the like.

情報配信装置1には、ネットワーク8における所在情報としてのIPアドレスと、固有の識別情報としての装置IDとが割り当てられており、各端末装置2a1,2a2,2b1〜2b4,2c1〜2c8にも、それぞれネットワーク8における所在情報としてのIPアドレスと、固有の識別情報としての端末IDとが割り当てられている。なお、本実施形態では、端末IDとしてMACアドレスを用いている。   The information distribution device 1 is assigned an IP address as location information in the network 8 and a device ID as unique identification information, and each of the terminal devices 2a1, 2a2, 2b1-2b4, 2c1-2c8, Each is assigned an IP address as location information in the network 8 and a terminal ID as unique identification information. In this embodiment, a MAC address is used as the terminal ID.

また、これらの装置間において、各端末装置2a1,2a2,2b1〜2b4,2c1〜2c8は、情報配信装置1や接続先候補の端末装置(以下、「接続先候補」という。)2a1,2a2,2b1〜2b4,2c1〜2c8へ自装置の端末ID等を含む接続要求通知を送信して接続することによって、双方向での情報通信が可能となる。   Among these devices, each of the terminal devices 2a1, 2a2, 2b1 to 2b4, 2c1 to 2c8 is the information distribution device 1 or a connection destination candidate terminal device (hereinafter referred to as “connection destination candidate”) 2a1, 2a2, and 2a1. Bidirectional information communication is possible by transmitting and connecting a connection request notification including the terminal ID of the own apparatus to 2b1 to 2b4 and 2c1 to 2c8.

そして、情報配信装置1及び端末装置2a1,2a2,2b1〜2b4,2c1〜2c8が装置間でセッションを確立することによって論理接続され、ツリーが構築される。なお、以下の説明において、端末装置2a1,2a2,2b1〜2b4,2c1〜2c8のうち任意の端末装置又はすべての端末装置を示す場合には、便宜上、端末装置2という場合がある。   The information distribution device 1 and the terminal devices 2a1, 2a2, 2b1-2b4, 2c1-2c8 are logically connected by establishing a session between the devices, and a tree is constructed. In the following description, when an arbitrary terminal device or all terminal devices among the terminal devices 2a1, 2a2, 2b1-2b4, 2c1-2c8 are shown, they may be referred to as a terminal device 2 for convenience.

この情報配信システムSにおいて、情報配信装置1は、コンテンツ情報を自装置の下流に接続している端末装置2a1,2a2へ送信する。端末装置2a1,2a2は上流に接続した情報配信装置1からコンテンツ情報を受信すると、下流に接続した端末装置(以下、「下流端末」とも呼ぶ。)2b1〜2b4へ受信したコンテンツ情報を中継する。同様に、端末装置2b1〜2b4はコンテンツ情報を受信すると、下流に接続した端末装置2c1〜2c8へ受信したコンテンツ情報を中継する。なお、以下の説明では、ツリーにおいて自装置の上流に接続している端末装置2を上流端末とも呼ぶ。   In this information distribution system S, the information distribution device 1 transmits content information to the terminal devices 2a1 and 2a2 connected downstream of the device itself. When the terminal devices 2a1 and 2a2 receive the content information from the information distribution device 1 connected upstream, the terminal devices 2a1 and 2a2 relay the received content information to the downstream terminal devices (hereinafter also referred to as “downstream terminals”) 2b1 to 2b4. Similarly, when receiving the content information, the terminal devices 2b1 to 2b4 relay the received content information to the terminal devices 2c1 to 2c8 connected downstream. In the following description, the terminal device 2 connected upstream of the own device in the tree is also referred to as an upstream terminal.

このように情報配信システムSにおいては、情報配信装置1から配信されるコンテンツ情報が端末装置2の中継機能により順次下層の端末装置2へ中継され、当該情報配信システムSのツリーを構成する全ての端末装置2へコンテンツ情報が配信される。配信されるコンテンツ情報には、音楽や映画などコンテンツデータのほか、再生時刻の情報(以下、「再生時刻データ」という。)が含まれている。そして、コンテンツ情報を受信した複数の端末装置2は、順次送信されるコンテンツ情報の再生を再生時刻データに基づいて行なう。   As described above, in the information distribution system S, the content information distributed from the information distribution apparatus 1 is sequentially relayed to the lower terminal apparatus 2 by the relay function of the terminal apparatus 2, and all the information constituting the tree of the information distribution system S is configured. Content information is distributed to the terminal device 2. The distributed content information includes content data such as music and movies, as well as playback time information (hereinafter referred to as “playback time data”). Then, the plurality of terminal devices 2 that have received the content information perform reproduction of the content information that is sequentially transmitted based on the reproduction time data.

このようにして、情報配信システムSは、情報配信装置1から送信されたコンテンツ情報が複数の端末装置2に配信され、複数の端末装置2において同時刻にコンテンツ情報を再生することができる。すなわち、P2Pを用いて複数の端末装置2への放送形式のストリーミング配信を実現している。   In this way, the information distribution system S can distribute the content information transmitted from the information distribution device 1 to the plurality of terminal devices 2 and reproduce the content information at the same time in the plurality of terminal devices 2. That is, the broadcast streaming distribution to the plurality of terminal devices 2 is realized using P2P.

特に、本実施形態の情報配信システムSでは、サーバ装置3がツリーにおける複数の端末装置2のそれぞれの理想接続位置(以下、「理想位置」という。)を規定した理想階層構造(以下、「理想ツリー」という。)に関する情報(以下、「理想ツリー情報」という。)を記憶する記憶手段を備えている。   In particular, in the information distribution system S of the present embodiment, the server apparatus 3 defines an ideal hierarchical structure (hereinafter referred to as “ideal position”) that defines the ideal connection positions (hereinafter referred to as “ideal positions”) of the plurality of terminal apparatuses 2 in the tree. Storage means for storing information on the tree (hereinafter referred to as “ideal tree information”) is provided.

サーバ装置3は、各端末装置2が新規に当該情報配信システムSのツリーに参加する際に、その端末装置2から当該端末装置2が使用している通信回線に関する情報や、その端末装置2の情報処理能力に関する情報、使用しているインターネットプロバイダに関する情報等を取得し、これらの情報に基づいて、コンテンツ情報の配信効率が向上するように、その端末装置2の理想ツリーにおける理想位置を決定して、理想ツリー情報を作成するように構成している。   When each terminal device 2 newly joins the tree of the information distribution system S, the server device 3 receives information on the communication line used by the terminal device 2 from the terminal device 2 and the information on the terminal device 2 Information on information processing capability, information on the Internet provider in use, etc. are acquired, and based on these information, the ideal position in the ideal tree of the terminal device 2 is determined so that the distribution efficiency of content information is improved. The ideal tree information is created.

そして、各端末装置2は、当該情報配信システムSのツリーに参加(接続)するときに、サーバ装置3から理想ツリー情報を取得し、この理想ツリー情報に基づいて、理想ツリーにおける自装置の理想位置に対して予め定められた接続基準に従った順番で、接続先候補に対して接続を試み、接続可能な接続先候補があったときに、その接続先候補に接続するように構成している。   Each terminal device 2 acquires ideal tree information from the server device 3 when joining (connecting) to the tree of the information distribution system S, and based on the ideal tree information, each terminal device 2 has its own ideal in the ideal tree. It is configured to connect to a connection destination candidate in an order according to a predetermined connection standard with respect to a position, and when there is a connection destination candidate that can be connected, the connection destination candidate is connected. Yes.

このように、本実施形態の情報配信システムSは、サーバ装置3がツリーに参加する各端末装置2の情報配信能力やネットワーク8における物理的位置に基づいて、理想ツリー情報を作成して記憶し、各端末装置2がサーバ装置3から取得した理想ツリー情報に基づいて、ツリーにおける接続先候補を判断して接続するように構成しているので、ツリーにおける各端末装置2の参加位置を理想位置に近付けることができ、その結果、ツリーの構造も理想ツリーに近付くので、各端末装置2へのコンテンツ情報の配信効率の低下を防止可能なツリーを形成することができる。   As described above, the information distribution system S according to the present embodiment creates and stores ideal tree information based on the information distribution capability of each terminal device 2 in which the server device 3 participates in the tree and the physical position in the network 8. Since each terminal apparatus 2 is configured to determine connection destination candidates in the tree based on the ideal tree information acquired from the server apparatus 3, the participation position of each terminal apparatus 2 in the tree is determined as the ideal position. As a result, the tree structure also approaches the ideal tree, so that a tree capable of preventing the content information distribution efficiency from being lowered to each terminal device 2 can be formed.

[1.2.情報配信システムにおける理想ツリー]
ここで、本実施形態の情報配信システムSにおける理想ツリーについて説明する。
[1.2. Ideal tree in information distribution system]
Here, an ideal tree in the information distribution system S of the present embodiment will be described.

図2は、理想ツリーの一例を示す説明図である。ここでは、1台の情報配信装置1と14台の端末装置2とにより構成される理想ツリーを例に挙げて説明する。なお、ここでは、情報配信装置1及び各端末装置2は、自装置の下流に2台の端末装置2を接続可能であるものとして説明するが、下流に接続可能な端末装置2の台数はこれに限定するものではなく、任意に変更してもよい。   FIG. 2 is an explanatory diagram illustrating an example of an ideal tree. Here, an ideal tree composed of one information distribution device 1 and 14 terminal devices 2 will be described as an example. Here, the information distribution device 1 and each terminal device 2 will be described as being capable of connecting two terminal devices 2 downstream of the own device, but the number of terminal devices 2 that can be connected downstream is the number of terminal devices 2 that can be connected downstream. It is not limited to this, and may be changed arbitrarily.

この情報配信システムSでは、サーバ装置3が情報配信装置1及び各端末装置2に対し、各装置の情報処理能力や通信速度、通信帯域、使用しているインターネットプロバイダ等に関する情報に基づいて、各装置の理想ツリーにおける接続すべき理想位置を示す端末番号を割り当てるようにしている。   In this information distribution system S, the server device 3 provides each information device 1 and each terminal device 2 with information processing capabilities, communication speeds, communication bands, information on Internet providers used, etc. A terminal number indicating an ideal position to be connected in the ideal tree of the apparatus is assigned.

本実施形態では、サーバ装置3がツリーを構成する15台の装置に「1」〜「15」の端末番号を割り当てるようにしており、具体的には、図2に示すように、理想ツリーの頂点(最上層)に位置する情報配信装置1に対して端末番号が最も大きい端末番号「15」を割り当て、この情報配信装置1を配信元とするコンテンツ情報の各配信経路において、上流側から下流側へ向けて順次端末番号が小さくなるように一定の配列順序で、各端末装置2に対して「14」〜「1」の端末番号を割り当てて理想ツリーを作成し、この理想ツリーに関する理想ツリー情報を記憶している。   In the present embodiment, the server device 3 assigns terminal numbers “1” to “15” to 15 devices constituting the tree. Specifically, as shown in FIG. The terminal number “15” having the largest terminal number is assigned to the information distribution apparatus 1 located at the apex (uppermost layer), and downstream from the upstream side in each distribution path of the content information having the information distribution apparatus 1 as a distribution source An ideal tree is created by assigning terminal numbers “14” to “1” to the terminal devices 2 in a fixed arrangement order so that the terminal numbers sequentially decrease toward the side, and creating an ideal tree. I remember information.

また、各端末装置2は、情報配信システムSのツリーに参加する際に、サーバ装置3からこの理想ツリー情報と共に自装置に割り当てられた端末番号を取得する。   Further, each terminal device 2 acquires a terminal number assigned to the own device together with the ideal tree information from the server device 3 when participating in the tree of the information distribution system S.

さらに、各端末装置2は、自装置の下流側に他の端末装置2を接続したときに、その端末装置2の端末番号を取得して記憶する。   Furthermore, each terminal device 2 acquires and stores the terminal number of the terminal device 2 when another terminal device 2 is connected to the downstream side of the own device.

そして、各端末装置2は、サーバ装置3から取得した理想ツリー情報に基づいて、理想ツリーにおける自装置の理想位置に対してサーバ装置3により予め定められた後述の接続基準に従った順番で選択した接続先候補に対して接続を試み、当該接続を試みた接続先候補が接続可能であるか否かを判断して、接続が可能であったときに、その接続先候補と接続する。   Then, each terminal device 2 selects, based on the ideal tree information acquired from the server device 3, in the order according to the connection criteria described later by the server device 3 with respect to the ideal position of the own device in the ideal tree. The connection destination candidate is tried, and it is determined whether or not the connection destination candidate that attempted the connection is connectable. When the connection is possible, the connection destination candidate is connected.

[1.3.端末装置の接続順序]
ここで、各端末装置2がツリーにおける接続先候補を選択する際の接続基準に従った順番について説明する。図3は、各端末装置2毎の接続順序の一例を示す説明図である。
[1.3. Terminal device connection order]
Here, the order according to the connection criterion when each terminal device 2 selects a connection destination candidate in the tree will be described. FIG. 3 is an explanatory diagram illustrating an example of a connection order for each terminal device 2.

本実施形態では、図3に示すように、端末番号として「1」が割り当てられた端末装置(以下、端末番号「1」の端末装置2という。)は、ツリーに参加する際、端末番号「3」、「2」、「7」、「6」、「5」、「4」、「15」が割り当てられた端末装置2に対して、この順番で順次接続を試み、接続が可能な端末装置2があったときに、その端末装置2の下流側に接続する。   In the present embodiment, as shown in FIG. 3, a terminal device to which “1” is assigned as a terminal number (hereinafter referred to as a terminal device 2 with a terminal number “1”) joins the tree with the terminal number “ Terminals that can be connected to the terminal devices 2 to which “3”, “2”, “7”, “6”, “5”, “4”, “15” are sequentially assigned in this order When the device 2 is present, it connects to the downstream side of the terminal device 2.

具体的には、端末番号「1」の端末装置2は、理想ツリーの中で、自装置の端末番号「1」が割り当てられている位置の直上流(以下、「1つ上」という。)に位置する端末装置2(端末番号「3」)、次に、自装置の一つ上の端末装置2の左側直下流(以下、「左下」という。)に位置する端末装置2(端末番号「2」)、次に、左下の端末装置2(端末番号「2」)の直下流(以下、「下」という。)に端末装置2が接続していた場合その端末装置2、左上の端末装置2(端末番号「2」)の下に端末装置2が接続していなかった場合2つ上の端末装置2(端末番号「7」)、次に、2つ上の端末装置2の左下の端末装置2(端末番号「6」)、というように、自装置から見て上、次に左下、次に、左下の下、次に、左下の下がない場合、上の一つ上に位置する端末装置2という順番で、順次接続を試みるように接続順序が予め決定されている。   Specifically, the terminal device 2 having the terminal number “1” is located immediately upstream of the position where the terminal number “1” of the own device is assigned in the ideal tree (hereinafter referred to as “one higher”). Terminal device 2 (terminal number “3”) located next to the terminal device 2, and then the terminal device 2 (terminal number “3”) located immediately downstream (hereinafter referred to as “lower left”) of the terminal device 2 immediately above itself. 2 ”), and then, when the terminal device 2 is connected directly downstream (hereinafter referred to as“ lower ”) of the lower left terminal device 2 (terminal number“ 2 ”), the terminal device 2 and the upper left terminal device If the terminal device 2 is not connected under 2 (terminal number “2”), the terminal device 2 that is two higher (terminal number “7”), and then the lower left terminal of the terminal device 2 that is two higher When there is no device 2 (terminal number “6”), as seen from its own device, then the lower left, then the lower left, and then the lower left In the order of the terminal device 2 located on one of the upper, the connection order to attempt sequential connection is predetermined.

そのため、端末番号「5」の端末装置2の接続順序は、図2に示すように、端末番号「6」、「7」、「15」に対応する端末装置2の順序となり、端末番号「12」の端末装置2の接続順序は、端末番号「13」、「14」、「15」に対応する端末装置2の順序となる。   Therefore, the connection order of the terminal device 2 with the terminal number “5” is the order of the terminal devices 2 corresponding to the terminal numbers “6”, “7”, and “15” as shown in FIG. The terminal device 2 is connected in the order of the terminal devices 2 corresponding to the terminal numbers “13”, “14”, and “15”.

そして、各端末装置2は、接続先候補との接続を試みる際に、その接続先候補に対して、接続要求通知を送信する。   When each terminal device 2 tries to connect to a connection destination candidate, the terminal device 2 transmits a connection request notification to the connection destination candidate.

[1.4.接続要求通知]
ここで、各端末装置2が接続先候補へ送信する接続要求通知について説明する。図4は、接続要求通知の一例を示す説明図である。本実施形態において、この接続要求通知は、図4に示すように、自装置の端末IDと、自装置の端末番号と、接続先候補の下流右側又は下流左側のいずれ側に接続を要求(希望)するのかを示す情報とを含んだ情報としている。
[1.4. Connection request notification]
Here, a connection request notification transmitted from each terminal device 2 to a connection destination candidate will be described. FIG. 4 is an explanatory diagram illustrating an example of a connection request notification. In this embodiment, as shown in FIG. 4, this connection request notification requests connection to the terminal ID of the own device, the terminal number of the own device, and the downstream right side or the downstream left side of the connection destination candidate (desired ) And information indicating whether or not to perform.

[1.5.ツリーの形成方法等]
ここで、端末番号「1」の端末装置2がツリーに参加する場合のツリーの形成方法の一具体例について、図5及び図6を参照して説明する。図5及び図6は、ツリーの形成方法を示す説明図である。
[1.5. Tree formation method etc.]
Here, a specific example of a method of forming a tree when the terminal device 2 having the terminal number “1” participates in the tree will be described with reference to FIGS. 5 and 6. 5 and 6 are explanatory diagrams showing a tree forming method.

ここでは、理想ツリーが図2に示した状態であり、実際のツリーが図5に示す状態、すなわち、端末番号「4」〜「15」の装置が理想ツリーどおりに実際のツリーに参加しており、端末番号「2」、「3」の端末装置2が実際のツリーに参加していないときに、端末番号「1」の端末装置2が実際のツリーに参加する場合を例に挙げて説明する。   Here, the ideal tree is in the state shown in FIG. 2, and the actual tree is in the state shown in FIG. 5, that is, the devices with the terminal numbers “4” to “15” join the actual tree as the ideal tree. An example in which the terminal device 2 with the terminal number “1” participates in the actual tree when the terminal device 2 with the terminal numbers “2” and “3” does not participate in the actual tree will be described. To do.

(1)まず、端末番号「1」の端末装置2は、図5(a)に示すように、サーバ装置3へ理想ツリー情報要求を送信する。   (1) First, the terminal device 2 with the terminal number “1” transmits an ideal tree information request to the server device 3 as shown in FIG.

(2)サーバ装置3は、この理想ツリー情報要求を受信すると、端末番号「1」の端末装置2へ、現在の理想ツリー情報(図2参照)を送信する。   (2) Upon receiving this ideal tree information request, the server device 3 transmits the current ideal tree information (see FIG. 2) to the terminal device 2 having the terminal number “1”.

次に、端末番号「1」の端末装置2は、この理想ツリー情報を受信すると、この理想ツリー情報から所定の接続順序(図3参照)に基づいて、接続先候補を選択し、その接続先候補へ、接続要求通知を送信する。   Next, when receiving the ideal tree information, the terminal device 2 with the terminal number “1” selects a connection destination candidate from the ideal tree information based on a predetermined connection order (see FIG. 3), and the connection destination. A connection request notification is sent to the candidate.

(3)ここで、端末番号「1」の端末装置2は、上記した所定の接続順序に従って、最初に端末番号「3」の端末装置2へ接続要求通知を送信する。   (3) Here, the terminal device 2 with the terminal number “1” first transmits a connection request notification to the terminal device 2 with the terminal number “3” in accordance with the predetermined connection order described above.

このとき、端末番号「3」の端末装置2は、ツリーに参加していないので、送信した接続要求通知は自装置へ返信されることとなり、端末番号「1」の端末装置2は、自装置から送信した接続要求通知を受信することによって、端末番号「3」の端末装置2との接続が不可能であると判断する。   At this time, since the terminal device 2 with the terminal number “3” does not participate in the tree, the transmitted connection request notification is returned to the own device, and the terminal device 2 with the terminal number “1” By receiving the connection request notification transmitted from, it is determined that connection with the terminal device 2 with the terminal number “3” is impossible.

(4)次に、端末番号「1」の端末装置2は、所定の接続順序に従って、端末番号「2」の端末装置2へ接続要求通知を送信する。   (4) Next, the terminal device 2 with the terminal number “1” transmits a connection request notification to the terminal device 2 with the terminal number “2” in accordance with a predetermined connection order.

このとき、端末番号「2」の端末装置2もツリーに参加していないので、端末番号「1」の端末装置2は、自装置が送信した接続要求通知を受信して、端末番号「2」の端末装置2との接続が不可能であると判断する。   At this time, since the terminal device 2 with the terminal number “2” does not participate in the tree, the terminal device 2 with the terminal number “1” receives the connection request notification transmitted by the own device and receives the terminal number “2”. It is determined that connection with the terminal device 2 is impossible.

(5)次に、端末番号「1」の端末装置2は、所定の接続順序に従って、端末番号「7」の端末装置2へ接続要求通知を送信する。   (5) Next, the terminal device 2 with the terminal number “1” transmits a connection request notification to the terminal device 2 with the terminal number “7” in accordance with a predetermined connection order.

端末番号「7」の端末装置2は、受信した接続要求通知から当該接続要求通知を送信してきた端末装置2の端末番号(ここでは、端末番号「1」)を取得して記憶する。   The terminal device 2 with the terminal number “7” acquires and stores the terminal number (here, the terminal number “1”) of the terminal device 2 that has transmitted the connection request notification from the received connection request notification.

このとき、端末番号「7」の端末装置2は、自装置の下流側に1台の端末装置(ここでは、端末番号「6」の端末装置2)しか接続しておらず、あと1台までは他の端末装置2を接続可能な状態であるため、図5(b)に示すように、端末番号「1」の端末装置2と接続する。   At this time, the terminal device 2 with the terminal number “7” is connected to only one terminal device (here, the terminal device 2 with the terminal number “6”) on the downstream side of the own device, and up to one more. Is in a state in which another terminal device 2 can be connected, so as shown in FIG. 5B, it is connected to the terminal device 2 having the terminal number “1”.

次に、実際のツリーが図5(b)に示した状態のときに、端末番号「3」の端末装置2がツリーに参加する場合の具体例について説明する。   Next, a specific example in which the terminal device 2 with the terminal number “3” participates in the tree when the actual tree is in the state shown in FIG.

(6)端末番号「3」の端末装置2がツリーに参加する場合、この端末番号「3」の端末装置2は、図6(a)に示すように、まず、所定の接続順序に従って、端末番号「7」の端末装置2へ接続要求通知を送信する。   (6) When the terminal device 2 with the terminal number “3” participates in the tree, the terminal device 2 with the terminal number “3”, first, as shown in FIG. A connection request notification is transmitted to the terminal device 2 with the number “7”.

このとき、端末番号「7」の端末装置2は、自装置の下流側に既に2台の端末装置を接続しているため、接続要求通知から取得した端末番号と、既に自装置の下流に接続している端末装置2の端末番号とに基づいて、接続要求通知を送信してきた端末装置2と接続すべきか否かを判定する。   At this time, since the terminal device 2 with the terminal number “7” has already connected two terminal devices on the downstream side of the own device, the terminal number acquired from the connection request notification is already connected to the downstream of the own device. Whether or not to connect to the terminal device 2 that has transmitted the connection request notification is determined based on the terminal number of the terminal device 2 that is currently connected.

ここで、端末番号「7」の端末装置2は、接続要求通知から取得した端末番号が、理想ツリーにおいて、既に自装置の下流側に接続している端末装置2の端末番号よりも上流側にあるべき端末番号であった場合、すなわち、接続要求通知を送信してきた端末装置2の端末番号が、自装置に記憶している自装置の下流に接続した端末装置2の端末番号よりも大きい場合に、接続要求通知を送信してきた端末装置2と接続すべきと判定する。   Here, the terminal device 2 with the terminal number “7” has the terminal number acquired from the connection request notification on the upstream side of the terminal device 2 already connected to the downstream side of the own device in the ideal tree. When the terminal number is to be, that is, when the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the terminal number of the terminal device 2 connected downstream of the own device stored in the own device Then, it is determined that the terminal device 2 that has transmitted the connection request notification should be connected.

このように、本実施形態の情報配信システムSでは、接続要求通知を送信してきた端末装置2を自装置の下流側に接続しても、理想ツリーを作成したときの規定に反しないと判断した場合、又は、接続要求通知を送信してきた端末装置2を自装置の下流側に接続することによって、実際のツリーの構造が理想ツリーの構造に近付くと判断した場合に、その接続要求通知を送信してきた端末装置2と接続すべきと判定するので、結果として構築される実際のツリーが、効率よくコンテンツ情報を配信可能な理想ツリーの構造と近い構造になる。   Thus, in the information distribution system S of the present embodiment, it is determined that even if the terminal device 2 that has transmitted the connection request notification is connected to the downstream side of the own device, it does not violate the rules for creating the ideal tree. If the terminal device 2 that has transmitted the connection request notification is connected to the downstream side of the own device, and it is determined that the actual tree structure approaches the ideal tree structure, the connection request notification is transmitted. Therefore, the actual tree constructed as a result becomes a structure close to the structure of an ideal tree that can efficiently distribute content information.

また、このとき端末番号「7」の端末装置2は、接続要求通知から取得した端末番号が、自装置の下流側に既に接続している端末装置2の端末番号よりも上流側にある端末番号であるときであっても、すなわち、接続要求通知を送信してきた端末装置2の端末番号が、自装置に記憶している自装置の下流に接続した端末装置2の端末番号よりも大きい場合であっても、その接続要求通知から取得した端末番号が、理想ツリーにおいて、自装置の理想位置の下流側に接続される端末装置2の端末番号よりも下流側にある端末番号ではなく、且つ、自装置と同じ端末番号でもないときに、その接続要求通知を送信してきた端末装置2と接続すべきではないと判定する。   At this time, the terminal device 2 with the terminal number “7” has a terminal number that is obtained from the connection request notification and is located upstream from the terminal number of the terminal device 2 that is already connected to the downstream side of the own device. That is, when the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the terminal number of the terminal device 2 connected downstream of the own device stored in the own device. Even if the terminal number acquired from the connection request notification is not a terminal number downstream of the terminal number of the terminal device 2 connected downstream of the ideal position of the own device in the ideal tree, and When the terminal number is not the same as the own apparatus, it is determined that the terminal apparatus 2 that has transmitted the connection request notification should not be connected.

このように、本実施形態では、接続要求通知を受信した端末装置2が、理想ツリーにおいて、自装置よりも上階層に接続されるべき他の端末装置2であって、自装置とは配信経路の異なる離れた位置に接続すべき他の端末装置2から接続要求通知を受信した場合に、その端末装置2と接続すべきでないと判定するので、ネットワーク8における物理的距離が遠い端末装置2同士が接続されることを防止することができ、その結果、ネットワーク8における物理的距離が近い端末装置2同士をツリー内の比較的近い位置に配置することができ、コンテンツ情報の配信効率の高いツリーを形成することができる。   As described above, in the present embodiment, the terminal device 2 that has received the connection request notification is another terminal device 2 that should be connected to a higher hierarchy than the own device in the ideal tree, and the own device is a distribution route. When a connection request notification is received from another terminal device 2 that should be connected to different distant positions, it is determined that the terminal device 2 should not be connected. Can be prevented, and as a result, the terminal devices 2 having a short physical distance in the network 8 can be arranged at relatively close positions in the tree, and the content information distribution efficiency is high. Can be formed.

(7)ここでは、端末番号「7」の端末装置2は、図6(a)に示すように、接続要求通知を送信してきた端末装置2の端末番号「3」の方が、既に下流に接続している端末装置2の端末番号「1」よりも大きいため、図6(b)に示すように、端末番号「1」の端末装置2との接続を切断して、(8)接続要求通知を送信してきた端末番号「3」の端末装置2と接続する。   (7) Here, as shown in FIG. 6A, the terminal device 2 with the terminal number “7” has the terminal number “3” of the terminal device 2 that has transmitted the connection request notification already downstream. Since it is larger than the terminal number “1” of the connected terminal device 2, as shown in FIG. 6B, the connection with the terminal device 2 with the terminal number “1” is disconnected and (8) a connection request The terminal device 2 with the terminal number “3” that has transmitted the notification is connected.

このように、本実施形態では、接続要求通知を受信した端末装置2が、自装置の下流側に2台の端末装置2を接続している場合であっても、自装置の下流側に既に接続している端末装置2との接続を切断して、接続要求通知を送信してきた他の端末装置2を自装置の下流側に接続した方が、実際のツリーの構造が理想ツリーの構造に近付くと判断した場合には、自装置の下流側に既に接続している端末装置2との接続を切断して、接続要求通知を送信してきた他の端末装置2を自装置の下流側に接続するので、コンテンツ情報をより効率的に配信できるような構造となるように実際のツリーを再形成することができる。   Thus, in the present embodiment, even when the terminal device 2 that has received the connection request notification has connected two terminal devices 2 on the downstream side of the own device, the terminal device 2 is already on the downstream side of the own device. If the connection with the connected terminal device 2 is disconnected and the other terminal device 2 that has transmitted the connection request notification is connected to the downstream side of the own device, the actual tree structure becomes the ideal tree structure. If it is determined that the terminal device is approaching, the connection with the terminal device 2 already connected to the downstream side of the own device is disconnected, and the other terminal device 2 that has transmitted the connection request notification is connected to the downstream side of the own device. Therefore, the actual tree can be reconfigured so that the content information can be distributed more efficiently.

(9)その後、端末番号「7」の端末装置2との接続を切断された端末番号「1」の端末装置2は、所定の接続順序に従って、図6(c)に示すように、端末番号「3」の端末装置2へ接続要求通知を送信し、この端末番号「3」の端末装置2と接続する。   (9) After that, the terminal device 2 with the terminal number “1” disconnected from the terminal device 2 with the terminal number “7” follows the predetermined connection order as shown in FIG. A connection request notification is transmitted to the terminal device 2 with “3”, and the terminal device 2 with the terminal number “3” is connected.

その結果、端末番号「15」の装置(情報配信装置1)と端末番号「7」、「3」、「1」の各端末装置2とが一列に接続されて、理想ツリーと同じコンテンツ情報の配信経路が形成される。   As a result, the device with the terminal number “15” (information distribution device 1) and the terminal devices 2 with the terminal numbers “7”, “3”, and “1” are connected in a line, and the same content information as the ideal tree is obtained. A delivery route is formed.

さらに、本実施形態の情報配信システムSでは、上記のように形成した実際のツリーを、その構造が理想ツリーの構造と近くなるように、定期的に再形成するようにしている。   Furthermore, in the information distribution system S of the present embodiment, the actual tree formed as described above is periodically reconfigured so that the structure is close to the structure of the ideal tree.

すなわち、本実施形態では、各端末装置2が、上記のようにツリーに参加した後、定期的にツリーから離脱し、理想ツリー情報に基づいて、所定の接続順序に従って、接続先候補を選択し、当該選択した接続先候補に対して順次接続を試み、接続可能な接続先候補があったときに、その接続先候補と接続するように構成している。   That is, in this embodiment, after each terminal device 2 participates in the tree as described above, it periodically leaves the tree, and selects a connection destination candidate according to a predetermined connection order based on the ideal tree information. Then, the connection destination candidates are sequentially tried to be connected, and when there is a connection destination candidate that can be connected, the connection destination candidate is connected.

そのため、この情報配信システムSでは、実際のツリーの構造がより一層理想ツリーの構造と近付くように実際のツリーを定期的に再形成することができる。   For this reason, in this information distribution system S, the actual tree can be periodically reconfigured so that the actual tree structure is closer to the ideal tree structure.

[1.6.端末装置の構成等]
次に、本実施形態における端末装置2の構成について説明する。図7は、本実施形態に係る情報配信システムSにおける端末装置2の概略構成を示す図である。
[1.6. Configuration of terminal device]
Next, the configuration of the terminal device 2 in the present embodiment will be described. FIG. 7 is a diagram illustrating a schematic configuration of the terminal device 2 in the information distribution system S according to the present embodiment.

端末装置2は、専用のコンピュータの他、一般のパーソナルコンピュータを適用可能であり、図7に示すように、制御部11と、サーバ装置3から受信した理想ツリー情報や自装置の下流側に接続している他の端末装置2及び自装置の装置番号の他、情報配信装置1や自装置の上流に接続している他の端末装置2から取得したコンテンツ情報等を記憶する記憶部12と、他の装置から取得したコンテンツ情報を一時的に記憶するバッファメモリ13と、記憶部12やバッファメモリ13に記憶したコンテンツ情報を順次取り出してデコードするデコーダ部14と、このデコーダ部14によってデコードされたコンテンツ情報のうち映像情報を後述の表示部16で表示可能な情報に変換処理する映像処理部15と、この映像処理部15からの出力に基づいて映像を表示する液晶表示装置(LCD)などの表示部16と、デコーダ部14によってデコードされたコンテンツ情報のうち音声情報を後述のスピーカ18で音波として出力可能な情報に変換処理する音声処理部17と、この音声処理部17からの出力に基づいて音波を出力するスピーカ18と、マウス及びキーボードなどからなる入力部19と、ネットワーク8を介して、他の装置と通信するための通信部20とを備えている。   The terminal device 2 can be a general personal computer in addition to a dedicated computer. As shown in FIG. 7, the terminal device 2 is connected to the control unit 11 and the ideal tree information received from the server device 3 and the downstream side of the own device. A storage unit 12 for storing content information obtained from the other terminal device 2 connected to the upstream side of the information distribution device 1 or the own device, in addition to the other terminal device 2 and the device number of the own device; A buffer memory 13 that temporarily stores content information acquired from other devices, a decoder unit 14 that sequentially extracts and decodes the content information stored in the storage unit 12 and the buffer memory 13, and the decoder unit 14 decodes the content information. Among the content information, the video processing unit 15 that converts the video information into information that can be displayed on the display unit 16 described later, and the output from the video processing unit 15. The display unit 16 such as a liquid crystal display device (LCD) that displays video based on the information, and the audio information that is converted from the content information decoded by the decoder unit 14 into information that can be output as sound waves by the speaker 18 described later Communication for communicating with other devices via the processing unit 17, a speaker 18 that outputs sound waves based on the output from the audio processing unit 17, an input unit 19 including a mouse and a keyboard, and the like, and the network 8. Part 20.

この端末装置2では、上記記憶部12がツリーにおいて自装置の下流側に接続している他の端末装置2の理想位置の情報を示す端末番号を記憶する下流情報記憶手段に相当し、デコーダ部14、映像処理部15、音声処理部17、表示部16、スピーカ18がそれぞれ協働して、コンテンツ情報を再生する再生手段として機能する。なお、制御部11、記憶部12、バッファメモリ13、デコーダ部14、通信部20は、システムバス21を介して相互に接続されている。   In the terminal device 2, the storage unit 12 corresponds to a downstream information storage unit that stores a terminal number indicating information on an ideal position of another terminal device 2 connected to the downstream side of the own device in the tree. 14, the video processing unit 15, the audio processing unit 17, the display unit 16, and the speaker 18 cooperate to function as a playback unit that plays back content information. Note that the control unit 11, the storage unit 12, the buffer memory 13, the decoder unit 14, and the communication unit 20 are connected to each other via a system bus 21.

制御部11は、CPU(Central Processing Unit)、不揮発性メモリ、及び内部RAM(Random Access Memory)から構成される。この不揮発性メモリは、情報の書き換えが可能なフラッシュメモリ(Flash Memory)等により構成しており、情報配信システムSに参加して、コンテンツ情報を送受信するためのプログラムを含む情報処理プログラムを格納しており、CPUは不揮発性メモリに記憶されている情報処理プログラムを読み出して実行することによって、後述の取得処理手段、接続処理手段、判定手段として機能する。   The control unit 11 includes a CPU (Central Processing Unit), a nonvolatile memory, and an internal RAM (Random Access Memory). This nonvolatile memory is composed of a flash memory that can rewrite information, and stores an information processing program including a program for participating in the information distribution system S to transmit and receive content information. The CPU functions as an acquisition processing unit, a connection processing unit, and a determination unit, which will be described later, by reading and executing an information processing program stored in the nonvolatile memory.

なお、この情報処理プログラムは、例えば、インターネットに接続されたサーバ(図示略)等から、通信部20を介して、制御部11の不揮発性メモリにダウンロードされるようにしてもよく、又CD−ROM等の記録媒体に記録されてから図示しない記録媒体ドライブを介して、制御部11の不揮発性メモリに読み込まれるようにしてもよい。   The information processing program may be downloaded to a non-volatile memory of the control unit 11 from a server (not shown) connected to the Internet via the communication unit 20, for example. After being recorded on a recording medium such as a ROM, it may be read into the nonvolatile memory of the control unit 11 via a recording medium drive (not shown).

[1.7.サーバ装置の構成等]
次に、サーバ装置3の構成について説明する。図8は、本実施形態に係る情報配信システムSにおけるサーバ装置3の概略構成を示す図である。
[1.7. Server device configuration]
Next, the configuration of the server device 3 will be described. FIG. 8 is a diagram illustrating a schematic configuration of the server device 3 in the information distribution system S according to the present embodiment.

サーバ装置3は、一般のサーバコンピュータを適用可能であり、図8に示すように、制御部30と、情報配信システムSに参加した端末装置2の各端末IDと端末番号とを対応させた情報等を記憶する記憶部31と、理想ツリー情報を記憶する理想ツリー情報データベース32と、マウスやキーボード等からなる入力部33と、ネットワーク8を介して、他の装置と通信するための通信部34とを備えている。   The server device 3 is applicable to a general server computer. As shown in FIG. 8, as shown in FIG. 8, information that associates the control unit 30 with each terminal ID and terminal number of the terminal device 2 that participates in the information distribution system S. For example, an ideal tree information database 32 for storing ideal tree information, an input unit 33 including a mouse and a keyboard, and a communication unit 34 for communicating with other devices via the network 8. And.

本実施形態では、上記理想ツリー情報データベース32が、ツリーにおける複数の端末装置2のそれぞれの理想位置を規定した理想ツリーの情報を記憶する記憶手段に相当する。なお、制御部30、記憶部31、理想ツリー情報データベース32、通信部34は、システムバス35を介して相互に接続されている。   In the present embodiment, the ideal tree information database 32 corresponds to a storage unit that stores information on an ideal tree that defines the ideal position of each of the plurality of terminal devices 2 in the tree. The control unit 30, the storage unit 31, the ideal tree information database 32, and the communication unit 34 are connected to each other via a system bus 35.

制御部30は、CPU(Central Processing Unit)、不揮発性メモリ、及び内部RAM(Random Access Memory)から構成される。この不揮発性メモリは、情報の書き換えが可能なフラッシュメモリ(Flash Memory)等により構成しており、情報配信システムSに参加する端末装置2のそれぞれから取得した当該端末装置2が使用している通信回線に関する情報や、その端末装置2の情報処理能力に関する情報、使用しているインターネットプロバイダに関する情報等に基づいて、理想ツリーを形成するためのプログラムを含む情報処理プログラム等を格納しており、CPUは不揮発性メモリに記憶されている情報処理プログラムを読み出して実行することによって、理想ツリーの作成や、理想ツリー情報の送信、各端末装置2からの端末番号の取得等を実行する。   The control unit 30 includes a CPU (Central Processing Unit), a nonvolatile memory, and an internal RAM (Random Access Memory). This nonvolatile memory is composed of a flash memory that can rewrite information, and the communication used by the terminal device 2 acquired from each of the terminal devices 2 participating in the information distribution system S. An information processing program including a program for forming an ideal tree is stored based on information on the line, information on the information processing capability of the terminal device 2, information on the Internet provider being used, and the like. Reads and executes an information processing program stored in the nonvolatile memory, thereby executing creation of an ideal tree, transmission of ideal tree information, acquisition of a terminal number from each terminal device 2, and the like.

なお、この情報処理プログラムは、例えば、インターネットに接続された他のサーバ(図示せず)から、通信部34を介して、制御部30の不揮発性メモリにダウンロードされるようにしてもよく、又CD−ROM等の記録媒体に記録されてから図示しない記録媒体ドライブを介して、制御部30の不揮発性メモリに読み込まれるようにしてもよい。   The information processing program may be downloaded to the nonvolatile memory of the control unit 30 from another server (not shown) connected to the Internet via the communication unit 34, for example. After being recorded on a recording medium such as a CD-ROM, it may be read into the nonvolatile memory of the control unit 30 via a recording medium drive (not shown).

また、本実施形態では、情報配信装置1として、端末装置2へツリーを介してコンテンツ情報を配信する情報配信システムに使用される一般的な配信サーバを用いることができるため、情報配信装置1の具体的な構成については、その説明を省略する。   Moreover, in this embodiment, since the general delivery server used for the information delivery system which delivers content information to the terminal device 2 via a tree can be used as the information delivery apparatus 1, the information delivery apparatus 1 The description of a specific configuration is omitted.

[1.8.端末装置の動作]
ここで、端末装置2の動作について説明する。ここでは、端末装置2がツリーに参加するときに実行するときの動作について説明し、その他の動作については、その説明を省略する。
[1.8. Operation of terminal device]
Here, the operation of the terminal device 2 will be described. Here, the operation when the terminal device 2 executes when participating in the tree will be described, and the description of other operations will be omitted.

端末装置2の制御部11は、情報配信システムSに参加するための情報処理プログラムの実行を開始すると、図9に示す接続開始処理を開始する。   When starting the execution of the information processing program for participating in the information distribution system S, the control unit 11 of the terminal device 2 starts the connection start process shown in FIG.

[1.8.1.接続開始処理]
端末装置2の制御部11(以下、単に「制御部11」という。)は、接続開始処理を開始すると、図9に示すように、まず、今回の接続が当該情報配信システムSへの初参加であるか、又は期限切れであるか否かを判断する(ステップS10)。
[1.8.1. Connection start processing]
When the control unit 11 of the terminal device 2 (hereinafter simply referred to as “control unit 11”) starts the connection start process, first, as shown in FIG. 9, the current connection is the first participation in the information distribution system S for the first time. Or whether it has expired (step S10).

ここで、期限切れとは、各端末装置2がツリーを定期的に離脱する時刻になったことを意味している。   Here, the term “expired” means that the time has come for each terminal device 2 to leave the tree periodically.

このステップS10において、制御部11は、初参加であるか、又は期限切れであると判断した場合に(ステップS10:Yes)、処理をステップS11へ移し、初参加でも期限切れでもないと判断した場合に(ステップS10:No)処理をステップS12へ移す。   In this step S10, when the control unit 11 determines that it is the first participation or has expired (step S10: Yes), the process proceeds to step S11, and when it is determined that neither the first participation nor the expiration has occurred. (Step S10: No) A process is moved to step S12.

ステップS11において、制御部11は、サーバ装置3から理想ツリー情報を取得する処理を行い、その後、処理をステップS12へ移す。このように制御部11は、ツリーにおける複数の端末装置2の理想位置を規定した理想ツリーに関する理想ツリー情報を取得する取得処理手段として機能する。   In step S11, the control part 11 performs the process which acquires ideal tree information from the server apparatus 3, and moves a process to step S12 after that. In this way, the control unit 11 functions as an acquisition processing unit that acquires ideal tree information regarding an ideal tree that defines the ideal positions of the plurality of terminal devices 2 in the tree.

ステップS12において、制御部11は、理想ツリー情報に基づいた接続先候補を選択する処理を行い、その後、処理をステップS13へ移す。   In step S12, the control unit 11 performs a process of selecting connection destination candidates based on the ideal tree information, and then moves the process to step S13.

次に、ステップS13において、制御部11は、ステップS12で選択した接続先候補へ接続要求通知を送信して接続を試みる処理を行い、接続可能な端末装置2があれば、その端末装置2に接続する処理を行い、その後、処理をステップS14へ移す。   Next, in step S13, the control unit 11 performs a process of trying to connect by sending a connection request notification to the connection destination candidate selected in step S12. If there is a connectable terminal device 2, the control unit 11 A process of connecting is performed, and then the process proceeds to step S14.

次に、ステップS14において、制御部11は、接続が成功したか否かの判断を行い、成功したと判断した場合に(ステップS14:Yes)、処理をステップS15へ移し、失敗したと判断した場合に(ステップ:No)、処理をステップS10へ移す。   Next, in step S14, the control unit 11 determines whether or not the connection is successful. When it is determined that the connection is successful (step S14: Yes), the process proceeds to step S15 and determines that the connection has failed. If (step: No), the process proceeds to step S10.

このように、制御部11は、ツリーにおける複数の端末装置2の理想位置を規定した理想ツリーのうち、自装置の理想位置に対して予め定められた接続基準に従った順番(図3参照)で接続先候補の端末装置に対して接続を順次試み、接続可能な接続先候補があったときに、当該接続先候補と接続する接続処理手段として機能する。   In this way, the control unit 11 orders in accordance with a connection criterion that is predetermined with respect to the ideal position of the own device among the ideal trees that define the ideal positions of the plurality of terminal devices 2 in the tree (see FIG. 3). Then, when the connection destination candidate is sequentially tried and there is a connection destination candidate that can be connected, it functions as a connection processing means for connecting to the connection destination candidate.

ステップS15において、制御部11は、自装置の上流に接続した端末装置2との接続が維持できているか否かの判断を行い、維持できていると判断した場合に(ステップS15:Yes)、処理をステップS16へ移し、維持できていないと判断した場合に(ステップS15:No)、処理をステップS19へ移す。   In step S15, the control unit 11 determines whether or not the connection with the terminal device 2 connected to the upstream side of the own device can be maintained, and when determining that the connection can be maintained (step S15: Yes), The process proceeds to step S16, and when it is determined that the process cannot be maintained (step S15: No), the process proceeds to step S19.

ステップS16において、制御部11は、接続待受処理を実行し、その後、処理をステップS17へ移す。この接続待受処理については、後に詳述する。   In step S16, the control unit 11 executes a connection standby process, and then moves the process to step S17. This connection standby process will be described in detail later.

次に、ステップS17において、制御部11は、定期処理の契機であるか否かの判断を行い、定期処理の契機であると判断した場合に(ステップS17:Yes)、処理をステップS18へ移し、定期処理の契機でないと判断した場合に(ステップS17:No)、処理をステップS15へ移す。   Next, in step S17, the control unit 11 determines whether or not it is a trigger for periodic processing, and if it is determined that it is a trigger for periodic processing (step S17: Yes), the process proceeds to step S18. If it is determined that it is not an opportunity for periodic processing (step S17: No), the process proceeds to step S15.

このとき、制御部11は、各端末装置2がツリーを定期的に離脱する時刻になったときに、定期処理の契機であると判断する。   At this time, the control part 11 judges that it is an opportunity of a periodic process, when the time which each terminal device 2 leaves | separates a tree regularly comes.

ステップS18において、制御部11は、定期処理を実行し、その後、処理をステップS15へ移す。この定期処理については、後に詳述する。   In step S18, the control part 11 performs a regular process, and moves a process to step S15 after that. This periodic process will be described in detail later.

また、ステップS19において、制御部11は、終了指示があるか否かを判断し、終了指示があると判断した場合に(ステップS19:Yes)、この接続開始処理を終了し、終了指示がないと判断した場合に(ステップS19:No)、処理をステップS10へ移す。   Further, in step S19, the control unit 11 determines whether or not there is an end instruction, and when it is determined that there is an end instruction (step S19: Yes), this connection start process is ended and there is no end instruction. Is determined (step S19: No), the process proceeds to step S10.

このとき、制御部11は、自装置のユーザが入力部19を操作して、情報配信システムSを利用するための情報処理プログラムの終了を指示した場合に、終了指示があると判断する。   At this time, the control unit 11 determines that there is an end instruction when the user of the own apparatus operates the input unit 19 to instruct the end of the information processing program for using the information distribution system S.

[1.8.2.接続待受処理]
次に、制御部11が、図9のステップS16で実行する接続待受処理について、図10を参照して説明する。
[1.8.2. Connection standby processing]
Next, the connection standby process executed by the control unit 11 in step S16 of FIG. 9 will be described with reference to FIG.

この接続待受処理を開始すると、制御部11は、図10に示すように、まず、他の端末装置2から接続要求通知を受信したか否かを判断し(ステップS20)、接続要求通知を受信したと判断した場合に(ステップS20:Yes)、処理をステップS21へ移し、接続要求通知を受信していないと判断した場合に(ステップS20:No)、この接続待受処理を終了する。   When this connection standby process is started, as shown in FIG. 10, the control unit 11 first determines whether or not a connection request notification has been received from another terminal device 2 (step S20), and sends a connection request notification. If it is determined that it has been received (step S20: Yes), the process proceeds to step S21. If it is determined that a connection request notification has not been received (step S20: No), this connection standby process is terminated.

また、ステップS21において、制御部11は、要求された下流に端末装置があるか否かの判断を行う。   In step S21, the control unit 11 determines whether there is a terminal device in the requested downstream.

ここで、制御部11は、受信した接続要求通知から取得した接続先に関する情報に基づいて、接続要求通知を送信してきた端末装置2が、自装置の下流における左側への接続を要求しているのか、右側への接続を要求しているのかを判断し、当該要求されている側の下流に接続している端末装置2があるか否かの判断を行う。   Here, based on the information regarding the connection destination acquired from the received connection request notification, the control unit 11 requests the terminal device 2 that has transmitted the connection request notification to connect to the left side downstream of the own device. Whether or not there is a terminal device 2 connected downstream of the requested side.

そして、制御部11は、接続を要求されている側(右or左)の下流に接続している端末装置2があると判断した場合に(ステップS21:Yes)、処理をステップS22へ移し、接続を要求されている側(右or左)の下流に接続している端末装置2がないと判断した場合に(ステップS21:No)、処理をステップS26へ移す。   If the control unit 11 determines that there is a terminal device 2 connected downstream of the side requested to be connected (right or left) (step S21: Yes), the process proceeds to step S22. If it is determined that there is no terminal device 2 connected downstream of the connection requested side (right or left) (step S21: No), the process proceeds to step S26.

また、ステップS22において、制御部11は、理想ツリー情報から、要求された下流(右or左)側の端末番号を確認する処理を行い、その後、処理をステップS23へ移す。   In step S22, the control unit 11 performs a process of confirming the requested downstream (right or left) terminal number from the ideal tree information, and then moves the process to step S23.

次に、ステップS23において、制御部11は、自装置の下流に接続している端末装置2(接続中下流端末)の端末番号よりも、接続要求通知を送信してきた端末装置2の端末番号の方が大きいか否かの判断を行い、接続中下流端末の端末番号よりも、接続要求通知を送信してきた端末装置2の端末番号の方が大きいと判断した場合に(ステップS23:Yes)、処理をステップS24へ移し、接続要求通知を送信してきた端末装置2の端末番号が、接続中下流端末の端末番号以下であると判断した場合に(ステップS24:No)、この接続待受処理を終了する。   Next, in step S23, the control unit 11 determines the terminal number of the terminal device 2 that has transmitted the connection request notification from the terminal number of the terminal device 2 (downstream terminal being connected) connected downstream of the own device. If it is determined that the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the terminal number of the currently connected downstream terminal (step S23: Yes), When the process proceeds to step S24 and it is determined that the terminal number of the terminal device 2 that has transmitted the connection request notification is equal to or less than the terminal number of the downstream terminal being connected (step S24: No), this connection waiting process is performed. finish.

そして、ステップS24において、制御部11は、接続要求通知を送信してきた端末装置2の端末番号が、理想ツリーにおける自装置の下流に接続すべき端末装置2(理想下流端末)の端末番号よりも大きいか否かを判断し、接続要求通知を送信してきた端末装置2の端末番号が、理想下流端末の端末番号よりも大きいと判断した場合に(ステップS24:Yes)、この接続待受処理を終了し、接続要求通知を送信してきた端末装置2の端末番号が、理想下流端末の端末番号以下であると判断した場合に(ステップS24:No)、処理をステップS25へ移す。   In step S24, the control unit 11 determines that the terminal number of the terminal device 2 that has transmitted the connection request notification is greater than the terminal number of the terminal device 2 (ideal downstream terminal) that should be connected downstream of the own device in the ideal tree. When it is determined whether the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the terminal number of the ideal downstream terminal (step S24: Yes), the connection waiting process is performed. When it is determined that the terminal number of the terminal device 2 that has finished and transmitted the connection request notification is equal to or less than the terminal number of the ideal downstream terminal (step S24: No), the process proceeds to step S25.

このステップS25において、制御部11は、接続中下流端末との接続を切断する処理を行う。そして、ステップS26において、制御部11は、接続要求通知を送信してきた端末装置2を下流に接続する処理を行い、その後、この接続待受処理を終了する。   In step S25, the control unit 11 performs a process of disconnecting the connection with the downstream terminal being connected. In step S <b> 26, the control unit 11 performs processing for connecting the terminal device 2 that has transmitted the connection request notification downstream, and thereafter ends this connection standby processing.

このように、制御部11は、他の端末装置2から接続の要求があったとき、当該接続の要求を行った他の端末装置2の理想位置と自装置に記憶した自装置の下流に接続している他の端末装置2の理想位置とを比較して、接続の要求を行った他の端末装置2と接続すべきか否かを判定する判定手段として機能すると共に、この判定手段により接続の要求を行った他の端末装置2と接続すべきと判定されると、当該接続の要求を行った他の端末装置2との接続を行い、既に下流に接続している他の端末装置2との接続を切断する下流接続処理手段としても機能する。   In this way, when there is a connection request from another terminal device 2, the control unit 11 connects to the ideal position of the other terminal device 2 that made the connection request and the downstream of the own device stored in the own device. Compared with the ideal position of the other terminal device 2 that is currently operating, the determination device determines whether or not to connect to the other terminal device 2 that has requested connection. When it is determined that the connection to the other terminal device 2 that has made the request is made, the connection to the other terminal device 2 that has requested the connection is made, and the other terminal device 2 that has already been connected downstream It also functions as a downstream connection processing means for disconnecting the connection.

[1.8.3.定期処理]
次に、制御部11が、図9のステップS18で実行する定期処理について、図11を参照して説明する。
[1.8.3. Periodic processing]
Next, the periodic process executed by the control unit 11 in step S18 of FIG. 9 will be described with reference to FIG.

この定期処理を開始すると、制御部11は、図11に示すように、まず、サーバ装置3からその時点での理想ツリー情報を取得する処理を行い(ステップS30)、その後、処理をステップS31へ移す。   When this periodic process is started, as shown in FIG. 11, the control unit 11 first performs a process of acquiring the ideal tree information at that time from the server device 3 (step S30), and then the process proceeds to step S31. Transfer.

次に、ステップS31において、制御部11は、次の理想ツリーにおける接続先となる端末装置2(以下、「理想接続先候補」という。)に接続要求通知を送信して、その理想接続先候補に接続を試みる処理を行い、その後、処理をステップS32へ移す。   Next, in step S31, the control unit 11 transmits a connection request notification to the terminal device 2 (hereinafter referred to as “ideal connection destination candidate”) that is a connection destination in the next ideal tree, and the ideal connection destination candidate. The process which tries to connect to is performed, and then the process proceeds to step S32.

ステップS32において、制御部11は、次の理想接続先候補との接続が成功したか否かを判断し、成功したと判断した場合に(ステップS32:Yes)、処理をステップS33へ移し、失敗したと判断した場合に(ステップS32:No)、この定期処理を終了する。   In step S32, the control unit 11 determines whether or not the connection with the next ideal connection destination candidate is successful. If the control unit 11 determines that the connection is successful (step S32: Yes), the process proceeds to step S33 and fails. When it is determined that it has been done (step S32: No), this periodic process is terminated.

また、ステップS33において、制御部11は、この定期処理を開始する前から接続していた上流の端末装置2(接続中上流端末)を切断する処理を行い、その後、この定期処理を終了する。   In step S33, the control unit 11 performs a process of disconnecting the upstream terminal device 2 (the connected upstream terminal) that has been connected before the regular process is started, and thereafter ends the regular process.

[1.9.サーバ装置の動作]
ここで、サーバ装置3の動作について説明する。ここでは、サーバ装置3が理想ツリー情報を送信するときの動作について説明し、その他の動作については、その説明を省略する。
[1.9. Server device operation]
Here, the operation of the server device 3 will be described. Here, the operation when the server device 3 transmits the ideal tree information will be described, and the description of the other operations will be omitted.

[1.9.1サーバ処理]
サーバ装置3の制御部(以下、単に「制御部30」という。)は、電源が投入されると、図12に示すサーバ処理を開始する。このサーバ処理を開始すると、制御部30は、図12に示すように、まず、端末装置2から理想ツリー情報の要求を受信したか否かの判断を行い(ステップS40)、受信したと判断した場合に(ステップS40:Yes)、処理をステップS41へ移し、受信していないと判断した場合に(ステップS40:No)、処理をステップS42へ移す。
[1.9.1 Server processing]
When the power is turned on, the control unit of the server device 3 (hereinafter simply referred to as “control unit 30”) starts the server process shown in FIG. When this server processing is started, as shown in FIG. 12, the control unit 30 first determines whether or not a request for ideal tree information has been received from the terminal device 2 (step S40), and determines that it has been received. If so (step S40: Yes), the process proceeds to step S41, and if it is determined that it has not been received (step S40: No), the process proceeds to step S42.

そして、ステップS41において、制御部30は、理想ツリー情報を要求してきた端末装置2へ理想ツリー情報を送信する処理を行い、その後、処理をステップS42へ移す。   In step S41, the control unit 30 performs a process of transmitting the ideal tree information to the terminal device 2 that has requested the ideal tree information, and then moves the process to step S42.

ステップS42において、制御部30は、終了指示があるか否かを判断し、終了指示があると判断した場合に(ステップS42:Yes)、このサーバ処理を終了し、終了指示がないと判断した場合に(ステップS42:No)、処理をステップS40へ移す。   In step S42, the control unit 30 determines whether or not there is an end instruction. When it is determined that there is an end instruction (step S42: Yes), the control unit 30 ends the server process and determines that there is no end instruction. If so (step S42: No), the process proceeds to step S40.

このとき、制御部30は、自装置のユーザ(オペレータ)が入力部33を操作して、当該サーバ装置3の動作終了を指示した場合に、終了指示があると判断する。   At this time, the control unit 30 determines that there is an end instruction when the user (operator) of the own apparatus operates the input unit 33 to instruct the end of the operation of the server device 3.

[2.第2実施形態]
次に、本発明の第2実施形態について説明する。本実施形態の情報配信システムSは、その基本的構成に関して、図1に示した第1実施形態の情報配信システムSと同様であるため、ここでは、その説明を省略する。なお、以下の説明において、第1実施形態と同様の構成要件については、同一の符号を付して説明する。
[2. Second Embodiment]
Next, a second embodiment of the present invention will be described. The information distribution system S of the present embodiment is the same as the information distribution system S of the first embodiment shown in FIG. 1 with respect to its basic configuration, and therefore the description thereof is omitted here. In the following description, the same components as those in the first embodiment will be described with the same reference numerals.

本実施形態に係る情報配信システムSでは、サーバ装置3が理想ツリー情報と、実際のツリーにおける各端末装置2の接続態様を示す情報(以下、「接続ツリー情報」という。)とを管理しており、各端末装置2がツリーに参加するときに、サーバ装置3から理想ツリー情報に基づいて決定されたツリーにおける接続先候補を送信してもらい、その接続先候補に対して接続を試みるように構成している。   In the information distribution system S according to the present embodiment, the server device 3 manages ideal tree information and information indicating the connection mode of each terminal device 2 in the actual tree (hereinafter referred to as “connection tree information”). When each terminal device 2 participates in the tree, the server device 3 transmits a connection destination candidate in the tree determined based on the ideal tree information, and tries to connect to the connection destination candidate. It is composed.

すなわち、各端末装置2は、ツリーに参加する際、まず、サーバ装置3へ、後に詳述する接続先候補紹介要求を送信する。   That is, when each terminal device 2 participates in the tree, first, the terminal device 2 transmits to the server device 3 a connection destination candidate introduction request described in detail later.

そして、サーバ装置3は、この接続先紹介要求を受信すると、当該接続先紹介要求を送信してきた端末装置2へ接続先候補の情報等を含む、後に詳述する接続先紹介応答を送信する。   Then, when receiving the connection destination introduction request, the server device 3 transmits a connection destination introduction response, which will be described in detail later, including information on connection destination candidates to the terminal device 2 that has transmitted the connection destination introduction request.

このとき、サーバ装置3は、自装置が管理している実際のツリーにおける各端末装置2の接続形態と、理想ツリー情報とに基づいて、現在、ツリーに参加している端末装置2の中から、所定の接続順序(図3参照)に従って、接続先候補を選択し、接続先紹介要求を送信してきた端末装置2へ送信する。   At this time, the server device 3 selects the terminal device 2 currently participating in the tree based on the connection form of each terminal device 2 in the actual tree managed by the own device and the ideal tree information. In accordance with a predetermined connection order (see FIG. 3), a connection destination candidate is selected and transmitted to the terminal device 2 that has transmitted the connection destination introduction request.

さらに、この情報配信システムSでは、各端末装置2がツリーに参加するときに、サーバ装置3から、理想ツリーにおける自装置の下流に接続すべき端末装置2の端末番号を取得して記憶するように構成している。   Further, in this information distribution system S, when each terminal device 2 participates in the tree, the terminal number of the terminal device 2 to be connected to the downstream of the own device in the ideal tree is acquired and stored from the server device 3. It is configured.

そして、既にツリーに参加している端末装置2は、他の端末装置2からの接続要求通知を受信すると、当該接続要求通知を送信してきた端末装置2の端末番号と、自装置に記憶している理想ツリー情報における自装置の下流に接続すべき端末装置2の端末番号とを比較して、その接続要求通知を送信してきた端末装置2と接続するか否かを判定するように構成している。   When the terminal device 2 already participating in the tree receives a connection request notification from another terminal device 2, the terminal device 2 stores the terminal number of the terminal device 2 that has transmitted the connection request notification and its own device. It is configured to compare with the terminal number of the terminal device 2 to be connected downstream of the own device in the ideal tree information, and determine whether or not to connect to the terminal device 2 that has transmitted the connection request notification. Yes.

かかる構成とすることにより、ツリーに参加しようとする端末装置2は、理想ツリー上には存在するが、実際のツリーには存在しない他の端末装置2への接続を試みる必要がなく、その分、端末装置2の処理負荷を低減することができるので、比較的情報処理能力の低い端末装置2であっても、この情報配信システムSを利用して、効率よくコンテンツ情報を取得することができる。   By adopting such a configuration, the terminal device 2 that intends to participate in the tree exists on the ideal tree, but there is no need to attempt connection to another terminal device 2 that does not exist in the actual tree. Since the processing load on the terminal device 2 can be reduced, even the terminal device 2 having a relatively low information processing capability can efficiently acquire content information using the information distribution system S. .

しかも、ツリーに参加している端末装置2は、理想ツリーにおける自装置の端末番号は管理していないが、理想ツリーにおける自装置の下流に接続すべき端末装置2の端末番号は記憶して管理しているので、他の端末装置2からの接続要求通知を受信した場合に、その端末装置2を自装置の下流側に接続することによって、ツリーの構造が理想ツリーの構造に近付くと判断したときに、その端末装置2を接続する。   Moreover, the terminal device 2 participating in the tree does not manage the terminal number of the own device in the ideal tree, but stores and manages the terminal number of the terminal device 2 to be connected downstream of the own device in the ideal tree. Therefore, when a connection request notification from another terminal device 2 is received, it is determined that the tree structure approaches the ideal tree structure by connecting the terminal device 2 to the downstream side of the own device. Sometimes, the terminal device 2 is connected.

そのため、この情報配信システムSでは、各端末装置2がツリーに参加する度毎に、実際のツリーの構造が理想ツリーの構造に近付くことになり、効率的にコンテンツ情報を配信可能なツリーを形成することができる。   Therefore, in this information distribution system S, each time each terminal device 2 participates in the tree, the actual tree structure approaches the ideal tree structure, and a tree capable of efficiently distributing content information is formed. can do.

[2.1.端末装置の構成等]
本実施形態の情報配信システムSにおける端末装置2は、その基本的構成については、図7に示した第1実施形態の端末装置2と同様の構成であるが、記憶部12に記憶している情報が、第1実施形態における端末装置2とは異なる。
[2.1. Configuration of terminal device]
The terminal device 2 in the information distribution system S of the present embodiment has the same basic configuration as the terminal device 2 of the first embodiment illustrated in FIG. 7, but is stored in the storage unit 12. The information is different from the terminal device 2 in the first embodiment.

すなわち、この端末装置2の記憶部12には、端末装置2がツリーへ参加するときに、サーバ装置3に対して接続先候補の紹介を要求する接続先紹介要求を送信するためのプログラム、この接続先紹介要求に対してサーバ装置3から通知(送信)される接続先紹介応答を受信して保存するためのプログラム、ツリーへの参加時又はその後、ツリーにおける自装置の位置に関する情報をサーバ装置3へ送信するプログラムを含む情報処理プログラム等を記憶している。   That is, a program for transmitting a connection destination introduction request for requesting introduction of a connection destination candidate to the server device 3 when the terminal device 2 participates in the tree, A program for receiving and storing a connection destination introduction response notified (transmitted) from the server device 3 in response to a connection destination introduction request, information regarding the position of the own device in the tree at or after participation in the tree 3 stores an information processing program including a program to be transmitted.

また、この記憶部12には、ツリーに参加するときにサーバ装置3から受信した、後に詳述する接続先紹介応答を記憶している。   The storage unit 12 stores a connection destination introduction response, which will be described later in detail, received from the server device 3 when participating in the tree.

そして、端末装置2の制御部11は、記憶部12に記憶している情報処理プログラムを実行することによって、後述の接続先紹介要求手段、接続処理手段、通知手段等として機能する。   And the control part 11 of the terminal device 2 functions as a below-mentioned connection destination introduction request | requirement means, a connection process means, a notification means, etc. by running the information processing program memorize | stored in the memory | storage part 12. FIG.

[2.2.サーバ装置の構成等]
本実施形態の情報配信システムSにおけるサーバ装置3は、その基本的構成については、図8に示した第1実施形態のサーバ装置3と同様の構成であるが、記憶部31及び理想ツリー情報データベース32に記憶している情報が、第1実施形態におけるサーバ装置3とは異なる。
[2.2. Server device configuration]
The server device 3 in the information distribution system S of the present embodiment has the same basic configuration as the server device 3 of the first embodiment shown in FIG. 8, but the storage unit 31 and the ideal tree information database. The information stored in 32 is different from the server device 3 in the first embodiment.

すなわち、このサーバ装置3の記憶部31には、サーバ装置3が各端末装置2から通知(送信)された当該端末装置2のツリーにおける位置に関する情報に基づいて、ツリーの構成状態(各端末装置2のツリー中における接続態様)を検出するためのプログラム、端末装置2から接続先紹介要求を受信したときに、理想ツリー情報データベース32に記憶している理想ツリー情報のうち、接続先紹介要求を送信してきた端末装置2の理想位置に対して予め定められた接続基準に従った順序(図3参照)で接続先候補を選択して通知(送信)するためのプログラムを含む情報処理プログラム等を記憶している。   That is, the storage unit 31 of the server device 3 stores the tree configuration state (each terminal device) based on the information about the position of the terminal device 2 in the tree notified (transmitted) from each terminal device 2. 2, a connection destination introduction request among the ideal tree information stored in the ideal tree information database 32 when a connection destination introduction request is received from the terminal device 2. An information processing program including a program for selecting and notifying (transmitting) connection destination candidates in an order according to a predetermined connection standard (see FIG. 3) with respect to the ideal position of the terminal device 2 that has transmitted I remember it.

また、理想ツリー情報データベース32には、理想ツリー情報に加え、この情報配信システムSを利用する全ての端末装置2の端末IDとIPアドレスとを対応付けたテーブルと、実際のツリーにおける各端末装置2の接続態様を示す接続ツリー情報とを記憶している。   Further, in the ideal tree information database 32, in addition to the ideal tree information, a table in which terminal IDs and IP addresses of all terminal devices 2 that use the information distribution system S are associated with each terminal device in the actual tree. And connection tree information indicating two connection modes.

そして、サーバ装置3の制御部30は、記憶部31に記憶している情報処理プログラムを実行することによって、後述の階層構造状態検出手段、接続先候補紹介手段等として機能する。   And the control part 30 of the server apparatus 3 functions as a below-mentioned hierarchical structure state detection means, a connection destination candidate introduction means, etc. by executing the information processing program memorize | stored in the memory | storage part 31. FIG.

また、このサーバ装置3は、第1実施形態のサーバ装置3と同様に、各端末装置2が新規に当該情報配信システムSのツリーに参加する際に、その端末装置2から当該端末装置2が使用している通信回線に関する情報や、その端末装置2の情報処理能力に関する情報、使用しているインターネットプロバイダに関する情報等を取得し、これらの情報に基づいて、理想ツリーにおける各端末装置2の理想位置を示す端末番号を決定する。   Further, similarly to the server device 3 of the first embodiment, when each terminal device 2 newly participates in the tree of the information distribution system S, the server device 3 is changed from the terminal device 2 to the terminal device 2. Information on the communication line being used, information on the information processing capability of the terminal device 2, information on the Internet provider being used, etc. are acquired, and based on these information, the ideal of each terminal device 2 in the ideal tree The terminal number indicating the position is determined.

[2.3.接続先紹介要求]
ここで、本実施形態の端末装置2がツリーに参加するときに、サーバ装置3へ送信する接続先紹介要求について説明する。
[2.3. Connection destination introduction request]
Here, the connection destination introduction request transmitted to the server device 3 when the terminal device 2 of the present embodiment participates in the tree will be described.

この接続先紹介要求は、図13に示すように、当該接続先紹介要求を送信する端末装置2(自装置)の端末IDと、その端末装置2が今回のツリーへの参加を試みた際に接続を失敗した接続先候補の端末ID(前回接続失敗端末ID)とを含む情報である。   As shown in FIG. 13, this connection destination introduction request includes the terminal ID of the terminal device 2 (own device) that transmits the connection destination introduction request, and when the terminal device 2 attempts to participate in the current tree. This is information including the terminal ID of the connection destination candidate that failed to connect (previous connection failure terminal ID).

ただし、端末装置2が今回のツリーへの参加の際に、接続を失敗した接続候補がなかった場合には、前回接続失敗端末IDは接続先紹介要求には含まれない。   However, when there is no connection candidate that failed to connect when the terminal device 2 participates in the current tree, the previous connection failure terminal ID is not included in the connection destination introduction request.

[2.4.接続先紹介応答]
次に、本実施形態のサーバ装置3が接続先紹介要求を送信してきた端末装置2へ送信する接続先紹介応答について説明する。
[2.4. Connection destination introduction response]
Next, the connection destination introduction response transmitted from the server device 3 of the present embodiment to the terminal device 2 that has transmitted the connection destination introduction request will be described.

この接続先紹介応答は、図14に示すように、接続先候補の端末IDと、接続先候補のIPアドレスと、接続先候補端末位置(右or左)と、右理想下流端末番号、左理想下流端末番号とを含む情報である。   As shown in FIG. 14, the connection destination introduction response includes a connection destination candidate terminal ID, a connection destination candidate IP address, a connection destination candidate terminal position (right or left), a right ideal downstream terminal number, and a left ideal. Information including the downstream terminal number.

ここで、接続先候補の端末IDとは、サーバ装置3が自装置に記憶している理想ツリー情報と、接続ツリー情報とに基づいて、現在、ツリーに参加している端末装置2の中から、所定の接続順序に従って選択した接続先候補の端末IDのことであり、接続先候補IPアドレスとは、接続先候補として選択した端末装置2のIPアドレスのことである。   Here, the terminal ID of the connection destination candidate is based on the ideal tree information stored in the server device 3 itself and the connection tree information from among the terminal devices 2 currently participating in the tree. The terminal ID of the connection destination candidate selected according to a predetermined connection order, and the connection destination candidate IP address is the IP address of the terminal device 2 selected as the connection destination candidate.

また、接続先候補端末位置(右or左)とは、接続先紹介要求を送信してきた端末装置2が接続すべき接続先候補の下流側の位置を示す情報のことである。すなわち、この情報として「右」という情報を受信した端末装置2は、接続先候補の下流右側に接続を試み、「左」という情報を受信した端末装置2は、接続先候補の下流左側に接続を試みる。   The connection destination candidate terminal position (right or left) is information indicating the downstream position of the connection destination candidate to which the terminal device 2 that has transmitted the connection destination introduction request is to be connected. That is, the terminal device 2 that has received the information “right” as this information tries to connect to the downstream right side of the connection destination candidate, and the terminal device 2 that has received the information “left” connects to the downstream left side of the connection destination candidate. Try.

また、右理想下流端末番号とは、接続先紹介要求を送信してきた端末装置2の右側下流に接続すべき端末装置2の端末番号のことであり、左理想下流端末番号とは、接続先紹介要求を送信してきた端末装置2の左側下流に接続すべき端末装置2の端末番号のことである。   The right ideal downstream terminal number is the terminal number of the terminal device 2 to be connected to the right downstream of the terminal device 2 that has transmitted the connection destination introduction request, and the left ideal downstream terminal number is the connection destination introduction. It is the terminal number of the terminal device 2 to be connected to the left downstream side of the terminal device 2 that has transmitted the request.

[2.5.端末装置の動作]
ここで、端末装置2の動作について説明する。ここでは、各端末装置2がツリーに参加するときに実行するときの動作について説明し、その他の動作については、その説明を省略する。
[2.5. Operation of terminal device]
Here, the operation of the terminal device 2 will be described. Here, the operation when each terminal device 2 executes when participating in the tree will be described, and description of other operations will be omitted.

端末装置2の制御部(以下、単に「制御部11」という。)は、情報配信システムSに参加するための情報処理プログラムの実行を開始すると、図15に示す接続開始処理を開始する。   When the control unit of the terminal device 2 (hereinafter simply referred to as “control unit 11”) starts executing the information processing program for participating in the information distribution system S, the control unit starts the connection start process shown in FIG.

[2.5.1.接続開始処理]
この接続開始処理を開始すると、制御部11は、図15に示すように、まず、サーバ装置3に接続先紹介要求を送信する処理を行い(ステップS50)、その後、処理をステップS51へ移す。
[2.5.1. Connection start processing]
When this connection start process is started, as shown in FIG. 15, the control unit 11 first performs a process of transmitting a connection destination introduction request to the server device 3 (step S50), and then moves the process to step S51.

このように、制御部11は、ツリーへ参加するときに、サーバ装置3に対して接続先候補の紹介を要求する接続先紹介要求手段として機能する。   As described above, the control unit 11 functions as a connection destination introduction request unit that requests the server device 3 to introduce connection destination candidates when participating in the tree.

次に、ステップS51において、制御部11は、サーバから接続先紹介応答を受信して保存(記憶)する処理を行った後、ステップS52において、接続先候補へ接続要求通知を送信する処理を行い、その後、処理をステップS53へ移す。   Next, in step S51, the control unit 11 performs a process of receiving and storing (storing) the connection destination introduction response from the server, and then performing a process of transmitting a connection request notification to the connection destination candidate in step S52. Thereafter, the process proceeds to step S53.

ここで、制御部11は、サーバ装置3から取得した接続先紹介応答に含まれる情報(接続先候補ID、接続先候補IPアドレス、接続先候補端末位置(右or左))に対応する端末装置2へ接続要求通知を送信して接続を試みる処理を行い、接続可能な端末装置2があれば、その端末装置2に接続する処理を行い、その後、処理をステップS53へ移す。   Here, the control unit 11 is a terminal device corresponding to information (connection destination candidate ID, connection destination candidate IP address, connection destination candidate terminal position (right or left)) included in the connection destination introduction response acquired from the server device 3. Processing for transmitting a connection request notification to 2 and attempting connection is performed. If there is a connectable terminal device 2, processing for connecting to the terminal device 2 is performed, and then the processing proceeds to step S <b> 53.

次に、ステップS53において、制御部11は、接続先候補との接続に成功したか否かの判断を行い、成功したと判断した場合に(ステップS53:Yes)、処理をステップS54へ移し、失敗したと判断した場合に(ステップS53:No)、処理をステップS50へ移す。   Next, in step S53, the control unit 11 determines whether or not the connection with the connection destination candidate is successful. If the control unit 11 determines that the connection is successful (step S53: Yes), the process proceeds to step S54. If it is determined that the process has failed (step S53: No), the process proceeds to step S50.

このように、制御部11は、接続先紹介要求に対してサーバ装置3から通知される接続先候補に対して接続を行う接続処理手段として機能する。   In this way, the control unit 11 functions as a connection processing unit that connects to a connection destination candidate notified from the server device 3 in response to a connection destination introduction request.

また、ステップS54において、制御部11は、接続を維持できているか否かの判断を行い、維持できていると判断した場合に(ステップS54:Yes)、処理をステップS56へ移し、維持できていないと判断した場合に(ステップS54:No)、処理をステップS55へ移す。   In step S54, the control unit 11 determines whether or not the connection can be maintained. If the control unit 11 determines that the connection can be maintained (step S54: Yes), the control unit 11 moves the process to step S56 and maintains the connection. If it is determined that there is not (step S54: No), the process proceeds to step S55.

ステップS56において、制御部11は、接続待受処理を行った後、処理をステップS57へ移す。この接続待受処理については、後に詳述する。   In step S56, the control unit 11 performs a connection standby process, and then moves the process to step S57. This connection standby process will be described in detail later.

次に、ステップS57において、制御部11は、自装置が現在ツリーに参加している旨を示す情報(以下、「生存通知」という。)として、ツリーにおける自装置の位置に関する情報、すなわち、自装置が現在どの端末装置2の下流の左右どちら側に接続しているかを示す情報をサーバ装置3に送信する処理を行い、その後、処理をステップS54へ移す。   Next, in step S57, the control unit 11 uses the information about the position of the own device in the tree as information indicating that the own device is currently participating in the tree (hereinafter referred to as “live notification”), that is, the own device. Information indicating which terminal device 2 is currently connected to which of the left and right sides downstream is transmitted to the server device 3, and then the process proceeds to step S 54.

このように、制御部11は、ツリーへの接続時又はその後、ツリーにおける自装置の位置をサーバ装置3に対して通知する通知手段として機能する。   In this way, the control unit 11 functions as a notification unit that notifies the server device 3 of the position of its own device in the tree at the time of connection to the tree or thereafter.

また、ステップS55において、制御部11は、終了指示があるか否かの判断を行い、終了指示があると判断した場合に(ステップS55:Yes)、この接続開始処理を終了し、終了指示がないと判断した場合に(ステップS55:No)、処理をステップS50へ移す。   Further, in step S55, the control unit 11 determines whether or not there is an end instruction. When it is determined that there is an end instruction (step S55: Yes), the connection start process is ended, and the end instruction is received. If it is determined that there is not (step S55: No), the process proceeds to step S50.

このとき、制御部11は、自装置のユーザが入力部19を操作して、情報配信システムSを利用するための情報処理プログラムの終了を指示した場合に、終了指示があると判断する。   At this time, the control unit 11 determines that there is an end instruction when the user of the own apparatus operates the input unit 19 to instruct the end of the information processing program for using the information distribution system S.

[2.5.2.接続待受処理]
次に、制御部11が、図15のステップS56で実行する接続待受処理について、図16を参照して説明する。
[2.5.2. Connection standby processing]
Next, the connection standby process executed by the control unit 11 in step S56 of FIG. 15 will be described with reference to FIG.

この接続待受処理を開始すると、制御部11は、図16に示すように、まず、他の端末装置2から接続要求通知を受信したか否かの判断を行い(ステップS60)、受信したと判断した場合に(ステップS60:Yes)、処理をステップS61へ移し、受信していないと判断した場合に(ステップS60:No)、この接続待受処理を終了する。   When this connection standby process is started, the control unit 11 first determines whether or not a connection request notification has been received from another terminal device 2 as shown in FIG. 16 (step S60). If it is determined (step S60: Yes), the process proceeds to step S61, and if it is determined that no reception has been received (step S60: No), this connection standby process is terminated.

そして、ステップS61において、制御部11は、接続を要求されている側(右or左)の下流に接続している端末装置2があると判断した場合に(ステップS61:Yes)、処理をステップS62へ移し、接続を要求されている側(右or左)の下流に接続している端末装置2がないと判断した場合に(ステップS61:No)、処理をステップS66へ移す。   Then, in step S61, when the control unit 11 determines that there is a terminal device 2 connected downstream of the connection requested side (right or left) (step S61: Yes), the process is stepped. The process moves to S62, and if it is determined that there is no terminal device 2 connected downstream of the side (right or left) requested to be connected (No in step S61), the process moves to step S66.

そして、ステップS62において、制御部11は、保存した接続先紹介応答に基づいて、他の端末装置2から接続を要求された左右いずれかの下流側の理想ツリーにおける端末番号(以下、「理想下流端末番号」という。)を確認する処理を行い、その後、処理をステップS63へ移す。   In step S62, based on the stored connection destination introduction response, the control unit 11 determines the terminal number (hereinafter referred to as “ideal downstream” in the left or right downstream ideal tree for which connection is requested by another terminal device 2. “Terminal number”) is performed, and then the process proceeds to step S63.

次に、ステップS63において、制御部11は、接続要求通知を送信してきた端末装置2の端末番号の方が、現在自装置の下流側に接続している端末装置2(以下、「接続中下流端末」という。)の端末番号よりも大きいか否かの判断を行う。   Next, in step S63, the control unit 11 determines that the terminal number of the terminal device 2 that has transmitted the connection request notification is the terminal device 2 currently connected to the downstream side of the own device (hereinafter referred to as “connected downstream”). It is determined whether or not the terminal number is larger than the terminal number.

そして、制御部11は、接続要求通知を送信してきた端末装置2の端末番号の方が、接続中下流端末の端末番号よりも大きいと判断した場合に(ステップS63:Yes)、処理をステップS64へ移し、接続要求通知を送信してきた端末装置2の端末番号が、接続中下流端末の端末番号以下であると判断した場合に(ステップS63:No)、この接続待受処理を終了する。   Then, when the control unit 11 determines that the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the terminal number of the currently connected downstream terminal (step S63: Yes), the process proceeds to step S64. When it is determined that the terminal number of the terminal device 2 that has transmitted the connection request notification is equal to or less than the terminal number of the currently connected downstream terminal (step S63: No), this connection waiting process is terminated.

また、ステップS64において、制御部11は、接続要求通知を送信してきた端末装置2の端末番号の方が、理想下流端末番号よりも大きいか否かの判断を行う。   In step S64, the control unit 11 determines whether or not the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the ideal downstream terminal number.

ここで、制御部11は、接続要求通知送信してきた端末装置2の端末番号の方が、理想下流端末番号よりも大きいと判断した場合に(ステップS64:Yes)、この接続待受処理を終了し、接続要求通知を送信してきた端末装置2の端末番号が、理想下流端末番号以下であると判断した場合に(ステップS64:No)、処理をステップS65へ移す。   Here, when the control unit 11 determines that the terminal number of the terminal device 2 that has transmitted the connection request notification is larger than the ideal downstream terminal number (step S64: Yes), the connection waiting process is terminated. When it is determined that the terminal number of the terminal device 2 that has transmitted the connection request notification is equal to or less than the ideal downstream terminal number (step S64: No), the process proceeds to step S65.

そして、ステップS65において、制御部11は、接続中下流端末との接続を切断する処理を行った後、ステップS66において、接続要求通知を送信してきた端末装置2を自装置の下流に接続する処理を行い、その後、この接続待受処理を終了する。   In step S65, the control unit 11 performs processing for disconnecting the connected downstream terminal, and then in step S66, connects the terminal device 2 that has transmitted the connection request notification downstream to the own device. Then, this connection standby process is terminated.

[2.6.サーバ装置の動作]
次に、サーバ装置3の動作について説明する。ここでは、サーバ装置3が接続ツリー情報を作成するときの動作と、端末装置2へ接続先候補を紹介するときの動作について説明し、その他の動作については、その説明を省略する。
[2.6. Server device operation]
Next, the operation of the server device 3 will be described. Here, the operation when the server device 3 creates the connection tree information and the operation when the connection destination candidate is introduced to the terminal device 2 will be described, and the description of the other operations will be omitted.

[2.6.1サーバ処理]
サーバ装置3の制御部(以下、単に「制御部30」という。)は、電源が投入されると、図17に示すサーバ処理を開始する。このサーバ処理を開始すると、制御部30は、生存通知を送信してきた端末装置2を接続ツリー情報へ追加する処理を行い(ステップS70)、その後、処理をステップS71へ移す。
[2.6.1 Server processing]
When the power is turned on, the control unit of the server device 3 (hereinafter simply referred to as “control unit 30”) starts the server process shown in FIG. When this server process is started, the control unit 30 performs a process of adding the terminal device 2 that has transmitted the survival notification to the connection tree information (step S70), and then moves the process to step S71.

ここで、制御部30は、端末装置2から取得した生存通知に基づいて、接続ツリー情報を更新する。すなわち、この制御部30は、端末装置2から通知された当該端末装置2のツリーにおける位置に基づいて、ツリーの状態を検出する階層構造状態検出手段として機能する。   Here, the control unit 30 updates the connection tree information based on the survival notification acquired from the terminal device 2. That is, the control unit 30 functions as a hierarchical structure state detection unit that detects the state of the tree based on the position of the terminal device 2 in the tree notified from the terminal device 2.

次に、ステップS71において、制御部30は、端末装置2から接続先紹介要求を受信したか否かの判断を行い、接続先紹介要求を受信したと判断した場合に(ステップSS71:Yes)、処理をステップS72へ移し、接続先紹介要求を受信していないと判断した場合に(ステップS71:No)、このサーバ処理を終了する。   Next, in step S71, the control unit 30 determines whether or not a connection destination introduction request is received from the terminal device 2, and when it is determined that the connection destination introduction request is received (step SS71: Yes), The process proceeds to step S72, and when it is determined that the connection destination introduction request has not been received (step S71: No), this server process is terminated.

ステップS72において、制御部30は、一定期間生存通知を受信していない端末装置を接続ツリー情報から削除する処理を行った後、ステップS73において、理想ツリー情報と接続ツリー情報とから接続先紹介応答を作成して送信する処理を行い、その後、このサーバ処理を終了する。   In step S72, the control unit 30 performs a process of deleting the terminal device that has not received the survival notification for a certain period from the connection tree information, and then in step S73, the connection destination introduction response is obtained from the ideal tree information and the connection tree information. Is created and transmitted, and then the server process is terminated.

このように、制御部30は、端末装置2から接続先紹介要求があったときに、自装置に記憶している理想ツリー情報のうち、接続先紹介要求を送信してきた端末装置2に対して、予め定められた接続基準に従った順番(図3参照)で、接続先候補を選択して通知する接続先候補紹介手段として機能する。   As described above, when there is a connection destination introduction request from the terminal device 2, the control unit 30 transmits the connection destination introduction request to the terminal device 2 that has transmitted the connection destination introduction request among the ideal tree information stored in the own device. It functions as a connection destination candidate introduction means for selecting and notifying a connection destination candidate in an order according to a predetermined connection standard (see FIG. 3).

この第2実施形態の情報配信システムSでは、サーバ装置3が接続先紹介要求を受信すると、接続ツリー情報と理想ツリー情報とに基づいて、所定の接続順序に従って接続先候補を選択し、接続先紹介要求を送信してきた端末装置2へ、その接続先候補を紹介すると共に、この接続先紹介候補となった端末装置2は、他の端末装置2から接続要求通知を受信すると、その端末装置2を自装置の下流に接続することによって、ツリーの構造が理想ツリーの構造と近付くと判断した場合に、その端末装置2を自装置の下流に接続するように構成しているが、この接続要求通知を受信した端末装置2が行う判断を、サーバ装置3に行わせるように構成してもよい。   In the information distribution system S of the second embodiment, when the server device 3 receives the connection destination introduction request, the connection destination candidate is selected according to a predetermined connection order based on the connection tree information and the ideal tree information, and the connection destination is selected. When the connection destination candidate is introduced to the terminal device 2 that has transmitted the introduction request, and the terminal device 2 that has become the connection destination introduction candidate receives a connection request notification from another terminal device 2, the terminal device 2 Is connected to the downstream of its own device, and when it is determined that the tree structure approaches the ideal tree structure, the terminal device 2 is connected to the downstream of its own device. You may comprise so that the server apparatus 3 may make the judgment which the terminal device 2 which received notification performs.

このように情報配信システムSを構成する場合、サーバ装置3は、接続先紹介要求を送信してきた端末装置2に対して、接続先候補を紹介するだけでなく、その接続先候補の下流に既に端末装置2が接続されている場合には、当該接続先候補に対して、既に下流に接続している端末装置2との切断、又は、接続先紹介要求を送信してきた端末装置との接続を指示する。   When configuring the information distribution system S in this way, the server device 3 not only introduces the connection destination candidates to the terminal device 2 that has transmitted the connection destination introduction request, but also already downstream of the connection destination candidates. When the terminal device 2 is connected, the connection destination candidate is disconnected from the terminal device 2 already connected downstream or connected to the terminal device that has transmitted the connection destination introduction request. Instruct.

すなわち、サーバ装置3は、接続先紹介要求を送信してきた端末装置2の端末番号の方が、この端末装置2に紹介した接続先候補の下流に接続している端末装置2の端末番号よりも、理想ツリーにおいて上流に位置すべき端末番号であると判断した場合に、接続先候補に対して、その下流に既に接続している端末装置2との接続を切断させる指示を送信する。   That is, in the server device 3, the terminal number of the terminal device 2 that has transmitted the connection destination introduction request is greater than the terminal number of the terminal device 2 that is connected downstream of the connection destination candidates introduced to the terminal device 2. When it is determined that the terminal number should be located upstream in the ideal tree, an instruction to disconnect the connection with the terminal device 2 already connected downstream is transmitted to the connection destination candidate.

このように情報配信システムSを構成することによって、各端末装置2の処理負荷をさらに軽減することができる。   By configuring the information distribution system S in this way, the processing load on each terminal device 2 can be further reduced.

第1実施形態に係る情報配信システムの概要構成例を示す説明図である。It is explanatory drawing which shows the schematic structural example of the information delivery system which concerns on 1st Embodiment. 理想ツリーの一例を示す説明図である。It is explanatory drawing which shows an example of an ideal tree. 各端末装置毎の接続順序の一例を示す説明図である。It is explanatory drawing which shows an example of the connection order for every terminal device. 接続要求通知の一例を示す説明図である。It is explanatory drawing which shows an example of a connection request notification. 端末装置がツリーに参加する場合のツリーの形成方法の一例を示す説明図である。It is explanatory drawing which shows an example of the formation method of a tree in case a terminal device participates in a tree. 端末装置がツリーに参加する場合のツリーの形成方法の一例を示す説明図である。It is explanatory drawing which shows an example of the formation method of a tree in case a terminal device participates in a tree. 第1実施形態に係る情報配信システムにおける端末装置の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the terminal device in the information delivery system which concerns on 1st Embodiment. 第1実施形態に係る情報配信システムにおけるサーバ装置の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the server apparatus in the information delivery system which concerns on 1st Embodiment. 第1実施形態に係る端末装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the terminal device which concerns on 1st Embodiment performs. 第1実施形態に係る端末装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the terminal device which concerns on 1st Embodiment performs. 第1実施形態に係る端末装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the terminal device which concerns on 1st Embodiment performs. 第1実施形態に係るサーバ装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the server apparatus which concerns on 1st Embodiment performs. 接続先紹介要求の一例を示す説明図である。It is explanatory drawing which shows an example of a connection destination introduction request. 接続先紹介応答の一例を示す説明図である。It is explanatory drawing which shows an example of a connection destination introduction response. 第2実施形態に係る端末装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the terminal device which concerns on 2nd Embodiment performs. 第2実施形態に係る端末装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the terminal device which concerns on 2nd Embodiment performs. 第2実施形態に係るサーバ装置の制御部が行う処理を示すフローチャートである。It is a flowchart which shows the process which the control part of the server apparatus which concerns on 2nd Embodiment performs.

符号の説明Explanation of symbols

S 情報配信システム
1 情報配信装置
2 端末装置
3 サーバ装置
11 端末装置の制御部
30 サーバ装置の制御部
32 理想ツリー情報データベース
S Information Distribution System 1 Information Distribution Device 2 Terminal Device 3 Server Device 11 Terminal Device Control Unit 30 Server Device Control Unit 32 Ideal Tree Information Database

Claims (9)

ネットワークを介して複数の端末装置を多層に接続して階層構造を構成し、当該階層構造の上流の端末装置から下流の端末装置へ順次情報が中継される情報配信システムにおいて、
前記階層構造における前記複数の端末装置のそれぞれの理想位置を規定した理想階層構造の情報を記憶する記憶手段を備え、
前記端末装置が前記階層構造へ参加するときに、前記記憶手段に記憶された前記理想階層構造の情報のうち当該参加する端末装置の理想位置に対して予め定められた接続基準に従った順番で選択される接続先候補の端末装置に対して接続が可能か否かが順次判断され、接続可能な接続先候補があったとき、当該接続可能な接続先候補に前記参加する端末装置を接続する
ことを特徴とする情報配信システム。
In an information distribution system in which a plurality of terminal devices are connected in multiple layers via a network to form a hierarchical structure, and information is sequentially relayed from an upstream terminal device to a downstream terminal device in the hierarchical structure,
Storage means for storing information of an ideal hierarchical structure that defines the ideal position of each of the plurality of terminal devices in the hierarchical structure;
When the terminal device participates in the hierarchical structure, the information in the ideal hierarchical structure stored in the storage means is in an order in accordance with a connection criterion predetermined for the ideal position of the participating terminal device. It is sequentially determined whether or not connection is possible to the selected connection destination candidate terminal device, and when there is a connectable connection destination candidate, the participating terminal device is connected to the connectable connection destination candidate. An information distribution system characterized by that.
前記記憶手段を有するサーバ装置を備え、
前記端末装置は、
前記階層構造における前記複数の端末装置の理想位置を規定した理想階層構造の情報を前記サーバ装置から取得する取得処理手段と、
前記階層構造へ参加するときに、前記取得処理手段で取得した理想階層構造のうち自装置の理想位置に対して予め定められた接続基準に従った順番で接続先候補の端末装置に対して接続を順次試み、接続可能な接続先候補があったときに当該接続先候補と接続する接続処理手段とを備えたことを特徴とする請求項1に記載の情報配信システム。
A server device having the storage means;
The terminal device
An acquisition processing means for acquiring, from the server device, information of an ideal hierarchical structure that defines ideal positions of the plurality of terminal devices in the hierarchical structure;
When participating in the hierarchical structure, connections are made to the connection destination candidate terminal devices in the order according to a predetermined connection criterion with respect to the ideal position of the own device in the ideal hierarchical structure acquired by the acquisition processing means. The information distribution system according to claim 1, further comprising: a connection processing unit configured to connect to a connection destination candidate when there is a connection destination candidate that can be sequentially connected.
前記接続処理手段は、前記階層構造へ参加した後、定期的に、前記階層構造から離脱し、前記取得処理手段で取得した理想階層構造のうち自装置の理想位置に対して予め定められた接続基準に従った順番で接続先候補の端末装置に対して接続を順次試み、接続可能な接続先候補があったときに当該接続先候補と接続することを特徴とする請求項2に記載の情報配信システム。   The connection processing means periodically leaves the hierarchical structure after participating in the hierarchical structure, and is connected in advance to the ideal position of the own device in the ideal hierarchical structure acquired by the acquisition processing means. The information according to claim 2, wherein connection is sequentially attempted to connection destination candidate terminal devices in an order in accordance with a reference, and when there is a connection destination candidate that can be connected, connection is made with the connection destination candidate. Distribution system. 前記記憶手段を有するサーバ装置を備え、
前記端末装置は、
前記階層構造へ参加するときに、前記サーバ装置に対して接続先候補の端末装置の紹介を要求する接続先紹介要求手段と、
前記紹介要求に対して前記サーバ装置から通知される接続先候補に対して接続を行う接続処理手段と、
前記階層構造への接続時又はその後、前記階層構造における自装置の位置を前記サーバ装置に対して通知する通知手段とを備え、
前記サーバ装置は、
各前記端末装置から通知された当該端末装置の前記階層構造における位置に基づいて、前記階層構造の状態を検出する階層構造状態検出手段と、
前記端末装置から接続先候補の紹介要求があったとき、前記記憶手段に記憶している前記理想階層構造の情報のうち前記紹介要求を行った端末装置の理想位置に対して予め定められた接続基準に従った順番で接続先候補を選択して通知する接続先候補紹介手段とを備えたことを特徴とする請求項1に記載の情報配信システム。
A server device having the storage means;
The terminal device
A connection destination introduction request means for requesting the server device to introduce a connection destination candidate terminal device when participating in the hierarchical structure;
Connection processing means for connecting to a connection destination candidate notified from the server device in response to the introduction request;
A notification means for notifying the server device of the position of the own device in the hierarchical structure at the time of connection to the hierarchical structure or thereafter;
The server device
Hierarchical structure state detection means for detecting the state of the hierarchical structure based on the position of the terminal device in the hierarchical structure notified from each terminal device;
When there is a request for introduction of a connection destination candidate from the terminal device, a predetermined connection with respect to the ideal position of the terminal device that has made the introduction request out of the information of the ideal hierarchical structure stored in the storage means The information distribution system according to claim 1, further comprising connection destination candidate introduction means for selecting and notifying a connection destination candidate in an order according to a standard.
前記端末装置は、
自装置の下流に接続している他の端末装置の理想位置の情報を記憶する下流情報記憶手段と、
他の端末装置から接続の要求があったとき、当該接続の要求を行った他の端末装置の理想位置と前記下流情報記憶手段に記憶した他の端末装置の理想位置とを比較して、前記接続の要求を行った他の端末装置と接続すべきか否かを判定する判定手段と、
前記判定手段により前記接続の要求を行った他の端末装置と接続すべきと判定されると、当該接続の要求を行った他の端末装置との接続を行い、前記下流に接続している他の端末装置との接続を切断する下流接続処理手段とを備えたことを特徴とする請求項2〜4のいずれか1項に記載の情報配信システム。
The terminal device
Downstream information storage means for storing information on ideal positions of other terminal devices connected downstream of the own device;
When there is a connection request from another terminal device, the ideal position of the other terminal device that made the connection request is compared with the ideal position of the other terminal device stored in the downstream information storage means, Determination means for determining whether or not to connect to another terminal device that has requested connection;
When it is determined by the determination means that the connection to the other terminal device that has requested the connection is to be established, the connection to the other terminal device that has requested the connection is performed, and the other connected to the downstream 5. The information distribution system according to claim 2, further comprising a downstream connection processing unit that disconnects the connection with the terminal device.
前記端末装置の理想位置の情報として、前記理想階層構造の上流から下流に向けて一定の配列順序となる端末番号が各前記端末装置に対して割り当てられており、
前記判定手段は、前記接続の要求を行った他の端末装置の端末番号が前記下流情報記憶手段に記憶している端末番号よりも上流側にある端末番号であるときに、前記接続の要求を行った他の端末装置と接続すべきと判定することを特徴とする請求項5に記載の情報配信システム。
As the information on the ideal position of the terminal device, a terminal number that is a fixed arrangement order from upstream to downstream of the ideal hierarchical structure is assigned to each terminal device,
The determination unit issues the connection request when the terminal number of another terminal device that has made the connection request is a terminal number that is upstream of the terminal number stored in the downstream information storage unit. 6. The information distribution system according to claim 5, wherein it is determined that the connection with the other terminal device is to be performed.
前記判定手段は、前記接続の要求を行った他の端末装置の端末番号が前記下流情報記憶手段に記憶している端末番号よりも上流側にある端末番号であるときであっても、前記接続の要求を行った他の端末装置の端末番号が前記理想階層構造において自装置の理想位置の下流に接続される端末装置の端末番号よりも下流側にある端末番号ではなく、かつ同じ端末番号でもないとき、前記接続の要求を行った他の端末装置と接続すべきでないと判定することを特徴とする請求項6に記載の情報配信システム。   Even if the determination means is a terminal number that is upstream of the terminal number stored in the downstream information storage means, the terminal number of another terminal device that has made the connection request is the connection number. The terminal number of the other terminal device that made the request is not the terminal number downstream of the terminal number of the terminal device connected downstream of the ideal position of the own device in the ideal hierarchical structure, and the same terminal number 7. The information distribution system according to claim 6, wherein when there is no connection, it is determined that the connection with the other terminal device that has requested the connection should not be made. コンピュータを、請求項2〜7のいずれか1項に記載の情報配信システムにおける前記端末装置の各手段として機能させることを特徴とするプログラム。   A program that causes a computer to function as each unit of the terminal device in the information distribution system according to any one of claims 2 to 7. ネットワークを介して複数の端末装置を多層に接続して階層構造を構成し、当該階層構造の上流の端末装置から下流の端末装置へ順次情報が中継される情報配信システムにおける前記階層構造の形成方法であって、
前記階層構造における前記複数の端末装置のそれぞれの理想位置を規定した理想階層構造の情報を記憶手段に記憶するステップと、
前記端末装置が前記階層構造へ参加するときに、前記記憶手段に記憶された前記理想階層構造の情報のうち当該参加する端末装置の理想位置に対して予め定められた接続基準に従った順番で選択される接続先候補の端末装置に対して接続が可能か否かを順次判断していき、接続可能な接続先候補があったとき、当該接続可能な接続先候補に前記参加する端末装置を接続するステップと、
を有することを特徴とする情報配信システムにおける階層構造の形成方法。
A method for forming a hierarchical structure in an information distribution system in which a plurality of terminal devices are connected in multiple layers via a network to form a hierarchical structure, and information is sequentially relayed from an upstream terminal device to a downstream terminal device in the hierarchical structure Because
Storing in the storage means information of an ideal hierarchical structure defining each ideal position of the plurality of terminal devices in the hierarchical structure;
When the terminal device participates in the hierarchical structure, the information in the ideal hierarchical structure stored in the storage means is in an order in accordance with a connection criterion predetermined for the ideal position of the participating terminal device. It is sequentially determined whether or not a connection destination candidate terminal device to be selected can be connected. When there is a connection destination candidate that can be connected, the terminal devices that participate in the connection destination candidate that can be connected are selected. Connecting, and
A method for forming a hierarchical structure in an information distribution system, comprising:
JP2008039101A 2008-02-20 2008-02-20 Information delivery system, method of forming hierarchical structure in the system, and program Withdrawn JP2009200725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008039101A JP2009200725A (en) 2008-02-20 2008-02-20 Information delivery system, method of forming hierarchical structure in the system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008039101A JP2009200725A (en) 2008-02-20 2008-02-20 Information delivery system, method of forming hierarchical structure in the system, and program

Publications (1)

Publication Number Publication Date
JP2009200725A true JP2009200725A (en) 2009-09-03

Family

ID=41143772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008039101A Withdrawn JP2009200725A (en) 2008-02-20 2008-02-20 Information delivery system, method of forming hierarchical structure in the system, and program

Country Status (1)

Country Link
JP (1) JP2009200725A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011124710A (en) * 2009-12-09 2011-06-23 Fujitsu Ltd Device and method for selecting connection destination
JP2015061276A (en) * 2013-09-20 2015-03-30 沖電気工業株式会社 Wireless communication device, wireless communication system, communication order and wake time determination method, and communication order and wake time determination program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011124710A (en) * 2009-12-09 2011-06-23 Fujitsu Ltd Device and method for selecting connection destination
JP2015061276A (en) * 2013-09-20 2015-03-30 沖電気工業株式会社 Wireless communication device, wireless communication system, communication order and wake time determination method, and communication order and wake time determination program

Similar Documents

Publication Publication Date Title
US9973812B2 (en) Multi-screen interaction method and system
JP4661751B2 (en) Detachability control device, tree-type distribution system, node device detachment control method, detachability control program, and information processing program
US8379641B2 (en) Light host management protocol on multicast capable router
JP2008294626A (en) Content distributed storage system, content storing method, node device, and node processing program
JP2007193626A (en) Content distribution system, node device, information processing method therefor and program therefor
US9866602B2 (en) Adaptive bit rates during broadcast transmission in distributed content delivery networks
JP2008278337A (en) Information distribution system, terminal apparatus used in same system, program, and loop connection avoidance method
JP2008033406A (en) Node device, information processing program, content distribution method and content distribution system
JP2005509228A (en) Inter-user communication module and processing
US8325725B2 (en) Efficient host management protocol on multicast capable router
JP4877107B2 (en) Terminal device and information processing program in information distribution system, and information processing method of terminal device
JP4798146B2 (en) Terminal device and program in information distribution system, and reconnection processing method
JP2009200725A (en) Information delivery system, method of forming hierarchical structure in the system, and program
WO2008041422A1 (en) Terminal device in content distribution system, its information processing method, and recording medium containing program
JP4539598B2 (en) CONTENT DATA DISTRIBUTION SYSTEM, CONTENT DATA DISTRIBUTION METHOD, TERMINAL DEVICE, AND OPERATION PROGRAM FOR THE TERMINAL DEVICE
WO2010025635A1 (en) Method of switching of play, media server, user terminal and system thereof
JP4924389B2 (en) TERMINAL DEVICE, INFORMATION PROCESSING PROGRAM, AND INFORMATION PROCESSING METHOD USED FOR INFORMATION DISTRIBUTION SYSTEM
JP2008085678A (en) Content distribution system, content distribution method, terminal device in the content distribution system and program thereof
CN101286943B (en) Control method of network television service and network television service system
JP2008293197A (en) Information distribution system, terminal unit and program for use in the same system, and information processing method
KR100835528B1 (en) Multimedia Contents Streaming Method Using Section Information and Streaming Apparatus Thereof
Ha et al. Topology and architecture design for peer to peer video live streaming system on mobile broadcasting social media
JP2007173889A (en) System and method for distributing content, and terminal unit used for them, and program thereof
JP2005085146A (en) Content reproducing device, content distribution system, content reproducing program and content reproducing method
JP2008293196A (en) Information distribution system, terminal apparatus used for the system, information processing program thereof, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100215

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20110414