JP5533453B2 - Tree network reconfiguration device and program, and tree network reconfiguration method - Google Patents

Tree network reconfiguration device and program, and tree network reconfiguration method Download PDF

Info

Publication number
JP5533453B2
JP5533453B2 JP2010194011A JP2010194011A JP5533453B2 JP 5533453 B2 JP5533453 B2 JP 5533453B2 JP 2010194011 A JP2010194011 A JP 2010194011A JP 2010194011 A JP2010194011 A JP 2010194011A JP 5533453 B2 JP5533453 B2 JP 5533453B2
Authority
JP
Japan
Prior art keywords
server
tree
replacement
node
delivery
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.)
Active
Application number
JP2010194011A
Other languages
Japanese (ja)
Other versions
JP2012054674A (en
Inventor
佳穂里 和田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2010194011A priority Critical patent/JP5533453B2/en
Publication of JP2012054674A publication Critical patent/JP2012054674A/en
Application granted granted Critical
Publication of JP5533453B2 publication Critical patent/JP5533453B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、ツリー状ネットワーク再構成装置及びプログラム、並びに、ツリー状ネットワーク再構成方法に関し、例えば、分散配置された複数のコンテンツ配信サーバを論理的にツリー状に配置したシステムにおいて、ツリー途中のノード(但し、ノードはコンテンツ配信サーバを意味する)に障害が発生した場合の対応に適用し得るものである。 The present invention relates to a tree-like network reconfiguration device, a program, and a tree-like network reconfiguration method . For example, in a system in which a plurality of distributed content distribution servers are logically arranged in a tree shape, nodes in the middle of the tree (However, a node means a content distribution server) It can be applied to a response when a failure occurs.

ユーザ端末に対してコンテンツ(例えば、映像コンテンツ)を配信する複数のコンテンツ配信サーバ(以下、配信サーバと呼ぶ)を分散配置したコンテンツ配信システムがある。このようなコンテンツ配信システムの中には、上述した複数の配信サーバを論理的にはツリー状に配置し、ツリーのルートノードからエンドノードに向かってコンテンツを枝分かれしながら配送することにより、各配信サーバに同一コンテンツを配備させ、各配信サーバは自己が収容するユーザ端末にコンテンツを配信するシステムがある。   There is a content distribution system in which a plurality of content distribution servers (hereinafter referred to as distribution servers) that distribute content (for example, video content) to user terminals are distributed. In such a content distribution system, a plurality of distribution servers described above are logically arranged in a tree shape, and each content is distributed by branching and distributing content from the root node to the end node of the tree. There is a system in which the same content is deployed on a server, and each distribution server distributes the content to user terminals accommodated by itself.

ここで、ツリーのルートノードからエンドノードに向かってコンテンツを配送している際中に、ツリー上のある中間ノードにおいて障害が発生した場合、その中間ノードの先のノードにコンテンツを配備できない。そのため、障害が発生した中間ノードを介さずに、全てのノードにコンテンツを配備できるようにツリーを再構成する必要がある。特許文献1の実施形態4には、ツリーの再構成方法が記載されている。この再構成方法は、障害が発生した中間ノードの下流のノード毎に、そのノードを収容する他のノードを決定するものである。収容する他のノードは、ツリー上のエンドノードの中から決定される。障害が発生した中間ノードに接続されている下流ノードが複数ある場合に、それぞれの下流ノードを収容する他のノードが決定され、下流ノードによって収容される他のノードが異なることもある。   Here, when a failure occurs in a certain intermediate node on the tree while delivering the content from the root node of the tree to the end node, the content cannot be deployed to a node ahead of the intermediate node. Therefore, it is necessary to reconfigure the tree so that the content can be deployed to all nodes without going through the intermediate node where the failure has occurred. Embodiment 4 of Patent Document 1 describes a tree reconstruction method. In this reconfiguration method, for each node downstream of the intermediate node in which a failure has occurred, another node that accommodates the node is determined. Other nodes to be accommodated are determined from the end nodes on the tree. When there are a plurality of downstream nodes connected to the failed intermediate node, other nodes accommodating the respective downstream nodes are determined, and the other nodes accommodated by the downstream nodes may be different.

特開2005−25622JP 2005-25622 A

しかしながら、コンテンツ配送中に中間ノードに障害が発生した場合、その障害ノードの下流ノードを収容することとなったエンドノードまで、コンテンツが配送されていないこともあり、ツリーを再構成して、再構成したツリーを適用しても障害ノードの下流側のノードへコンテンツを配送できない恐れもある。   However, if a failure occurs in an intermediate node during content delivery, the content may not have been delivered to the end node that accommodated the downstream node of the failed node. Even if the configured tree is applied, there is a possibility that the content cannot be delivered to a node downstream of the failed node.

障害ノードの下流ノードを収容することとなったエンドノードまでコンテンツが配送されていたとしても、再構成前にエンドノードであったノードが中間ノードとして下流への配送を行うため、ルートノードからの必要ホップ数が再構成前より大きくなったノードが多く、ツリー上の全てのノードにコンテンツを配備するのにかなりの長時間を要する。特に、置き換えられたノードの配送能力が低い場合には、かかる配備時間の課題はより大きなものとなる。   Even if the content is delivered to the end node that has accommodated the downstream node of the failed node, the node that was the end node before reconfiguration performs the downstream delivery as an intermediate node. Many nodes have a larger number of necessary hops than before reconstruction, and it takes a considerable amount of time to deploy content to all nodes on the tree. In particular, when the delivery capacity of the replaced node is low, the problem of the deployment time becomes more serious.

そのため、ツリー上の全てのノードに配送データを迅速に配備させることができるツリー状ネットワーク再構成装置及びプログラム、並びに、ツリー状ネットワーク再構成方法が望まれている。 Therefore, there is a demand for a tree-like network reconfiguration apparatus and program , and a tree-like network reconfiguration method that can quickly distribute delivery data to all nodes on the tree .

第1の本発明は、分散配置された複数のサーバが論理的にはツリー状に接続されているネットワークから、所定事象の出現に基づき、1つのサーバを除外した構成にツリー構成を再構成するツリー状ネットワーク再構成装置において、上記所定事象の出現とは、ツリー状ネットワークのルートノードのサーバから、ツリー構成に沿って、ツリー状ネットワークの全てのサーバに第1のデータを配備させるべく配送している際中にいずれかのサーバに障害が発生したことであり、(1)除外対象の上記サーバに置き換わる候補である置き換え候補サーバを選出する候補選出手段と、(2)置き換え候補サーバのそれぞれについて、そのサーバのスペックの情報を取り込む候補スペック情報取込手段と、(3)置き換え候補サーバのスペック情報から見て、その置き換え候補サーバが除外対象の上記サーバの遂行能力以上を確保できることを1条件として、除外対象の上記サーバに置き換わるサーバを決定する置換サーバ決定手段と (4)障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されているかを判別する配送済ノード確認手段と、(5)障害発生したサーバの下流のサーバに上記第1のデータが配送、配備されていない場合には、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定すると共に、障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されている場合には、再構成前のツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定し、かつ、今後生じる、新たな第2のデータの配送では、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを適用するツリーに決定する適用ツリー決定手段とを有することを特徴とする。 According to the first aspect of the present invention, a tree configuration is reconfigured from a network in which a plurality of servers arranged in a distributed manner are logically connected in a tree shape to a configuration in which one server is excluded based on the appearance of a predetermined event. In the tree-like network reconfiguration apparatus, the occurrence of the predetermined event means that the first data is distributed from the server at the root node of the tree-like network to all the servers in the tree-like network along the tree structure. and it is to failure of one server occurring in time are, (1) and candidate selection means for selecting a candidate server replaces a candidate to replace the server to be excluded, (2) replacing each candidate server And candidate specification information fetching means for fetching information on the specifications of the server, and (3) specification information of the replacement candidate server And (4) a failed server , a replacement server determining means for determining a server that replaces the server to be excluded, on the condition that the replacement candidate server can secure the performance capability of the server to be excluded. A delivery node confirmation means for determining whether the first data has already been delivered and deployed to the downstream server; and (5) the first data is delivered and deployed to the downstream server of the failed server. If not, the reconstructed tree replaced by the server determined by the replacement server determining means is determined as a tree applied to the delivery of the first data to the undelivered server, and a failure occurs. If the first data has already been delivered and deployed to a server downstream of the server that has been reconfigured, the tree before reconfiguration is transferred to the server that has not been delivered. In the distribution of new second data that will occur in the future, the reconstructed tree replaced by the server determined by the replacement server determination means will be applied to the tree to be applied. And an application tree deciding means for deciding.

第2の本発明、分散配置された複数のサーバが論理的にはツリー状に接続されているネットワークから、所定事象の出現に基づき、1つのサーバを除外した構成にツリー構成を再構成するツリー状ネットワーク再構成装置に搭載されるコンピュータを動作させるツリー状ネットワーク再構成プログラムであって、上記所定事象の出現とは、ツリー状ネットワークのルートノードのサーバから、ツリー構成に沿って、ツリー状ネットワークの全てのサーバに第1のデータを配備させるべく配送している際中にいずれかのサーバに障害が発生したことであり、上記コンピュータを、(1)除外対象の上記サーバに置き換わる候補である置き換え候補サーバを選出する候補選出手段と、(2)置き換え候補サーバのそれぞれについて、そのサーバのスペックの情報を取り込む候補スペック情報取込手段と、(3)置き換え候補サーバのスペック情報から見て、その置き換え候補サーバが除外対象の上記サーバの遂行能力以上を確保できることを1条件として、除外対象の上記サーバに置き換わるサーバを決定する置換サーバ決定手段と、(4)障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されているかを判別する配送済ノード確認手段と、(5)障害発生したサーバの下流のサーバに上記第1のデータが配送、配備されていない場合には、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定すると共に、障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されている場合には、再構成前のツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定し、かつ、今後生じる、新たな第2のデータの配送では、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを適用するツリーに決定する適用ツリー決定手段として機能させることを特徴とする。
第3の本発明は、分散配置された複数のサーバが論理的にはツリー状に接続されているネットワークから、所定事象の出現に基づき、1つのサーバを除外した構成にツリー構成を再構成するツリー状ネットワーク再構成装置におけるツリー状ネットワーク再構成方法において、上記所定事象の出現とは、ツリー状ネットワークのルートノードのサーバから、ツリー構成に沿って、ツリー状ネットワークの全てのサーバに第1のデータを配備させるべく配送している際中にいずれかのサーバに障害が発生したことであり、上記ツリー状ネットワーク再構成装置は、候補選出手段と、候補スペック情報取込手段と、置換サーバ決定手段と、配送済ノード確認手段と、適用ツリー決定手段とを有し、(1)除外対象の上記サーバに置き換わる候補である置き換え候補サーバを選出する上記候補選出手段が実行する候補選出ステップと、(2)置き換え候補サーバのそれぞれについて、そのサーバのスペックの情報を取り込む上記候補スペック情報取込手段が実行する候補スペック情報取込ステップと、(3)置き換え候補サーバのスペック情報から見て、その置き換え候補サーバが除外対象の上記サーバの遂行能力以上を確保できることを1条件として、除外対象の上記サーバに置き換わるサーバを決定する上記置換サーバ決定手段が実行する置換サーバ決定ステップと、(4)障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されているかを判別する上記配送済ノード確認手段が実行する配送済ノード確認ステップと、(5)障害発生したサーバの下流のサーバに上記第1のデータが配送、配備されていない場合には、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定すると共に、障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されている場合には、再構成前のツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定し、かつ、今後生じる、新たな第2のデータの配送では、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを適用するツリーに決定する上記適用ツリー決定手段が実行する適用ツリー決定ステップとを有することを特徴とする。
The second of the present invention, a network in which a plurality of servers that are distributed are connected logically to the tree-like, based on the occurrence of a predetermined event, to reconstruct the tree structure to the excluded configure one server A tree-like network reconfiguration program for operating a computer mounted on a tree-like network reconfiguration device, wherein the occurrence of the predetermined event is a tree-like configuration along a tree configuration from a server at the root node of the tree-like network. A failure occurred in one of the servers while delivering the first data to all the servers in the network, and the computer was replaced with (1) a candidate to replace the server to be excluded. Candidate selection means for selecting a replacement candidate server, and (2) each of the replacement candidate servers (3) Excluded on condition that the replacement candidate server can secure the performance capability of the server to be excluded, as one condition, in view of the specification information of the replacement candidate server. Replacement server determining means for determining a server to replace the target server ; and (4) a delivered node confirmation means for determining whether the first data has already been delivered and deployed to a server downstream of the failed server. (5) If the first data is not delivered or deployed to a server downstream of the failed server, the reconstructed tree replaced by the server determined by the replacement server determination unit is not stored. A tree to be applied to the delivery of the first data to the delivery server is determined, and the server downstream of the failed server Is already distributed and deployed, the tree before reconfiguration is determined as the tree to be applied to the delivery of the first data to the undelivered server, and a new In the delivery of the second data, the replacement server determination unit functions as an application tree determination unit that determines a tree to which the reconstructed tree replaced by the server determined is applied.
According to a third aspect of the present invention, a tree configuration is reconfigured from a network in which a plurality of servers arranged in a distributed manner are logically connected in a tree shape to a configuration in which one server is excluded based on the appearance of a predetermined event. In the tree-shaped network reconfiguration method in the tree-shaped network reconfiguration device, the occurrence of the predetermined event is a first event from the server at the root node of the tree-shaped network to all servers in the tree-shaped network along the tree configuration. A failure has occurred in one of the servers during delivery to deploy data, and the tree-shaped network reconfiguring device determines candidate selection means, candidate specification information fetching means, and replacement server determination. Means, a delivered node confirmation means, and an application tree determination means, (1) a candidate that replaces the server to be excluded A candidate selection step executed by the candidate selection means for selecting a replacement candidate server; (2) candidate specification information executed by the candidate specification information acquisition means for acquiring the specification information of the server for each of the replacement candidate servers; determining a capture step, and (3) replacing viewed from the specification information of the candidate servers, that the the replacement candidate server can ensure more performance capability of the server to be excluded as a condition, replace the server exclusion target server A replacement server determining step executed by the replacement server determining means; and (4) the delivered node confirmation means for determining whether the first data has already been delivered and deployed to a server downstream of the failed server. A delivery node confirmation step to be executed, and (5) a server downstream of the failed server If the first data is not distributed or deployed to the server, the reconstructed tree replaced by the server determined by the replacement server determining means is used as the first data to the undelivered server. When the tree to be applied to the delivery is determined and the first data is already delivered and deployed to the server downstream of the failed server, the tree before reconfiguration is sent to the undelivered server. The tree to be applied to the delivery of the first data is determined, and the new second data to be generated in the future applies the reconstructed tree replaced by the server determined by the replacement server determining means. And an application tree determining step executed by the application tree determining means for determining a tree.

本発明によれば、ツリー上の全てのノードに配送データを迅速に配備させることができるツリー状ネットワーク再構成装置及びプログラム、並びに、ツリー状ネットワーク再構成方法を実現することができる。 According to the present invention, it is possible to realize a tree-like network reconfiguration device and program , and a tree-like network reconfiguration method that can quickly distribute delivery data to all nodes on the tree.

第1の実施形態のコンテンツ配信システムの全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the content delivery system of 1st Embodiment. 第1の実施形態における複数の配信サーバの論理的な接続関係を示す説明図である。It is explanatory drawing which shows the logical connection relation of the some delivery server in 1st Embodiment. 第1の実施形態における配信サーバの内部構成を示す機能ブロック図である。It is a functional block diagram which shows the internal structure of the delivery server in 1st Embodiment. 第1の実施形態におけるコンテンツ管理サーバの内部構成を示す機能ブロック図である。It is a functional block diagram which shows the internal structure of the content management server in 1st Embodiment. 第1の実施形態における配送情報データベースにおける置き換えノード候補を評価するための情報の構成を示す説明図である。It is explanatory drawing which shows the structure of the information for evaluating the replacement node candidate in the delivery information database in 1st Embodiment. 第1の実施形態におけるコンテンツ管理サーバが実行する配送指示動作を示すフローチャートである。It is a flowchart which shows the delivery instruction | indication operation | movement which the content management server in 1st Embodiment performs. 第1の実施形態において、管理者からの配送指示に対し、コンテンツ配送が正常になされる場合の処理の流れを示すシーケンス図である。FIG. 9 is a sequence diagram illustrating a processing flow when content delivery is normally performed in response to a delivery instruction from an administrator in the first embodiment. 第1の実施形態において、管理者からの配送指示に応じて開始しようとしたコンテンツ配送の配送先を、障害の配信サーバのために置き換える必要が生じた場合の処理の流れを示すシーケンス図である。FIG. 9 is a sequence diagram illustrating a processing flow when it is necessary to replace a delivery destination of content delivery that is to be started in response to a delivery instruction from an administrator for a faulty delivery server in the first embodiment. . 第1の実施形態におけるコンテンツ管理サーバが実行するツリーの再構成処理を示すフローチャートである。It is a flowchart which shows the reconstruction process of the tree which the content management server in 1st Embodiment performs. 第1の実施形態における、障害ノードの置き換え候補と、障害ノードに直接接続されている上流ノードとの距離を計測する処理を示すシーケンス図である。It is a sequence diagram which shows the process which measures the distance of the replacement candidate of a failure node and the upstream node directly connected to a failure node in 1st Embodiment. 第1の実施形態におけるツリーの再構成後の構成を、従来におけるツリーの再構成後の構成と共に示す説明図である。It is explanatory drawing which shows the structure after the reconstruction of the tree in 1st Embodiment with the structure after the reconstruction of the tree in the past. 第2の実施形態におけるコンテンツ管理サーバが実行するツリーの再構成処理を示すフローチャートである。It is a flowchart which shows the reconstruction process of the tree which the content management server in 2nd Embodiment performs. 第2の実施形態における配送情報データベースにおける置き換えノード候補を評価するための情報の構成を示す説明図である。It is explanatory drawing which shows the structure of the information for evaluating the replacement node candidate in the delivery information database in 2nd Embodiment.

(A)第1の実施形態
以下、本発明によるツリー状ネットワーク再構成装置及びプログラム、並びに、ツリー状ネットワーク再構成方法の第1の実施形態を、図面を参照しながら説明する。第1の実施形態のツリー状ネットワークシステムは、コンテンツ配信システムである。
(A) First Embodiment Hereinafter, a first embodiment of a tree-like network reconfiguration device and program and a tree-like network reconfiguration method according to the present invention will be described with reference to the drawings. The tree-like network system of the first embodiment is a content distribution system.

(A−1)第1の実施形態の構成
図1は、第1の実施形態のコンテンツ配信システム1の全体構成を示すブロック図である。
(A-1) Configuration of the First Embodiment FIG. 1 is a block diagram showing the overall configuration of the content distribution system 1 of the first embodiment.

図1において、第1の実施形態のコンテンツ配信システム1は、複数の配信サーバ2−0〜2−Nと、コンテンツ管理サーバ3と、配送情報データベース(配送情報DB)4とがネットワーク5を介して通信可能に接続されている。   In FIG. 1, a content distribution system 1 according to the first embodiment includes a plurality of distribution servers 2-0 to 2-N, a content management server 3, and a distribution information database (distribution information DB) 4 via a network 5. Are connected to communicate.

ネットワーク5は、1つのネットワーク(例えば、IPネットワーク)であっても良く、また、複数のネットワークが融合したものであっても良い。さらに、ネットワーク5は、スター状、リング状、メッシュ状等のいずれの接続形態のものであっても良い。   The network 5 may be a single network (for example, an IP network), or may be a combination of a plurality of networks. Furthermore, the network 5 may have any connection form such as a star shape, a ring shape, or a mesh shape.

第1の実施形態のコンテンツ配信システム1は、このようなネットワーク5の構成に拘わらず、複数の配信サーバ2−0〜2−Nの論理的な接続関係が定まっている。すなわち、第1の実施形態のコンテンツ配信システム1の場合、複数の配信サーバ(適宜、ノードと呼ぶ)2−0〜2−Nは、論理的には、図2に示すようにツリー状に接続されている(図2は配信サーバが12個の場合を示している)。但し、コンテンツ管理サーバ3及びツリーデータベース4は、このツリー状ネットワークから離れて設けられている。ここで、ツリー状ネットワークとは、1つのルートノード2−0から徐々に枝分かれしつつ、末端のエンドノード2−5、2−7〜2−11へのコンテンツの配信経路が1本道になっているネットワークである。   In the content distribution system 1 of the first embodiment, the logical connection relationship between the plurality of distribution servers 2-0 to 2-N is determined regardless of the configuration of the network 5. That is, in the case of the content distribution system 1 of the first embodiment, a plurality of distribution servers (referred to as nodes as appropriate) 2-0 to 2-N are logically connected in a tree form as shown in FIG. (FIG. 2 shows a case where there are 12 distribution servers). However, the content management server 3 and the tree database 4 are provided apart from the tree network. Here, the tree-like network is gradually branched from one root node 2-0, and the content distribution route to the end nodes 2-5 and 2-7 to 2-11 is a single route. Network.

ルートノード2−0は、予め定まっている次(下流)のノード(図2の例では2−1及び2−2)へコンテンツを送信だけするノードである。各エンドノード2−5、2−7〜2−11はそれぞれ、予め定まっている前(上流)のノードから送信されたコンテンツを受信するだけのノードである。中間ノード2−1〜2−4、2−6は、予め定まっている前(上流)のノードから送信されたコンテンツを受信すると共に、そのコンテンツを予め定まっている次(下流)のノードへ送信するノードである。   The root node 2-0 is a node that only transmits content to predetermined next (downstream) nodes (2-1 and 2-2 in the example of FIG. 2). Each of the end nodes 2-5 and 2-7 to 2-11 is a node that only receives the content transmitted from the previous (upstream) node determined in advance. The intermediate nodes 2-1 to 2-4 and 2-6 receive the content transmitted from the previous (upstream) node determined in advance and transmit the content to the next (downstream) node determined in advance. It is a node.

この明細書において、「配送」とは各配信サーバにコンテンツを配備するために配信サーバから他の配信サーバへコンテンツを送信することを言い、一方、「配信」とは配信サーバが自己に配備されたコンテンツをユーザ端末へ送信することを言うこととする。   In this specification, “delivery” refers to transmitting content from a distribution server to another distribution server in order to deploy the content to each distribution server, while “distribution” refers to the distribution server being deployed to itself. Suppose that the transmitted content is transmitted to the user terminal.

各配信サーバ2−0〜2−Nはそれぞれ、配送されたコンテンツを自己に配備して、自己に割り当てられているユーザ端末にコンテンツを配信するサーバである。各配信サーバ2−0〜2−Nは、ユーザ端末の位置や密度等を考慮しながら、各地域に分散的に配置されているものである。   Each of the distribution servers 2-0 to 2-N is a server that distributes the distributed content to itself and distributes the content to the user terminals assigned to the distribution server. Each of the distribution servers 2-0 to 2-N is distributed in each region in consideration of the position and density of the user terminal.

図3は、配信サーバ2−n(nは0〜N)の内部構成を示した機能ブロック図であり、特には、中間ノードの内部構成を示している。   FIG. 3 is a functional block diagram showing the internal configuration of the distribution server 2-n (n is 0 to N), and particularly shows the internal configuration of the intermediate node.

配信サーバ2−nは、通信部10、配送コンテンツ受信部11、コンテンツ格納部12、配送コンテンツ送信部13、配送制御部14、コンテンツ配信部15及び配信制御部16を有する。   The distribution server 2-n includes a communication unit 10, a delivery content receiving unit 11, a content storage unit 12, a delivery content transmission unit 13, a delivery control unit 14, a content distribution unit 15, and a distribution control unit 16.

通信部10は、ネットワーク5側との通信(送受信)を行うものである。ネットワーク5が、例えばIPネットワークであれば、通信部10は、TCP/IP送受信部となる。なお、図3では、配信サーバ間でコンテンツを配送する通信部もユーザ端末にコンテンツを配信する通信部も共通なものを示したが、これら通信部が別個に設けられたものであっても良い。   The communication unit 10 performs communication (transmission / reception) with the network 5 side. If the network 5 is, for example, an IP network, the communication unit 10 is a TCP / IP transmission / reception unit. In FIG. 3, the communication unit that distributes the content between the distribution servers and the communication unit that distributes the content to the user terminal are shown in common. However, these communication units may be provided separately. .

配送コンテンツ受信部11は、上流ノードから配送(送信)された通信部10を介して与えられたコンテンツを受信処理して、コンテンツ格納部12に格納させるものである。   The delivery content receiving unit 11 receives the content given via the communication unit 10 delivered (transmitted) from the upstream node, and stores it in the content storage unit 12.

コンテンツ格納部12は、配送されたコンテンツを格納するものである。ここで、ユーザ端末に配信するためにコンテンツを格納する格納部と、上流ノードから配送されたコンテンツを下流ノードに送信するまで一時的に格納する格納部とを別個に設けるようにしても良い。このような2つの格納部構成の場合には、後者の格納部から前者の格納部へ移し替えることも適宜実行される。   The content storage unit 12 stores the delivered content. Here, a storage unit for storing content for distribution to the user terminal and a storage unit for temporarily storing the content delivered from the upstream node until it is transmitted to the downstream node may be provided separately. In the case of such two storage unit configurations, transfer from the latter storage unit to the former storage unit is also executed as appropriate.

配送コンテンツ送信部13は、コンテンツ格納部12に格納されているコンテンツを、通信部10を介して、下流ノードへ送信(配送)するものである。   The delivery content transmission unit 13 transmits (delivery) the content stored in the content storage unit 12 to the downstream node via the communication unit 10.

配送制御部14は、コンテンツ配送に係る各種の制御処理を実行するものである。例えば、配送制御部14は、配送コンテンツ受信部11によるコンテンツの受信が終了した場合には、受信が正常に終了したことを通信部10を介して配送元の配信サーバに通知し、受信が途中で失敗したときには受信エラーを通信部10を介して配送元の配信サーバに通知する。また例えば、配送制御部14は、通信部10を介してコンテンツ管理サーバ3から配送指示が与えられたときに、配送コンテンツ送信部13による下流ノードへのコンテンツ配送を起動するものである。さらに例えば、配送制御部14は、通信部10を介して、下流ノードからコンテンツの受信終了の通知や受信エラーを受け取ったときには、通信部10を介してコンテンツ管理サーバ3へ配送指示に従った配送を実行した旨やエラー発生を返信するものである。また例えば、配送制御部14は、下流ノードへのコンテンツ配送を開始しようとして又はコンテンツ配送中に、下流ノードの障害発生を認識したときには、通信部10を介してコンテンツ管理サーバ3へ障害発生又はエラー発生を通知するものである。   The delivery control unit 14 executes various control processes related to content delivery. For example, when the delivery content receiving unit 11 finishes receiving the content, the delivery control unit 14 notifies the delivery source delivery server via the communication unit 10 that the reception has been completed normally, and the reception is in progress. If it fails, a reception error is notified to the delivery server of the delivery source via the communication unit 10. Also, for example, the delivery control unit 14 activates content delivery to the downstream node by the delivery content transmission unit 13 when a delivery instruction is given from the content management server 3 via the communication unit 10. Further, for example, when the delivery control unit 14 receives a content reception end notification or a reception error from the downstream node via the communication unit 10, the delivery control unit 14 delivers the content according to the delivery instruction to the content management server 3 via the communication unit 10. Is returned and an error occurrence is returned. Further, for example, when the delivery control unit 14 recognizes the occurrence of a failure in the downstream node while trying to start delivery of content to the downstream node or during content delivery, a failure or error has occurred in the content management server 3 via the communication unit 10. It is a notification of occurrence.

第1に、コンテンツを配送する下流ノードの情報は配送指示に含まれていても良い。第2に、下流ノードの情報は配送指示に含まれておらず、配送制御部14が内部に下流ノードの情報を保持しておき、配送指示時に、その情報を取り出すようにしても良い。第3に、下流ノードの情報が配送指示に含まれていればそれに従い、下流ノードの情報が配送指示に含まれていなければ配送制御部14が内部に保持しておいた下流ノードの情報を利用するようにしても良い。後述するツリーの再構成後において、第1及び第3の方法では、配送指示に下流ノードの情報を含めることで再構成後の下流ノードへ配送を行うことができる。第2の方法の場合、配送指示に先立ち、再構成後の下流ノードの情報が与えられて配送制御部14が保持し、その後、配送指示が与えられることになる。   First, information on downstream nodes that deliver content may be included in the delivery instruction. Secondly, the downstream node information is not included in the delivery instruction, and the delivery control unit 14 may hold the downstream node information therein and take out the information at the time of the delivery instruction. Third, if the downstream node information is included in the delivery instruction, the downstream node information stored therein is stored in the delivery instruction if the downstream node information is not included in the delivery instruction. It may be used. After the tree reconfiguration described later, in the first and third methods, it is possible to perform delivery to the downstream node after reconfiguration by including information on the downstream node in the delivery instruction. In the case of the second method, prior to the delivery instruction, information on the downstream node after reconfiguration is given and held by the delivery control unit 14, and then the delivery instruction is given.

コンテンツ配信部15は、コンテンツ格納部12に格納されているコンテンツを、通信部10を介して、ユーザ端末へ配信するものである。コンテンツ配信部15は、配送コンテンツ送信部13と共用させたものであっても良い。   The content distribution unit 15 distributes the content stored in the content storage unit 12 to the user terminal via the communication unit 10. The content distribution unit 15 may be shared with the delivery content transmission unit 13.

配信制御部16は、ユーザ端末へのコンテンツ配信を制御するものである。ここで、ユーザ端末へのコンテンツ配信は、所定時刻になったときや、上位装置(図示せず)からに指示に従って、当該配信サーバ2−nが管轄する全てのユーザ端末へ一斉若しくは逐次配信であっても良く、また、配信を要求したユーザ端末への個別配信であっても良い。   The distribution control unit 16 controls content distribution to the user terminal. Here, the content distribution to the user terminals can be performed simultaneously or sequentially to all user terminals managed by the distribution server 2-n at a predetermined time or according to an instruction from a higher-level device (not shown). There may be individual distribution to the user terminal that requested the distribution.

図3は、上述したように、中間ノードとなっている配信サーバ2−nの内部構成を示している。ルートノードとなっている配信サーバ2−0は、配送コンテンツをネットワークから受け入れる構成がないものであっても良い。この場合、管理者のファイル設定操作等によって、コンテンツ格納部12にコンテンツを格納させることになる。また、ルートノードとなっている配信サーバ2−0も、図3と同様な構成を有し、配信サーバとは異なる外部装置が送信したコンテンツをネットワーク5から取り込んで、コンテンツ格納部12にコンテンツを格納させるようにしても良い。エンドノードとして、中間ノードとなることができるエンドノードの他、中間ノードとなることができないエンドノードがあっても良い。中間ノードとなることができるエンドノードは、図3に示す構成を有する。中間ノードとなることができないエンドノードは、コンテンツを下流ノードへ配送する構成がないものであっても良い。   FIG. 3 shows the internal configuration of the distribution server 2-n serving as an intermediate node as described above. The distribution server 2-0 serving as the root node may not be configured to accept delivery content from the network. In this case, the content is stored in the content storage unit 12 by an administrator's file setting operation or the like. Also, the distribution server 2-0 serving as the root node has the same configuration as that in FIG. 3, and takes in content transmitted from an external device different from the distribution server from the network 5, and stores the content in the content storage unit 12. You may make it store. As an end node, there may be an end node that cannot be an intermediate node in addition to an end node that can be an intermediate node. An end node that can be an intermediate node has the configuration shown in FIG. An end node that cannot be an intermediate node may be one that does not have a configuration for delivering content to downstream nodes.

コンテンツ管理サーバ3は、全て(但し、障害が発生しているものを除く)の配信サーバ2−0〜2−Nにコンテンツを配備させるべく、コンテンツの配送を管理、制御するサーバである。なお、コンテンツ管理サーバ3は、ユーザ端末へのコンテンツへの配信についても、管理、制御するものであっても良い。   The content management server 3 is a server that manages and controls the distribution of content in order to deploy the content to all the distribution servers 2-0 to 2-N (excluding those in which a failure has occurred). The content management server 3 may also manage and control the distribution of content to the user terminal.

図4は、コンテンツ管理サーバ3の内部構成を示した機能ブロック図である。コンテンツ管理サーバ3の一部機能が、CPU及びCPUが実行するプログラムによって実現されている場合であっても、機能的には、コンテンツ管理サーバ3の内部構成を図4で示すことができる。   FIG. 4 is a functional block diagram showing the internal configuration of the content management server 3. Even if some functions of the content management server 3 are realized by the CPU and a program executed by the CPU, the internal configuration of the content management server 3 can be functionally shown in FIG.

図4において、コンテンツ管理サーバ3は、通信部20、管理者インタフェース部21、ツリー基本構成格納部22、障害ノード格納部23、ツリー再構成部24及び配送指示制御部25を有する。   In FIG. 4, the content management server 3 includes a communication unit 20, an administrator interface unit 21, a tree basic configuration storage unit 22, a failure node storage unit 23, a tree reconfiguration unit 24, and a delivery instruction control unit 25.

通信部20は、ネットワーク5側との通信(送受信)を行うものである。ネットワーク5が、例えばIPネットワークであれば、通信部20は、TCP/IP送受信部となる。   The communication unit 20 performs communication (transmission / reception) with the network 5 side. If the network 5 is, for example, an IP network, the communication unit 20 is a TCP / IP transmission / reception unit.

管理者インタフェース部21は、キーボード、マウス、ディスプレイ等でなり、管理者による操作入力(例えば、配送指示)を取り込んだり、当該コンテンツ管理サーバ3における処理結果やガイダンスメッセージ等を管理者に知得させたりするものである。図4では、管理者が、コンテンツ管理サーバ3に直接操作するものを示したが、管理者がパソコンなどでなる管理者端末を操作し、その管理者端末とコンテンツ管理サーバ3との通信によって、管理者がコンテンツ管理サーバ3に指示を与えるものであっても良い。   The administrator interface unit 21 includes a keyboard, a mouse, a display, and the like. The administrator interface unit 21 captures an operation input (for example, a delivery instruction) by the administrator, and informs the administrator of a processing result in the content management server 3 and a guidance message. It is something to do. In FIG. 4, the administrator directly operates the content management server 3. However, the administrator operates an administrator terminal such as a personal computer, and communication between the administrator terminal and the content management server 3 The administrator may give an instruction to the content management server 3.

ツリー基本構成格納部22は、全ての配信サーバ2−0〜2−Nの図2に示すような基本的なツリー構成の情報を格納しているものであり、その格納情報は、適宜、配送指示制御部25によって読み出されるものである。ここで、基本的なツリー構成とは、いずれの配信サーバにも障害が発生していないときに、コンテンツの配送に利用するツリー構成をいう。後述するように、いずれかの配信サーバに障害が発生した場合にはツリーの再構成が実行される。この場合において、障害ノードが復旧したときには、ツリー基本構成格納部22に格納されている基本的なツリー構成を再度適用するようにしても良く、また、再構成されたツリーに、復旧したノードを所定ルールに従って追加して、新たな基本的なツリー構成としてツリー基本構成格納部22に上書きするようにしても良い。以下では、障害ノードが復旧したときには、ツリー基本構成格納部22に格納されている基本的なツリー構成を再度適用するものとして説明する。   The tree basic configuration storage unit 22 stores basic tree configuration information as shown in FIG. 2 of all the distribution servers 2-0 to 2-N. It is read by the instruction control unit 25. Here, the basic tree configuration refers to a tree configuration used for content delivery when no failure occurs in any of the distribution servers. As will be described later, when a failure occurs in any of the distribution servers, tree reconfiguration is executed. In this case, when the failed node is recovered, the basic tree configuration stored in the tree basic configuration storage unit 22 may be reapplied, and the recovered node is added to the reconfigured tree. It may be added according to a predetermined rule and overwritten in the tree basic configuration storage unit 22 as a new basic tree configuration. In the following description, it is assumed that the basic tree configuration stored in the tree basic configuration storage unit 22 is applied again when the failed node is recovered.

障害ノード格納部23は、障害が発生中の配信サーバの情報(サーバの識別情報や障害件時刻等)を格納しているものであり、格納情報は、配送指示制御部25によってアクセス(書込み、読出し、消去等)される。障害ノード格納部23に障害が発生した配信サーバの情報が格納されているときには、後述するツリーの再構成処理で決定された、その障害発生の配信サーバに置き換わる配信サーバの情報も併せて格納されるようになされている。   The failure node storage unit 23 stores information on a distribution server in which a failure has occurred (server identification information, failure case time, etc.). The storage information is accessed (written, written) by the delivery instruction control unit 25. Read, erase, etc.). When information on a distribution server in which a failure has occurred is stored in the failure node storage unit 23, information on a distribution server that replaces the distribution server in which the failure has occurred, which is determined in a tree reconfiguration process described later, is also stored. It is made so that.

配信サーバに障害があることは、上流の配信サーバがコンテンツを配送しようとしたときに検出することができる。また、コンテンツ管理サーバ3が定期的に各配信サーバの状態を確認して障害の発生を検出することもできる。   The failure of the distribution server can be detected when the upstream distribution server attempts to deliver the content. The content management server 3 can also periodically check the status of each distribution server and detect the occurrence of a failure.

ツリー再構成部24は、いずれかの配信サーバに障害が発生した場合、すなわち、基本的なツリー構成では、コンテンツが配送されない配信サーバが生じる場合に、配送指示制御部25の制御下で、ツリーを再構成するものである。ツリーの再構成処理は、いずれかの配信サーバに障害が生じたことを検出されたときに実行される。ツリー再構成部24による再構成方法については、後述する動作説明で明らかにする。   When a failure occurs in any of the distribution servers, that is, when there is a distribution server in which content is not distributed in the basic tree configuration, the tree reconfiguration unit 24 controls the tree under the control of the distribution instruction control unit 25. Is reconstructed. The tree reconfiguration process is executed when it is detected that any of the distribution servers has failed. The reconfiguration method by the tree reconfiguration unit 24 will be clarified in the operation description to be described later.

配送指示制御部25は、管理者からの配送指示を受け、その配送指示に係る配送元及び配送先の配信サーバ間の配送状況や、配送元及び配送先の配信サーバの障害有無等を確認し、基本的構成のツリー上のいずれかの配信サーバ若しくは再構成したツリー上のいずれかの配信サーバに対し、通信部20を介してコンテンツの配送指示を与えるものである。配送指示制御部25は、複数種類のコンテンツの配送を並行的に制御しても良い。配送指示制御部25は、それぞれのコンテンツをルートノード2−0に配備した時刻を管理している。   The delivery instruction control unit 25 receives a delivery instruction from the administrator, and confirms the delivery status between the delivery server of the delivery source and the delivery destination related to the delivery instruction, the presence / absence of a failure of the delivery server of the delivery source and the delivery destination, and the like. The content delivery instruction is given to the distribution server on the basic configuration tree or the distribution server on the reconfigured tree via the communication unit 20. The delivery instruction control unit 25 may control delivery of a plurality of types of content in parallel. The delivery instruction control unit 25 manages the time when each content is deployed to the root node 2-0.

配送情報データベース4は、詳細構成の図示は省略するが、コンテンツ管理サーバ3が処理時に参照する少なくとも2種類の情報を格納しているものである。第1の情報は、各配信サーバについて、コンテンツが未配送か配送済かを表す配送状況の情報である。配送に係るコンテンツが複数種類ある場合には、それぞれのコンテンツについて配送状況の情報が格納される。第2の情報は、基本的なツリー構成における中間ノードに障害が発生した場合において、その中間ノードに置き換わって、その中間ノードの下流ノードへのコンテンツ配送を行うノードとなり得る置き換え候補と、その候補を評価するための情報(候補評価用情報)である。   Although the detailed configuration is not shown, the delivery information database 4 stores at least two types of information that the content management server 3 refers to during processing. The first information is delivery status information indicating whether the content is undelivered or delivered for each delivery server. When there are a plurality of types of content related to delivery, information on the delivery status is stored for each content. The second information includes a replacement candidate that can be a node that replaces the intermediate node and delivers content to the downstream node of the intermediate node when a failure occurs in the intermediate node in the basic tree configuration, and the candidate Is information for evaluating (candidate evaluation information).

図1では、配送情報データベース4もネットワーク5の要素となっているものを示したが、配送情報データベース4が、コンテンツ管理サーバ3に対して専用回線によって接続されていても良く、また、コンテンツ管理サーバ3にケーブル等で直接接続されたものであっても良い。このような場合、コンテンツ管理サーバ3は、通信部20の他に配送情報データベース4にアクセスするための構成要素を備えることになる。   Although FIG. 1 shows that the delivery information database 4 is also an element of the network 5, the delivery information database 4 may be connected to the content management server 3 by a dedicated line. It may be directly connected to the server 3 with a cable or the like. In such a case, the content management server 3 includes a component for accessing the delivery information database 4 in addition to the communication unit 20.

図5は、配送情報データベース4における上述した候補評価用情報(第2の情報)の構成例を示す説明図であり、置き換え候補となり得る一部の配信サーバの情報を示している。   FIG. 5 is an explanatory diagram showing a configuration example of the above-described candidate evaluation information (second information) in the delivery information database 4, and shows information of some distribution servers that can be replacement candidates.

図5において、候補評価用情報は、置き換え候補の識別情報毎の行(レコード)を有し、各行は、その置き換え候補のサーバとしてのスペック(サーバとして備わっている処理能力)の情報と、距離情報とでなる。   In FIG. 5, the candidate evaluation information has a row (record) for each piece of replacement candidate identification information, and each row includes information on the specification (processing capability provided as a server) of the replacement candidate server and a distance. With information.

スペック情報としては、例えば、(a)下流ノードを収容できる数(下流ノードと接続可能なパス本数)、(b)下流ノードへの各パスにおける通信帯域、(c)コンテンツ配信可能本数(現在の状態から増加することが可能な余裕の配信本数)が記述される。距離情報は、当初は空欄であって、障害ノードが生じてその行のノードが置き換え候補となったときに、後述するように計測されて書き入れられるものである。   The specification information includes, for example, (a) the number of downstream nodes that can be accommodated (the number of paths that can be connected to the downstream nodes), (b) the communication bandwidth in each path to the downstream nodes, and (c) the number of contents that can be distributed (current The number of distributions that can be increased from the state) is described. The distance information is initially blank, and is measured and written in as described later when a failure node occurs and a node in that row becomes a replacement candidate.

図5の例では、配信サーバ2−7は置き換え候補になり得るサーバであり、配信サーバ2−7は、最大5個の下流ノードへコンテンツを配送することが可能であり、5本の下流ノードへのパスはそれぞれ、10[GB/s]、10[GB/s]、10[GB/s]、10[GB/s]、10[GB/s]の通信帯域を確保でき、現状より120個多いユーザ端末への配信が可能である。距離として「8.1」が記述されているが、これは、後述するよう距離計測処理がなされて書き入れられたものである。   In the example of FIG. 5, the distribution server 2-7 is a server that can be a replacement candidate, and the distribution server 2-7 can distribute the content to a maximum of five downstream nodes, and the five downstream nodes 10 [GB / s], 10 [GB / s], 10 [GB / s], 10 [GB / s], and 10 [GB / s] can be secured from the current path, respectively. Distribution to many user terminals is possible. “8.1” is described as the distance, which is written after the distance measurement processing is performed as described later.

この第1の実施形態の場合、障害ノードに置き換えられたノードは、下流ノードへのコンテンツ配送だけでなく、障害ノードに割り当てられているユーザ端末へのコンテンツ配信を引き継ぐ。但し、障害ノードに置き換えられたノードは、下流ノードへのコンテンツ配送だけを引き継ぎ、障害ノードに割り当てられているユーザ端末へのコンテンツ配信は他のルールによって引き継ぐノードを決定するようにしても良い。例えば、障害ノードとの距離が近いノード(若しくは基本構成上で障害ノードとのホップ数が少ないノード)で、コンテンツ配信に余裕があるノードが、障害ノードに割り当てられているユーザ端末へのコンテンツ配信を引き継ぐようにしても良い。このような場合であれば、(c)のコンテンツ配信可能本数は候補評価用情報から除外される。   In the case of the first embodiment, the node replaced with the failed node takes over not only the content delivery to the downstream node but also the content distribution to the user terminal assigned to the failed node. However, the node replaced with the failure node may take over only the content delivery to the downstream node, and the content delivery to the user terminal assigned to the failure node may be determined according to another rule. For example, a node that is close to the faulty node (or a node that has a small number of hops to the faulty node in the basic configuration) and that has a margin for content distribution is distributed to the user terminals assigned to the faulty node You may make it take over. In such a case, the number of content deliverables in (c) is excluded from the candidate evaluation information.

(A−2)第1の実施形態の動作
次に、第1の実施形態に係るコンテンツ配信システム1の動作を説明する。以下では、ツリーの再構成に関係する動作を中心に説明する。
(A-2) Operation of First Embodiment Next, the operation of the content distribution system 1 according to the first embodiment will be described. In the following, operations related to tree reconstruction will be mainly described.

管理者は、コンテンツ管理サーバ3に対して、基本的なツリー構成上、直接接続されている2つの配信サーバ(若しくはこれら配信サーバを結ぶパス)を指定してコンテンツの配送を指示する。このとき、コンテンツ管理サーバ3は、図6に示す適用ツリーの決定動作を実行する。   The administrator instructs the content management server 3 to deliver content by specifying two directly connected distribution servers (or paths connecting these distribution servers) in the basic tree configuration. At this time, the content management server 3 executes the operation for determining the application tree shown in FIG.

なお、配送に係るコンテンツが複数種類存在する場合には、管理者はコンテンツの種類を指定して配送を指示することになる。例えば、管理者は、ディスプレイ上に基本的なツリー構成を表示させ、その表示されたツリー構成のいずれかのパスを表示画面上で指定(例えばクリック)することにより、配送指示に係るパス(2つの配信サーバ)を指定する。なお、ディスプレイ上に基本的なツリー構成を表示させる際、全ての配信サーバについて、配送情報データベース4に格納されている配送状況を取出し、コンテンツが未配送の配信サーバと配送済の配信サーバとを区別(例えば、表示色を変える)して表示し、効率的にコンテンツ配送の指示を発行することができるようにしても良い。   If there are a plurality of types of content related to delivery, the administrator designates the type of content and instructs delivery. For example, the administrator displays a basic tree configuration on the display, and designates (for example, clicks) any one of the displayed tree configurations on the display screen, whereby the path (2 Specify one distribution server). When displaying the basic tree structure on the display, the delivery status stored in the delivery information database 4 is taken out for all delivery servers, and the delivery server to which the content has not been delivered and the delivery server to which the delivery has already been made. It is also possible to display by distinguishing (for example, changing the display color) so that a content delivery instruction can be issued efficiently.

コンテンツ管理サーバ3は、図6に示す処理を開始すると、まず、配送指示に係るコンテンツの各配信サーバへの配送状況を配送情報データベース4から取出すと共に、内蔵する障害ノード格納部23から障害情報を取り出す(ステップ100)。   When the processing shown in FIG. 6 is started, the content management server 3 first extracts the delivery status of the content related to the delivery instruction to each delivery server from the delivery information database 4 and obtains failure information from the built-in failure node storage unit 23. Remove (step 100).

そして、コンテンツ管理サーバ3は、障害ノードが存在するか否かを判別する(ステップ101)。障害ノードが存在しない場合には、コンテンツ管理サーバ3は、基本的なツリー構成に従ってコンテンツを配送することに決定し、管理者から指示された配送指示を、基本的なツリー構成にあてはめて配送元の配信サーバを定め(ステップ102)、その配送元の配信サーバへ配送指示を与える(ステップ103)。   Then, the content management server 3 determines whether or not a failure node exists (step 101). If there is no failure node, the content management server 3 decides to deliver the content according to the basic tree configuration, and applies the delivery instruction instructed by the administrator to the basic tree configuration, and the delivery source Distribution server is determined (step 102), and a delivery instruction is given to the delivery server of the delivery source (step 103).

障害ノードがあると、コンテンツ管理サーバ3は、障害検出時刻と、コンテンツをルートノード2−0に配備した時刻とを比較することにより、今回の配送指示に係るコンテンツの一連の配送動作が開始された以降に障害が発生した否かを判別する(ステップ104)。   If there is a failure node, the content management server 3 compares the failure detection time with the time when the content is deployed to the root node 2-0, thereby starting a series of content delivery operations related to the current delivery instruction. After that, it is determined whether or not a failure has occurred (step 104).

今回の配送指示に係るコンテンツの一連の配送動作が開始される前に障害が発生していると、コンテンツ管理サーバ3は、再構成されたツリー構成に従ってコンテンツを配送することに決定し、管理者から指示された配送指示を、再構成されたツリー構成にあてはめて配送元の配信サーバを定め(ステップ105)、その配送元の配信サーバへ配送指示を与える(ステップ103)。すなわち、コンテンツをルートノード2−0に配備する前に、障害ノードが生じていた場合には、再構成されたツリー構成を適用する。ステップ105を実行する際に、並行して、ツリーの再構成処理が行われていても良い。   If a failure occurs before a series of content delivery operations related to the current delivery instruction is started, the content management server 3 decides to deliver the content according to the reconfigured tree structure, and the administrator The delivery instruction instructed from is applied to the reconfigured tree structure to determine the delivery server of the delivery source (step 105), and the delivery instruction is given to the delivery server of the delivery source (step 103). That is, if a failure node has occurred before the content is deployed to the root node 2-0, the reconfigured tree configuration is applied. When step 105 is executed, a tree reconfiguration process may be performed in parallel.

一方、障害検出時刻と、コンテンツをルートノード2−0に配備した時刻との比較により、基本構成のツリー構成での配送を行っている際中に、いずれかのノードに障害が発生したと判別した場合には、コンテンツ管理サーバ3は、障害ノードの下流ノードへのコンテンツ配送が終了しているか否かを判別する(ステップ106)。障害ノードの下流ノードへのコンテンツ配送が終了していると、コンテンツ管理サーバ3は、基本的なツリー構成に従ってコンテンツを配送することに決定し、管理者から指示された配送指示を、基本的なツリー構成にあてはめて配送元の配信サーバを定め(ステップ102)、その配送元の配信サーバへ配送指示を与える(ステップ103)。これに対して、障害ノードの下流ノードへのコンテンツ配送がなされていないと、コンテンツ管理サーバ3は、再構成されたツリー構成に従ってコンテンツを配送することに決定し、管理者から指示された配送指示を、再構成されたツリー構成にあてはめて配送元の配信サーバを定め(ステップ105)、その配送元の配信サーバへ配送指示を与える(ステップ103)。   On the other hand, by comparing the failure detection time with the time when the content is deployed to the root node 2-0, it is determined that a failure has occurred in any of the nodes during delivery using the basic tree structure. If so, the content management server 3 determines whether or not the content delivery to the downstream node of the failed node has been completed (step 106). When the content delivery to the downstream node of the faulty node has been completed, the content management server 3 decides to deliver the content according to the basic tree structure, and sends the delivery instruction instructed by the administrator to the basic instruction. A delivery server as a delivery source is determined by applying to the tree configuration (step 102), and a delivery instruction is given to the delivery server as the delivery source (step 103). On the other hand, if the content delivery to the downstream node of the failed node has not been made, the content management server 3 decides to deliver the content according to the reconfigured tree structure, and the delivery instruction instructed by the administrator Is applied to the reconfigured tree structure to determine a delivery server as a delivery source (step 105), and a delivery instruction is given to the delivery server as a delivery source (step 103).

コンテンツ管理サーバ3は、図6に示す処理を実行し、障害ノードが生じた場合に、常に、再構成されたツリー構成を適用するのではなく、ツリー全体に対するコンテンツの配送状況に鑑み、障害ノードが生じた以降でも、基本的なツリー構成を適用するか、再構成されたツリー構成を適用するかを定める。従って、再構成されたツリー構成を適用することに一律に決めたような場合に比較し、コンテンツが配送されないノードが生じるようなことを防止できる。   The content management server 3 executes the processing shown in FIG. 6 and always applies the reconstructed tree configuration when a failure node occurs, and considers the failure node in view of the delivery status of the content to the entire tree. It is determined whether the basic tree structure or the reconstructed tree structure is applied even after the occurrence of the above. Therefore, it is possible to prevent the occurrence of a node to which no content is delivered, as compared with a case where it is uniformly decided to apply the reconfigured tree structure.

以上では、管理者が配送元及び配信先の配信サーバを特定した配送指示をコンテンツ管理サーバ3に対して与える場合を説明したが、全ノードへの配送指示をコンテンツ管理サーバ3に対して与えるようにしても良い。全ノードへの配送指示が与えられたコンテンツ管理サーバ3は、基本的なツリー構成におけるルートノード側のパスから、パスを1つずつ順に取出し、取出したパスに係る上流及び下流の配信サーバに係る配送指示を形成し、図6に示す配送指示が入力された場合の処理を実行するようにすれば良い。   In the above, the case where the administrator gives a delivery instruction specifying the delivery server of the delivery source and the delivery destination to the content management server 3 has been described. However, the delivery instruction to all nodes is given to the content management server 3. Anyway. The content management server 3 to which a delivery instruction to all nodes is given takes out one path at a time from the path on the root node side in the basic tree configuration, and relates to the upstream and downstream distribution servers related to the extracted path. A delivery instruction is formed, and the processing when the delivery instruction shown in FIG. 6 is input may be executed.

図7は、管理者からの配送指示に対し、コンテンツ配送が正常になされる場合の処理の流れを示すシーケンス図である。   FIG. 7 is a sequence diagram showing a processing flow when content delivery is normally performed in response to a delivery instruction from the administrator.

管理者6がコンテンツ管理サーバ3にコンテンツ配送指示を発行すると(ステップ200)、コンテンツ管理サーバ3は、配送状況を配送情報データベース4から取出したりしながら(ステップ201;図6のステップ100参照)、上述した図6の処理により、配送元(上流)の配信サーバ2−Uと配送先(下流)の配信サーバ2−Lとを確定し、上流の配信サーバ2−Uに対し、下流の配信サーバ2−Lへのコンテンツ配送を指示する(ステップ202)。   When the administrator 6 issues a content delivery instruction to the content management server 3 (step 200), the content management server 3 retrieves the delivery status from the delivery information database 4 (step 201; see step 100 in FIG. 6). Through the processing of FIG. 6 described above, the delivery server (upstream) delivery server 2-U and the delivery destination (downstream) delivery server 2-L are determined, and the downstream delivery server 2-U is downstream. Instruct the delivery of the content to 2-L (step 202).

この指示に従い、上流の配信サーバ2−Uは、下流の配信サーバ2−Lへコンテンツを配送する(ステップ203)。下流の配信サーバ2−Lは、コンテンツの受信が正常に終了した場合には、受信が正常に終了したことを上流(配送元)の配信サーバ2−Uに通知し(ステップ204)、上流の配信サーバ2−Uは、このとき、コンテンツ管理サーバ3へ配送指示に従った配送を実行した旨を返信する(ステップ205)。   In accordance with this instruction, the upstream delivery server 2-U delivers the content to the downstream delivery server 2-L (step 203). When the downstream distribution server 2-L receives the content normally, the downstream distribution server 2-L notifies the upstream (delivery source) distribution server 2-U that the reception has ended normally (step 204). At this time, the distribution server 2-U returns to the content management server 3 that the delivery according to the delivery instruction has been executed (step 205).

これにより、コンテンツ管理サーバ3は、配信サーバ2−Lへコンテンツを配送した旨の情報を配送情報データベース4へ与えて、配送情報データベース4の配信サーバ2−Lについての配送状況を配送済に更新させる(ステップ206)。そして、コンテンツ管理サーバ3は、配送情報データベース4からの格納応答を受けて、管理者6に対して、与えられた配送指示の配送が正常終了したことを通知する(ステップ207)。   Thereby, the content management server 3 gives information indicating that the content has been delivered to the delivery server 2-L to the delivery information database 4, and updates the delivery status of the delivery information database 4 for the delivery server 2-L to delivery completed. (Step 206). The content management server 3 receives the storage response from the delivery information database 4 and notifies the manager 6 that the delivery of the given delivery instruction has been completed normally (step 207).

図7に示す処理を、配送元及び配信先の配信サーバの組み合わせを換えて繰り返し行うことにより、ツリー状の全てのノード(配信サーバ)にコンテンツを配備することができる。   By repeatedly performing the processing shown in FIG. 7 by changing the combination of the delivery server and the delivery server, contents can be deployed to all nodes (distribution servers) in the tree shape.

図8は、管理者からの配送指示に応じて開始しようとしたコンテンツ配送の配送先を、障害の配信サーバのために置き換える必要が生じた場合の処理の流れを示すシーケンス図であり、図7との同一処理には同一符号を付している。   FIG. 8 is a sequence diagram showing a processing flow when it is necessary to replace a delivery destination of content delivery to be started in response to a delivery instruction from an administrator for a faulty delivery server. The same processes as those in FIG.

管理者からの配送指示に応じ、コンテンツ管理サーバ3が、上流の配信サーバ2−Uに対し、下流の配信サーバ2−Lへのコンテンツ配送を指示し、上流の配信サーバ2−Uが、下流の配信サーバ2−Lへコンテンツを配送しようとするまでの処理の流れは図7の場合と同様である(ステップ200〜203)。   In response to the delivery instruction from the administrator, the content management server 3 instructs the upstream delivery server 2-U to deliver the content to the downstream delivery server 2-L, and the upstream delivery server 2-U The processing flow until delivery of content to the distribution server 2-L is the same as in FIG. 7 (steps 200 to 203).

下流の配信サーバ2−Lに障害が発生していると(ステップ250)、上流の配信サーバ2−Uがコンテンツを下流の配信サーバ2−Lへ配送しようとしても配送できない。上流の配信サーバ2−Uは、下流の配信サーバ2−Lとのセッションが確立できないことや、下流の配信サーバ2−Lから、受信が正常に終了したことの通知が届かないこと等により、下流の配信サーバ2−Lに障害が発生していることを検出し、コンテンツ管理サーバ3に配送エラーを返信する(ステップ251)。   If a failure has occurred in the downstream delivery server 2-L (step 250), the upstream delivery server 2-U cannot deliver the content even if it tries to deliver the content to the downstream delivery server 2-L. The upstream distribution server 2-U cannot establish a session with the downstream distribution server 2-L, or the downstream distribution server 2-L does not receive a notification that the reception has been normally completed. It detects that a failure has occurred in the downstream delivery server 2-L, and returns a delivery error to the content management server 3 (step 251).

このとき、コンテンツ管理サーバ3は、下流の配信サーバ2−Lに障害が発生していることの障害情報を内部に格納すると共に(ステップ252)、後述するようなツリーの再構成処理を実行する(ステップ253)。   At this time, the content management server 3 stores therein failure information indicating that a failure has occurred in the downstream delivery server 2-L (step 252), and executes a tree reconfiguration process as described later. (Step 253).

ツリーの再構成処理により、障害ノード2−Lに置き換える配信サーバ2−Lnewが定まると、コンテンツ管理サーバ3は、上流の配信サーバ2−Uに対し、置換配信サーバ2−Lnewへのコンテンツ配送を指示する(ステップ254)。このような配送指示に応じた上流の配信サーバ2−U及び置換配信サーバ2−Lnewの処理は、図7の場合と同様である。   When the distribution server 2-Lnew to be replaced with the failed node 2-L is determined by the tree reconfiguration process, the content management server 3 delivers the content to the replacement distribution server 2-Lnew to the upstream distribution server 2-U. Instruct (step 254). The processing of the upstream distribution server 2-U and replacement distribution server 2-Lnew in response to such a delivery instruction is the same as in the case of FIG.

すなわち、上流の配信サーバ2−Uは、この配送指示に従い、置換配信サーバ2−Lnewへコンテンツを配送し(ステップ255)、置換配信サーバ2−Lnewは、コンテンツの受信が正常に終了したときに、受信が正常に終了したことを上流の配信サーバ2−Uに通知し(ステップ256)、上流の配信サーバ2−Uは、コンテンツ管理サーバ3へ配送指示に従った配送を実行した旨を返信し(ステップ257)、コンテンツ管理サーバ3は、置換配信サーバ2−Lnewへコンテンツを配送した旨の情報を配送情報データベース4へ与えて、配送情報データベース4の配信サーバ2−Lnewについての配送状況を配送済に更新させ(ステップ258)、コンテンツ管理サーバ3は、配送情報データベース4からの格納応答を受けて、管理者6に対して、与えられた配送指示の配送が終了したことを通知する(ステップ259)。但し、この終了通知では、配信ノード2−Lに障害が発生していたため、それに置き換わる配信サーバ2−Lnewへコンテンツを配送したことを管理者に通知する。   That is, the upstream delivery server 2-U delivers the content to the replacement delivery server 2-Lnew in accordance with this delivery instruction (step 255), and when the replacement delivery server 2-Lnew has successfully received the content, The upstream delivery server 2-U is notified that the reception has been normally completed (step 256), and the upstream delivery server 2-U returns a notification that the delivery according to the delivery instruction has been executed to the content management server 3. (Step 257), the content management server 3 gives information indicating that the content has been delivered to the replacement delivery server 2-Lnew to the delivery information database 4, and the delivery status of the delivery server 2-Lnew in the delivery information database 4 is determined. The content management server 3 is updated to the delivery completed (step 258), and receives the storage response from the delivery information database 4. The administrator 6, delivery of a given delivery instruction is notified of the completion (step 259). However, in this end notification, since a failure has occurred in the delivery node 2-L, the administrator is notified that the content has been delivered to the delivery server 2-Lnew that replaces it.

例えば、図2における配信サーバ2−0から配信サーバ2−2への配送指示時において、配送先の配信サーバ2−2に障害が発生していた場合には、配信サーバ2−2の下流の配信サーバ2−5、2−6、2−10へコンテンツを配送できなくなる。そのため、配信サーバ2−2に置き換わる配信サーバを定めて、配信サーバ2−2の下流の配信サーバ2−5、2−6、2−10へコンテンツを配送できるようにする。なお、第1の実施形態の場合、障害の配信サーバに置き換わった配信サーバは、障害の配信サーバに割り当てられていたユーザ端末への配信をも行うものとなる。   For example, in the case of a delivery instruction from the delivery server 2-0 to the delivery server 2-2 in FIG. Content cannot be delivered to the distribution servers 2-5, 2-6, and 2-10. For this reason, a distribution server that replaces the distribution server 2-2 is determined so that the content can be distributed to the distribution servers 2-5, 2-6, and 2-10 downstream of the distribution server 2-2. In the case of the first embodiment, the distribution server replaced with the failed distribution server also performs distribution to the user terminals assigned to the failed distribution server.

また例えば、図2における配信サーバ2−4から配信サーバ2−9への配送指示時において、配送先の配信サーバ2−9に障害が発生していた場合には、配信サーバ2−9の下流には配信サーバは存在しない。しかし、障害の配信サーバに割り当てられていたユーザ端末への配信を行う必要があるので、このようなエンドノードに障害が発生している場合にも、障害の配信サーバ2−9の配信を引き継ぐ配信サーバを定めることを要する。   Further, for example, if a failure has occurred in the delivery server 2-9 at the time of delivery from the delivery server 2-4 to the delivery server 2-9 in FIG. 2, the downstream of the delivery server 2-9 Has no distribution server. However, since it is necessary to perform distribution to the user terminal assigned to the faulty distribution server, even when a fault occurs in such an end node, the distribution of the faulty distribution server 2-9 is taken over. It is necessary to define a distribution server.

図8では、置換配信サーバ2−Lnewへコンテンツを常に配送するものを示したが、コンテンツ管理サーバ3は、置換配信サーバ2−Lnewが定まると、置換配信サーバ2−Lnewについての配送状況を配送情報データベース4から取出し、置換配信サーバ2−Lnewへの配送が既に済んでいる場合にはコンテンツの配送を実行せずに直ちに管理者に終了通知を行い、置換配信サーバ2−Lnewへの配送が済んでいない場合には置換配信サーバ2−Lnewへのコンテンツの配送を実行し、管理者に終了通知を行うようにしても良い。   Although FIG. 8 shows that the content is always delivered to the replacement delivery server 2-Lnew, the content management server 3 delivers the delivery status of the replacement delivery server 2-Lnew when the replacement delivery server 2-Lnew is determined. When the delivery to the replacement delivery server 2-Lnew has been completed, the notification is sent to the administrator immediately without executing the delivery of the content, and the delivery to the replacement delivery server 2-Lnew is performed. If not completed, delivery of content to the replacement delivery server 2-Lnew may be executed to notify the administrator of the end.

図8は、配送指示に係る配送先の配信サーバに障害が発生していた場合を示しているが、配送指示に係る配送元(上流)の配信サーバに障害が発生していた場合にも、コンテンツ管理サーバ3は、障害ノード2−Uに置き換える配信サーバ2−Unewが定めて、その置換配信サーバ2−Unewに対し、配信サーバ2−Lへのコンテンツ配送を指示するようにしても良い。例えば、配送指示を与えようとして行ったセッションの確立動作でも、配送元(上流)の配信サーバ2−Uとのセッションを確立できないことにより、コンテンツ管理サーバ3は、配送元(上流)の配信サーバの障害発生を検出することができる。   FIG. 8 shows a case where a failure has occurred in the delivery server of the delivery destination related to the delivery instruction, but also when a failure has occurred in the delivery server of the delivery source (upstream) related to the delivery instruction, The content management server 3 may determine the distribution server 2-Unew to be replaced with the failed node 2-U and instruct the replacement distribution server 2-Unew to deliver the content to the distribution server 2-L. For example, even if the session establishment operation performed in order to give a delivery instruction cannot establish a session with the delivery server (upstream) delivery server 2-U, the content management server 3 causes the delivery server (upstream) delivery server to The occurrence of failure can be detected.

図9は、コンテンツ管理サーバ3が実行するツリーの再構成処理(再構成プログラム)を示すフローチャートである。例えば、上述した図8のステップ253の処理として、ツリーの再構成処理が実行される。再構成処理が起動される場合は、上述した図8のような状況には限定されない。例えば、定期的な障害監視処理でいずれかのノードの障害が検出されたときに、ツリーの再構成処理を起動し、それ以降のコンテンツの配送指示に対応可能としておくようにしても良い。   FIG. 9 is a flowchart showing a tree reconfiguration process (reconfiguration program) executed by the content management server 3. For example, a tree reconstruction process is executed as the process of step 253 in FIG. 8 described above. When the reconfiguration process is activated, the situation is not limited to the situation shown in FIG. For example, when a failure of one of the nodes is detected in the periodic failure monitoring process, a tree reconfiguration process may be activated so as to be able to respond to subsequent content delivery instructions.

コンテンツ管理サーバ3は、図9に示す処理を開始するとまず、まず、置き換え候補を選出する(ステップ300)。置き換え候補の選出方法は限定されるものではない。例えば、選出する候補の最少数を定めておくようにしても良い。また例えば、基本的なツリー構成におけるエンドノードだけを置き換え候補とするようにしても良い。さらに例えば、基本的なツリー構成において、障害ノードの下流に位置していないノードを置き換え候補とするようにしても良い。また例えば、ルートノードからのホップ数が多い方のノードを置き換え候補とするようにしても良い。   When the content management server 3 starts the process shown in FIG. 9, first, a replacement candidate is selected (step 300). The method for selecting replacement candidates is not limited. For example, the minimum number of candidates to be selected may be determined. Further, for example, only end nodes in a basic tree configuration may be set as replacement candidates. Further, for example, in a basic tree configuration, a node that is not located downstream of the failed node may be used as a replacement candidate. Further, for example, a node having a larger number of hops from the root node may be set as a replacement candidate.

コンテンツ管理サーバ3は、置き換え候補を選出すると、次に、各置き換え候補の配信サーバについて配送情報データベース4に格納されているスペック情報に基づいて、置き換え候補の絞り込みを行う(ステップ301)。例えば、置き換え候補が収容できる下流ノードの数は、障害ノードが収容(接続)していた下流ノードの数以上になっている、置き換え候補における下流ノードへの各パスにおける通信帯域は、障害ノードの各パスにおける通信帯域を確保できる、置き換え候補は障害ノードに割り当てられていた全てのユーザ端末を引き受けられるという3つの要件を全て満たす置き換え候補に絞り込まれる。なお、このステップ301は、スペック情報に基づいて、要件の充足、不充足だけをマークするようにし、置き換え候補の絞り込みを実行せず、後述するステップ303による置き換えノードの決定処理で、マークした要件の充足性を利用するようにしても良い。上記では、障害ノードのスペック若しくは実績値を基準(閾値)として、置き換え候補のスペックの充足性を判断するものを示したが、障害ノードのスペック若しくは実績値に所定数を掛けた値を閾値として、置き換え候補のスペックの充足性を判断するようにしても良い。障害ノードが収容していたユーザ端末数をMとした場合、M×a(aは1.2)を閾値として置き換え候補の余裕配信数を評価するようにしても良い。   After selecting the replacement candidates, the content management server 3 next narrows down the replacement candidates based on the specification information stored in the delivery information database 4 for each replacement candidate delivery server (step 301). For example, the number of downstream nodes that can be accommodated by the replacement candidate is equal to or greater than the number of downstream nodes accommodated (connected) by the failed node. The replacement candidates that can secure the communication band in each path are narrowed down to replacement candidates that satisfy all three requirements that all user terminals assigned to the failed node can be accepted. In this step 301, based on the specification information, only the satisfaction or non-satisfaction of the requirements is marked, the replacement candidates are not narrowed down, and the replacement requirements are determined in the replacement node determination processing in step 303 described later. You may make it utilize the sufficiency of. In the above description, the failure node specification or actual value is used as a reference (threshold value) to determine the sufficiency of the replacement candidate specification. However, the failure node specification or actual value multiplied by a predetermined number is used as the threshold value. The sufficiency of the specification of the replacement candidate may be determined. When the number of user terminals accommodated by the failed node is M, M × a (a is 1.2) may be used as a threshold value to evaluate the number of surplus delivery candidates for replacement.

その後、コンテンツ管理サーバ3は、絞り込んだ各置き換え候補のそれぞれについて順次、障害ノードに直接接続されている上流ノードとの距離を計測させ、得られた距離情報を配送情報データベース4に格納させる(ステップ302)。   After that, the content management server 3 sequentially measures the distance from each of the narrowed replacement candidates to the upstream node directly connected to the failed node, and stores the obtained distance information in the delivery information database 4 (step 302).

そして、コンテンツ管理サーバ3は、計測した距離が最も短い置き換え候補を、障害ノードに置き換えるノードと決定し(ステップ303)、決定したノードを障害ノードに置き換えて適用されるように、内部の格納情報を変更する(ステップ304)。コンテンツ管理サーバ3は、例えば、内蔵する障害ノード格納部23に、障害ノードの情報に対応付けて、その障害ノードに置き換わるノードの情報を格納する。   Then, the content management server 3 determines the replacement candidate with the shortest measured distance as the node to be replaced with the failed node (step 303), and stores the internal storage information so that the determined node is replaced with the failed node and applied. Is changed (step 304). For example, the content management server 3 stores information on a node that replaces the failed node in the built-in failed node storage unit 23 in association with the failed node information.

図10は、コンテンツ管理サーバ3の主導の元で実行される、置き換え候補と、障害ノードに直接接続されている上流ノードとの距離を計測する処理(ステップ302)を示すシーケンス図である。   FIG. 10 is a sequence diagram showing processing (step 302) for measuring the distance between the replacement candidate and the upstream node directly connected to the failed node, which is executed under the initiative of the content management server 3.

コンテンツ管理サーバ3は、障害ノードに直接接続されている上流ノード2−Xに対し、置き換え候補のノード2−Yを特定した距離情報の取得要求(例えばネットワークアドレスで置き換え候補のノード2−Yを特定する)を送出する(ステップ400)。このとき、上流ノード2−Xは、折り返しを指示した情報を含むパケットを置き換え候補のノード2−Yに送信すると共に、その送信時刻を取得して格納する(ステップ401、402)。置き換え候補のノード2−Yは、そのようなパケットが到来したときにはそのパケットを折り返す(ステップ403)。上流ノード2−Xは、このような折り返しパケットが戻ってきたときには、その受信時刻を取得し(ステップ404)、送信時刻と受信時刻の差に予め求めておいたネットワーク5での平均通信速度を乗算してネットワーク距離を算出し(ステップ405)、算出したネットワーク距離をコンテンツ管理サーバ3に返信する(ステップ406)。置き換えノードの決定では、距離の大小が問題となるので、上述のような往復での距離を算出して用いても問題となることはない。   The content management server 3 requests the upstream node 2-X that is directly connected to the failed node to obtain a distance information specifying the replacement candidate node 2-Y (for example, the replacement candidate node 2-Y with a network address). (Specify) is transmitted (step 400). At this time, the upstream node 2-X transmits a packet including information instructed to return to the replacement candidate node 2-Y, and acquires and stores the transmission time (steps 401 and 402). The replacement candidate node 2-Y returns the packet when such a packet arrives (step 403). When such a return packet returns, the upstream node 2-X acquires the reception time (step 404), and obtains the average communication speed in the network 5 obtained in advance as the difference between the transmission time and the reception time. The network distance is calculated by multiplication (step 405), and the calculated network distance is returned to the content management server 3 (step 406). In determining the replacement node, the size of the distance becomes a problem. Therefore, there is no problem even if the round trip distance as described above is calculated and used.

障害ノードに置き換わるノードが決定され、ツリーが再構成されると、障害ノードが復旧するまで、この際構成されたツリー構成に従い、ルートノードからの各ノードへのコンテンツ配送が実行される。   When a node that replaces the failed node is determined and the tree is reconfigured, content delivery from the root node to each node is executed according to the tree configuration configured at this time until the failed node is restored.

次に、上述した置き換えノードの決定方法を、具体例を挙げて説明する。以下、図2に示す基本的なツリー構成における配信サーバ2−2に障害が発生し、配信サーバ2−2に置き換わる置き換えノードの決定が必要となったとする。図2に示すように、配信サーバ2−2は下流へのパスが2本のサーバである。また、それら各パスの通信帯域がそれぞれ5[GB/s]、5[GB/s]のものであり、配信サーバ2−2は、割り当てられている配信本数が90本のものであるとする。   Next, the replacement node determination method described above will be described with a specific example. Hereinafter, it is assumed that a failure occurs in the distribution server 2-2 in the basic tree configuration illustrated in FIG. 2 and it is necessary to determine a replacement node to replace the distribution server 2-2. As shown in FIG. 2, the distribution server 2-2 is a server having two downstream paths. In addition, the communication bandwidth of each of these paths is 5 [GB / s] and 5 [GB / s], respectively, and the distribution server 2-2 has 90 distributions allocated. .

ここで、置き換え候補は少なくとも3候補とし、障害ノードの下流に位置していないエンドノードであって、ルートノードからのホップ数が多い方のエンドノードを優先して置き換え候補にすることになっているとする。エンドノードは、下流へのコンテンツ配送を今まで実行していないので、中間ノードより、下流へのコンテンツ配送能力に余裕が高いと推測される。また、置き換えにより、ルートノードから置き換えノードまでのホップ数が、置き換え前より改善される度合いが高くなると推測されるため、ルートノードからのホップ数が多い方のエンドノードを優先させることは好ましい。さらに、障害ノードの下流に位置しているノードを置き換え候補とした場合には、ツリー状の上下が逆転する部分も生じてツリーの変更度合いが大きいので、障害ノードの下流に位置していないエンドノードを置き換え候補とすることは好ましい。   Here, the replacement candidate is at least three candidates, and the end node that is not located downstream of the failed node and that has the larger number of hops from the root node is given priority as the replacement candidate. Suppose that Since the end node has not performed the content delivery to the downstream, it is estimated that the capacity for delivering the content downstream is higher than the intermediate node. Further, since it is estimated that the number of hops from the root node to the replacement node is improved by the replacement, it is preferable to give priority to the end node having the larger number of hops from the root node. In addition, if a node located downstream of the faulty node is used as a replacement candidate, an end that is not positioned downstream of the faulty node is generated because a part of the tree is inverted and the degree of change of the tree is large. It is preferable to make a node a candidate for replacement.

なお、上述した選定方法に限定されないことは勿論である。例えば、中間ノードを置き換え候補にするような選定方法であっても良い。   Of course, the selection method is not limited to the above. For example, a selection method that makes an intermediate node a replacement candidate may be used.

上述した選定方法を適用した場合、障害ノード(障害が発生した配信サーバ)2−2の置き換え候補は、ノード2−7〜2−9となる。仮に、少なくとも4つを候補とする場合であれば、置き換え候補は、ノード2−7〜2−9、2−11となる。   When the selection method described above is applied, the replacement candidates for the failed node (distributed distribution server 2-2) are the nodes 2-7 to 2-9. If at least four candidates are used, the replacement candidates are nodes 2-7 to 2-9 and 2-11.

置き換え候補2−7〜2−9が、図5に示すスペックのものであったとする。障害ノード2−2は下流へのパスが2本であるので、いずれの置き換え候補2−7〜2−9も下流へのパス本数の要件は充足する。障害ノード2−2の各パスの通信帯域がそれぞれ5α、5β[B/s]であるので、これ以上の通信帯域を確保できる置き換え候補2−7及び2−9は通信帯域の要件を充足する。障害ノード2−2に割り当てられている配信本数が90本であるので、余裕配信本数がこれ以上である置き換え候補2−7及び2−9は引き受けられる配信本数の要件を充足する。   It is assumed that the replacement candidates 2-7 to 2-9 have the specifications shown in FIG. Since the failure node 2-2 has two downstream paths, any of the replacement candidates 2-7 to 2-9 satisfies the requirement for the number of downstream paths. Since the communication bandwidth of each path of the failed node 2-2 is 5α and 5β [B / s], the replacement candidates 2-7 and 2-9 that can secure a communication bandwidth higher than this satisfy the requirements for the communication bandwidth. . Since the number of distributions assigned to the faulty node 2-2 is 90, the replacement candidates 2-7 and 2-9 having a surplus number of distributions satisfy the requirement of the number of distributions that can be assumed.

以上のスペックに基づく置き換え候補の絞り込みでは、置き換え候補2−7及び2−9が残る。そこで、コンテンツ管理サーバ3は、このようにして残った置き換え候補2−7及び2−9のそれぞれと、障害ノード2−2の上位ノード2−0とのネットワーク距離を計測させる。この計測結果が、図5に示すような場合、コンテンツ管理サーバ3は、ネットワーク距離が短い方の置き換え候補であるノード(配信サーバ)2−9を、障害ノード2−2に置き換えるノードに決定する。   In the selection of replacement candidates based on the above specifications, replacement candidates 2-7 and 2-9 remain. Therefore, the content management server 3 measures the network distance between each of the replacement candidates 2-7 and 2-9 remaining in this way and the upper node 2-0 of the failed node 2-2. When the measurement result is as shown in FIG. 5, the content management server 3 determines that the node (distribution server) 2-9, which is the replacement candidate with the shorter network distance, is replaced with the failed node 2-2. .

図11(A)は、ノード2−9を障害ノード2−2に置き換えた、再構成されたツリーの構成を示している。ノード2−9は、障害ノード2−2に置き換えられたので、再構成前とは異なり、障害ノード2−2の上流ノード2−0からコンテンツが配送されるものとなる。   FIG. 11A shows a reconfigured tree configuration in which the node 2-9 is replaced with the failed node 2-2. Since the node 2-9 is replaced with the failed node 2-2, the content is delivered from the upstream node 2-0 of the failed node 2-2, unlike before the reconfiguration.

図11(B)は、ノード2−2に障害が発生した場合において、特許文献1に記載の再構成方法を適用して再構成されたツリーの構成を示している。すなわち、障害ノード2−2の下流のノード2−5及び2−6をそれぞれ、どのノードに収容させるという観点から再構成が実行され、ノード2−5をノード2−7に収容させ、ノード2−6をノード2−9に収容させると決定された場合を示している。   FIG. 11B shows the configuration of a tree reconfigured by applying the reconfiguration method described in Patent Document 1 when a failure occurs in the node 2-2. That is, the reconfiguration is executed from the viewpoint of accommodating the nodes 2-5 and 2-6 downstream of the failed node 2-2, and the node 2-5 is accommodated in the node 2-7. In this case, it is determined that −6 is accommodated in the node 2-9.

図11(A)及び図11(B)の比較から明らかなように、第1の実施形態の再構成方法を適用した方が、図2に示す当初の基本構成に近似したものとなっている。   As is clear from the comparison between FIG. 11A and FIG. 11B, the one to which the reconfiguration method of the first embodiment is applied approximates the original basic configuration shown in FIG. .

以上では、中間ノード2−2に障害が発生した場合を示したが(ルートノードに障害が発生した場合も同様な方法を適用できる)、エンドノードに障害が発生した場合は、例えば、以下のように処理する。ここで、エンドノード2−9に障害が発生したとする。このノード2−9はエンドノードであるので、コンテンツを下流へ配送する機能を備えていない。そのため、ノード2−9に障害が発生した場合には、ノード2−9に割り当てられている配信本数(ユーザ端末)を引く継ぐノードを定めれば良い。   The above shows the case where a failure occurs in the intermediate node 2-2 (the same method can be applied when a failure occurs in the root node), but when the failure occurs in the end node, for example, the following Process as follows. Here, it is assumed that a failure has occurred in the end node 2-9. Since this node 2-9 is an end node, it does not have a function of delivering content downstream. Therefore, when a failure occurs in the node 2-9, it is only necessary to determine a node to take over the number of distributions (user terminals) assigned to the node 2-9.

フローチャート等の図示は省略するが、コンテンツ管理サーバ3は、まず、引き継ぎ候補を選定する。ここでの引き継ぎ候補の選定方法も任意である。例えば、コンテンツの配送負荷が増えないので、中間ノードを引き継ぎ候補とするようにしても良い。コンテンツ管理サーバ3は、障害ノード2−9に割り当てられている配信本数以上の余裕配信本数を有する引き継ぎ候補に絞る。絞っても複数の引き継ぎ候補が残った場合には、コンテンツ管理サーバ3は、障害ノード2−9の上流ノード2−4との距離に基づいて、最終的に引き継ぐノードを決定する。障害ノード2−9と置き換えるわけではないので、障害ノード2−9の上流ノード2−4との距離が直接影響することはないが、障害ノードと引き継ぐノードとの距離は短い方が好ましい。障害ノードと引き継ぐノードとの距離を計測できないので、障害ノードと引き継ぐノードとの距離に代えて、障害ノード2−9の上流ノード2−4と引き継ぐノードとの距離を用いることにした。   Although illustration of a flowchart etc. is omitted, the content management server 3 first selects a takeover candidate. The selection method of the takeover candidate here is also arbitrary. For example, since the content distribution load does not increase, an intermediate node may be set as a takeover candidate. The content management server 3 narrows down to takeover candidates having a surplus number of distributions equal to or greater than the number of distributions allocated to the failure node 2-9. If a plurality of takeover candidates remain even after narrowing down, the content management server 3 finally determines a node to take over based on the distance of the failed node 2-9 to the upstream node 2-4. Since the fault node 2-9 is not replaced, the distance between the fault node 2-9 and the upstream node 2-4 is not directly affected, but the distance between the fault node and the takeover node is preferably short. Since the distance between the failed node and the succeeding node cannot be measured, the distance between the upstream node 2-4 of the failed node 2-9 and the succeeding node is used instead of the distance between the failed node and the succeeding node.

図示は省略するが、コンテンツ管理サーバ3は、例えば、定期的に障害ノードが復旧したか否かを監視し、障害ノードが復旧すると、基本的なツリー構成に従って、各ノードにコンテンツを配送する状態に戻す。また例えば、コンテンツ管理サーバ3は、管理者から、障害ノードが復旧した旨の入力があると、基本的なツリー構成に従って、各ノードにコンテンツを配送する状態に戻す。   Although illustration is omitted, for example, the content management server 3 periodically monitors whether or not the failed node has been recovered, and when the failed node is recovered, the content is delivered to each node according to a basic tree configuration. Return to. Also, for example, when the administrator inputs that the failed node has been recovered, the content management server 3 returns to a state in which the content is delivered to each node according to the basic tree configuration.

(A−3)第1の実施形態の効果
第1の実施形態によれば、コンテンツ配送中に配送済みノードでサーバ障害が発生した場合には、再構成したツリー構成を適用せずに、基本的なツリー構成をそのまま適用して、ツリー上の全てのノードに対するコンテンツ配送を実現し、新たな種類のコンテンツ配送から再構成したツリー構成を適用するようにしたので、コンテンツの配送中に、適用するツリー構成が切り分かることにより、配送されないノードが生じるような恐れが小さくすることができる。
(A-3) Effect of First Embodiment According to the first embodiment, when a server failure occurs in a delivered node during content delivery, the basic configuration is not applied without applying the reconfigured tree configuration. The tree structure is applied as it is, and the content delivery to all nodes on the tree is realized, and the tree structure reconstructed from a new type of content delivery is applied. By understanding the tree structure to be cut, it is possible to reduce the possibility of a node not being delivered.

また、第1の実施形態によれば、障害ノードが生じたときに、ツリー上でその障害ノードに置き換えるノードを決定して置き換えるようにしたので、ツリー構成を再構成しても、ツリー構成の変化を少なく抑えることができる。すなわち、ツリーを再構成しても、ルートノードからのホップ数が多くコンテンツが配送されるまでに長時間を要するようなノードの出現を抑えることができる。   Further, according to the first embodiment, when a failure node occurs, a node to be replaced with the failure node is determined and replaced on the tree. Therefore, even if the tree configuration is reconfigured, the tree configuration Change can be reduced. That is, even if the tree is reconfigured, it is possible to suppress the appearance of a node that has a large number of hops from the root node and takes a long time to deliver the content.

さらに、第1の実施形態によれば、置き換え候補となるノードについてスペック(処理能力)の情報を格納しておき、障害ノードが担っていた機能の実現を確保できることを確認して置き換えノードを決定するようにしたので、置き換えられたノードの能力不足により、コンテンツの配送や配信に悪影響が生じるようなことを未然に防止することができる。   Furthermore, according to the first embodiment, specifications (processing capability) information is stored for nodes that are candidates for replacement, and it is confirmed that the function that the faulty node has been able to be secured is determined. As a result, it is possible to prevent the content delivery and distribution from being adversely affected by the lack of capacity of the replaced node.

さらにまた、第1の実施形態によれば、障害ノードが担っていた機能をスペック的に充足できる置き換え候補が複数ある場合には、ネットワーク距離に基づいて置き換えノードを決定するようにしたので、障害ノードを置き換えたツリー構成において、その置き換えノードへのコンテンツ配送時間を短くすることができる。   Furthermore, according to the first embodiment, when there are a plurality of replacement candidates that can satisfy the function of the failed node in terms of specifications, the replacement node is determined based on the network distance. In a tree configuration in which a node is replaced, the content delivery time to the replaced node can be shortened.

また、第1の実施形態によれば、コンテンツの配送中に障害が生じた場合には、配送処理の一環として、その障害ノードに置き換わるノードを決定し、決定ノードにコンテンツを配送するようにしたので(図8参照)、全てのノードにコンテンツを配送して配備させるのに要する時間が、障害ノードの発生によって徒に長くなることを抑えることができる。   Further, according to the first embodiment, when a failure occurs during content delivery, a node that replaces the failed node is determined as part of the delivery process, and the content is delivered to the decision node. Therefore (see FIG. 8), it is possible to prevent the time required for delivering and deploying the contents to all the nodes from increasing due to the occurrence of the faulty node.

(B)第2の実施形態
次に、本発明によるツリー状ネットワーク再構成装置及びプログラム、並びに、ツリー状ネットワーク再構成方法の第2の実施形態を、図面を参照しながら説明する。第2の実施形態のツリー状ネットワークシステムも、コンテンツ配信システムである。
(B) Second Embodiment Next, a second embodiment of the tree-shaped network reconfiguration device and program and the tree-shaped network reconfiguration method according to the present invention will be described with reference to the drawings. The tree-like network system of the second embodiment is also a content distribution system.

第2の実施形態のコンテンツ配信システム1Aの全体構成も、第1の実施形態の説明で用いた図1で表わすことができる。また、第2の実施形態の配信サーバ2−nの内部構成も、第1の実施形態の説明で用いた図3で表わすことができる。さらに、第2の実施形態のコンテンツ管理サーバ3も、第1の実施形態の説明で用いた図4で表わすことができる。   The overall configuration of the content distribution system 1A of the second embodiment can also be represented in FIG. 1 used in the description of the first embodiment. The internal configuration of the distribution server 2-n of the second embodiment can also be represented in FIG. 3 used in the description of the first embodiment. Furthermore, the content management server 3 of the second embodiment can also be represented by FIG. 4 used in the description of the first embodiment.

第2の実施形態は、コンテンツ管理サーバ3が実行するツリーの再構成処理、すなわち、障害ノードに置き換わるノードの決定処理が第1の実施形態と異なっており、その他の処理は、第1の実施形態と同様である。図12は、第2の実施形態のコンテンツ管理サーバ3が実行するツリーの再構成処理(再構成プログラム)を示すフローチャートである。例えば、上述した図8のステップ253の処理として、ツリーの再構成処理が実行される。   The second embodiment is different from the first embodiment in a tree reconfiguration process executed by the content management server 3, that is, a determination process of a node that replaces a faulty node. Other processes are the same as those in the first embodiment. It is the same as the form. FIG. 12 is a flowchart illustrating a tree reconfiguration process (reconfiguration program) executed by the content management server 3 according to the second embodiment. For example, a tree reconstruction process is executed as the process of step 253 in FIG. 8 described above.

コンテンツ管理サーバ3は、図12に示す処理を開始するとまず、まず、置き換え候補を選出する(ステップ500)。第2の実施形態の場合も、置き換え候補の選出方法は限定されるものではなく、第1の実施形態の説明で例示したような方法を挙げることができる。   When the content management server 3 starts the process shown in FIG. 12, first, a replacement candidate is selected (step 500). Also in the case of the second embodiment, the method for selecting replacement candidates is not limited, and examples include the method exemplified in the description of the first embodiment.

コンテンツ管理サーバ3は、置き換え候補を選出すると、次に、各置き換え候補の配信サーバについて配送情報データベース4に格納されているスペック情報に基づいて、スペックの性能値を算出し、得られたスペックの性能値を配送情報データベース4に格納させる(ステップ501)。   After selecting the replacement candidate, the content management server 3 next calculates the performance value of the spec based on the spec information stored in the delivery information database 4 for each replacement candidate delivery server, The performance value is stored in the delivery information database 4 (step 501).

図13は、第2の実施形態の配送情報データベース4における候補評価用情報の構成例を示す説明図であり、置き換え候補となり得る一部の配信サーバの情報を示している。   FIG. 13 is an explanatory diagram illustrating a configuration example of candidate evaluation information in the delivery information database 4 according to the second embodiment, and illustrates information of some distribution servers that can be replacement candidates.

図13において、候補評価用情報は、置き換え候補の識別情報毎の行(レコード)を有し、各行は、その候補ノードのサーバとしてのスペックの生値情報と、スペックの段階値情報と、スペックの性能値と、距離情報と、優先度(トータル評価値)とでなる。図12に示す処理を開始する前では、スペックの生値情報だけが記述され、スペックの段階値情報、スペックの性能値、距離情報、及び、優先度(トータル評価値)は空欄となっており、図12に示す処理の進行と共に、徐々に記述されていくものである。   In FIG. 13, the candidate evaluation information includes a row (record) for each replacement candidate identification information, and each row includes spec raw value information, spec stage value information, spec specs, and the like as a server of the candidate node. Performance value, distance information, and priority (total evaluation value). Before the processing shown in FIG. 12 is started, only spec raw value information is described, and spec stage value information, spec performance value, distance information, and priority (total evaluation value) are blank. These are described gradually as the process shown in FIG. 12 proceeds.

スペックの生値情報は、第1の実施形態で「スペック情報」と呼んでいた情報であり、例えば、(a)下流ノードを収容できる数(下流ノードと接続可能なパス本数)、(b)下流ノードへの各パスにおける通信帯域、(c)コンテンツ配信可能本数(現在の状態から増加することが可能な余裕の配信本数)が該当する。   The spec raw value information is information called “spec information” in the first embodiment. For example, (a) the number of downstream nodes that can be accommodated (the number of paths that can be connected to the downstream nodes), (b) This corresponds to the communication bandwidth in each path to the downstream node, and (c) the number of contents that can be distributed (the number of distributions that can be increased from the current state).

スペックの段階値情報は、スペックの生値情報が取り得る範囲を複数の範囲に分割し、生値が属する分割範囲がどの評価段階に属するかを示す値に置き換えたものである(全ての項目について、段階値の大小は、その項目での評価の高低にあっている)。評価段階に対応した生値の分割範囲は、障害ノードの現状の状況によって変わるものである。   The spec stage value information is obtained by dividing the possible range of the spec raw value information into a plurality of ranges, and replacing them with values indicating to which evaluation stage the divided range to which the raw value belongs (all items). The scale of the stage value is based on the evaluation of the item). The raw value division range corresponding to the evaluation stage varies depending on the current state of the faulty node.

図13の場合、置き換え候補2−7〜2−9においてスペックの生値情報(a)である下流ノードを収容できる数はそれぞれ、下流への5本、3本、4本のパスに対応し得るものである。障害ノードの下流へのパス本数が2本であったとする。障害ノードの下流へのパス本数が2本の場合、図13のスペックの段階値情報(a)である下流ノードを収容できる数におけるスペックの段階値情報は、確保可能なパス数が0又は1のときに段階値を「0」、確保可能なパス数が2〜4のときに段階値を「1」、確保可能なパス数が5以上のときに段階値を「2」をとるように定められていれば、置き換え候補2−7〜2−9の下流へのパス本数についての段階値はそれぞれ、「2」、「1」、「1」となる。仮に、障害ノードの下流へのパス本数が5本であり、障害ノードの下流へのパス本数が5本の場合、確保可能なパス数が0〜4のときに段階値を「0」、確保可能なパス数が5又は6のときに段階値を「1」、確保可能なパス数が7以上のときに段階値を「2」をとるように定められていれば、置き換え候補2−7〜2−9の下流へのパス本数についての段階値はそれぞれ、「1」、「0」、「0」となる。   In the case of FIG. 13, the numbers that can accommodate the downstream nodes that are the raw value information (a) of the specifications in the replacement candidates 2-7 to 2-9 correspond to the downstream path of 5, 3, and 4, respectively. To get. Assume that the number of paths downstream from the failed node is two. When the number of downstream paths of the faulty node is two, the spec stage value information in the number that can accommodate the downstream node, which is the spec stage value information (a) of FIG. In this case, the step value is “0”, the step value is “1” when the number of paths that can be secured is 2 to 4, and the stage value is “2” when the number of paths that can be secured is 5 or more. If determined, the step values for the number of paths downstream of the replacement candidates 2-7 to 2-9 are “2”, “1”, and “1”, respectively. If the number of paths downstream from the failed node is 5 and the number of paths downstream from the failed node is 5, if the number of paths that can be secured is 0 to 4, the step value is set to “0”. If it is determined that the stage value is “1” when the number of possible paths is 5 or 6, and the stage value is “2” when the number of paths that can be secured is 7 or more, the replacement candidate 2-7 The step values for the number of downstream paths of ˜2-9 are “1”, “0”, and “0”, respectively.

以上では、障害ノードの下流へのパス本数に応じて、各段階値が取り得る生値の範囲を切り替える場合を示したが、障害ノードの下流へのパス本数に関係なく、各段階値が取り得る生値の範囲を固定的に定めるものであっても良い。   In the above, the case where the range of raw values that each stage value can take is switched according to the number of paths downstream of the failed node. However, each stage value is taken regardless of the number of paths downstream of the failed node. The range of raw values to be obtained may be fixedly determined.

通信帯域やコンテンツ配信可能本数についても、同様な方法により、スペックの生値情報からスペックの段階値情報が形成される。但し、通信帯域は、各パス毎に定まっているので、各パス毎に、段階値に変換した後、それらの段階値情報の平均値をとって、通信帯域についての段階値情報とする(なお、平均値として小数を認めるようにしても良く、また、整数に制限する場合であれば切り捨て若しくは四捨五入処理を行う)。   With regard to the communication band and the number of contents that can be distributed, the specification step value information is formed from the specification raw value information by the same method. However, since the communication band is determined for each path, after converting it to a step value for each path, the average value of the step value information is taken as step value information for the communication band (note that Decimal numbers may be accepted as average values, and rounding or rounding processing is performed when limiting to integers).

なお、図13の場合では、置き換え候補2−7〜2−9においてスペックの生値情報(b)である下流ノードへの各パスにおける通信帯域はそれぞれ、下流への10[GB/s](5本)、5[GB/s](3本)、10[GB/s](4本)の通信帯域に対応し得るものである。障害ノードの下流への通信帯域が5[GB/s]であったとする。障害ノードの下流への通信帯域が5[GB/s]の場合、図13のスペックの段階値情報(b)である下流ノードへの各パスにおける通信帯域におけるスペックの段階値情報は、確保可能な通信帯域のうち高い通信帯域を有する2本から選択された通信帯域がそれぞれ5[GB/s]未満のときに段階値を「0」、確保可能な通信帯域のうち高い通信帯域を有する2本から選択された通信帯域がそれぞれ5[GB/s]以上かつ10[GB/s]未満のときに段階値を「1」、確保可能な通信帯域のうち高い通信帯域を有する2本から選択された通信帯域がそれぞれ10[GB/s]以上のときに段階値を「2」をとるように定められていれば、置き換え候補2−7〜2−9の下流へのパス本数についての段階値はそれぞれ、「2」、「1」、「2」となる。   In the case of FIG. 13, in the replacement candidates 2-7 to 2-9, the communication bandwidth in each path to the downstream node that is the raw value information (b) of the specification is 10 [GB / s] ( 5), 5 [GB / s] (3), and 10 [GB / s] (4). Assume that the communication bandwidth downstream of the failed node is 5 [GB / s]. When the communication band downstream of the faulty node is 5 [GB / s], the specification step value information in the communication band in each path to the downstream node, which is the specification step value information (b) of FIG. The step value is “0” when the communication band selected from the two having a higher communication band among the various communication bands is less than 5 [GB / s], and the communication band having the higher communication band among the reservable communication bands is 2 When the communication band selected from the book is 5 [GB / s] or more and less than 10 [GB / s], the step value is “1”, and the communication band selected from the two that have a higher communication band among the available communication bands If the determined communication band is 10 [GB / s] or more and the stage value is determined to be “2”, the stage regarding the number of paths downstream from the replacement candidates 2-7 to 2-9 The values are “2” and “1”, respectively. "2".

次に、置き換え候補2−7〜2−9においてスペックの生値情報(c)であるコンテンツ配信可能本数はそれぞれ、120本、0本、110本に対応し得るものである。障害ノードのコンテンツ配信可能本数が100本であったとする。障害ノードの下流へのコンテンツ配信可能本数が50本の場合、図13のスペックの段階値情報(c)であるコンテンツ配信可能本数におけるスペックの段階値情報は、コンテンツ配信可能本数が50本未満のときに段階値を「0」、コンテンツ配信可能本数が50本以上かつ100本未満のときに段階値を「1」、コンテンツ配信可能本数が100本以上のときに段階値を「2」をとるように定められていれば、置き換え候補2−7〜2−9の下流へのパス本数についての段階値はそれぞれ、「2」、「0」、「2」となる。   Next, in the replacement candidates 2-7 to 2-9, the number of content deliverables that are the raw value information (c) of the specifications can correspond to 120, 0, and 110, respectively. Assume that the number of distributable contents of the faulty node is 100. When the number of content deliverables downstream of the faulty node is 50, the spec stage value information in the content deliverable number, which is the spec stage value information (c) in FIG. Sometimes the stage value is “0”, the stage value is “1” when the number of content deliverables is 50 or more and less than 100, and the stage value is “2” when the number of content deliverables is 100 or more. If so, the step values for the number of downstream paths of the replacement candidates 2-7 to 2-9 are “2”, “0”, and “2”, respectively.

図13では、全ての項目(下流へのパス本数、通信帯域、コンテンツ配信可能本数)共に段階数が3段階のものを示したが、項目によって段階数を変えるようにしても良い。   In FIG. 13, all items (the number of downstream paths, the communication bandwidth, and the number of contents that can be distributed) are shown as having three stages, but the number of stages may be changed depending on the item.

各項目の段階値情報を統合したものが、スペックの性能値である。図13では、各項目の段階値情報を乗算したものをスペックの性能値としたものを示したが、他の統合方法を適用するようにしても良い。例えば、各項目の段階値情報を重み付け加算したものをスペックの性能値とするようにしても良い。   The performance value of the specification is obtained by integrating the step value information of each item. In FIG. 13, the product obtained by multiplying the step value information of each item is used as the performance value of the specification. However, other integration methods may be applied. For example, the performance value of the specification may be obtained by weighted addition of the step value information of each item.

なお、図13の場合では、スペックの段階値情報の性能値は、「スペックの段階値情報(a)である下流ノードを収容できる数」と、「スペックの段階値情報(b)である下流ノードへの各パスにおける通信帯域におけるスペックの段階値情報」と、「スペックの段階値情報(c)であるコンテンツ配信可能本数におけるスペックの段階値情報」との積より、置き換え候補2−7〜2−9のスペックの段階値情報である性能値はそれぞれ、「8」、「0」、「4」となる。   In the case of FIG. 13, the performance value of the spec stage value information is “the number of downstream nodes that are the spec stage value information (a)” and “downstream that is the spec stage value information (b)”. From the product of the “spec stage value information in the communication band in each path to the node” and the “spec stage value information in the number of deliverable contents as the spec stage value information (c)”, replacement candidates 2-7 to The performance values that are the stage value information of the specifications 2-9 are “8”, “0”, and “4”, respectively.

スペックの性能値を算出すると、その後、コンテンツ管理サーバ3は、各置き換え候補のそれぞれについて順次、障害ノードに直接接続されている上流ノードとの距離を計測させ、得られた距離情報を配送情報データベース4に格納させる(ステップ502)。第2の実施形態の場合、スペック情報に基づいた置き換え候補の絞り込みは実行しないので、距離の計測は、選出された全ての置き換え候補について実行される。   After calculating the performance value of the spec, the content management server 3 then sequentially measures the distance from the upstream node directly connected to the failed node for each replacement candidate, and uses the obtained distance information as the delivery information database. 4 (step 502). In the case of the second embodiment, the replacement candidates are not narrowed down based on the specification information, and therefore distance measurement is executed for all selected replacement candidates.

そして、コンテンツ管理サーバ3は、配送情報データベース4に格納されたスペックの性能値及び距離情報に基づいて、各置き換え候補のそれぞれについて、スペックの性能値及び距離情報を融合したトータル評価値である優先度を計算し(ステップ503)、優先度が最も高い置き換え候補を、障害ノードに置き換えるノードと決定し(ステップ504)、決定したノードを障害ノードに置き換えて適用されるように、内部の格納情報を変更する(ステップ505)。   The content management server 3 then gives priority to a total evaluation value obtained by merging the spec performance value and the distance information for each replacement candidate based on the spec performance value and the distance information stored in the delivery information database 4. The degree of replacement is calculated (step 503), the replacement candidate with the highest priority is determined as the node to be replaced with the failed node (step 504), and the internal storage information is applied so that the determined node is replaced with the failed node. Is changed (step 505).

スペックの性能値及び距離情報が反映された優先度を算出できるものであれば、その算出方法は問われないものである。図13は、スペックの性能値を距離情報で割った後、10(補正値)倍した値を優先値としている。図13の例では、優先度Pは、「図13のスペックの段階値情報である性能値」と、「距離」の商より、置き換え候補2−7〜2−9のスペックの段階値情報である性能値はそれぞれ、「9.87」、「0」、「8.88」(小数点第3位以下を切り捨て)となり、優先度Pが最も大きな値となる置き換え候補2−7が障害ノードに置き換わるノードとして決定される。   Any method can be used as long as it can calculate the priority reflecting the performance value and distance information of the specification. In FIG. 13, the value obtained by dividing the performance value of the spec by the distance information and multiplying by 10 (correction value) is set as the priority value. In the example of FIG. 13, the priority P is the step value information of the specifications of the replacement candidates 2-7 to 2-9 based on the quotient of “performance value as the step value information of the specification of FIG. 13” and “distance”. The certain performance values are “9.87”, “0”, and “8.88” (rounded down to the second decimal place), and the replacement candidate 2-7 having the highest priority P is the failure node. It is determined as a node to replace.

第2の実施形態によっても、第1の実施形態とほぼ同様な効果を奏することができる。第2の実施形態によれば、置き換え候補のスペックを段階的に評価して優先度に反映させ、その優先度に基づいて、障害ノードに置き換わるノードを決定するようにしたので、負荷の小さいノードが置き換わるノードとして決定される可能性が高く、負荷が第1の実施形態より分散するといった効果を期待できる。   According to the second embodiment, substantially the same effect as that of the first embodiment can be obtained. According to the second embodiment, the specification of the replacement candidate is evaluated stepwise and reflected in the priority, and the node that replaces the failed node is determined based on the priority. Can be determined as a node to be replaced, and an effect that the load is distributed from the first embodiment can be expected.

因みに、第1の実施形態の場合、スペックの充足性だけを判定していたため、スペックが充足されていれば負荷が能力(スペック)に近く余裕が少なくても、置き換わるノードとして決定される可能性がかなりあった。   Incidentally, in the case of the first embodiment, only the sufficiency of the spec is determined, so if the spec is satisfied, the load may be determined as a replacement node even if the load is close to the capacity (spec) and there is little margin. There was quite a lot.

(C)他の実施形態
上記各実施形態の説明においても、種々変形実施形態に言及したが、さらに、以下に例示するような変形実施形態を挙げることができる。
(C) Other Embodiments In the description of each of the above-described embodiments, various modified embodiments have been referred to. However, modified embodiments as exemplified below can be given.

上記各実施形態では、置き換えノードの選択に利用する配信サーバのスペックが、下流ノードへのパス数、通信帯域及び余裕配信本数であるものを示したが、置き換えノードの選択に利用するスペックはこれらに限定されるものではない。例えば、配信サーバに搭載されているCPUの動作クロック周波数や、配信サーバに搭載されているメモリの総容量若しくは空き容量などを、置き換えノードの選択に利用するスペックとして用いるようにしても良い。適用するスペックの組み合わせも、上記各実施形態のものに限定されない。例えば、下流ノードへのパス数、通信帯域及びCPUの動作クロック周波数を利用するようにしても良い。   In each of the above embodiments, the specifications of the distribution server used for selecting the replacement node are the number of paths to the downstream node, the communication bandwidth, and the number of surplus distributions. However, the specifications used for selecting the replacement node are It is not limited to. For example, the operating clock frequency of the CPU mounted on the distribution server, the total capacity or free capacity of the memory mounted on the distribution server, and the like may be used as specifications used for selecting the replacement node. The combination of specifications to be applied is not limited to those in the above embodiments. For example, the number of paths to the downstream node, the communication band, and the operation clock frequency of the CPU may be used.

上記各実施形態では、スペック以外に障害ノードに置き換わるノードの決定に用いるパラメータが、障害ノードの上流ノードと置き換え候補とのネットワーク距離であるものを示したが、これに代え、又は、これに加え、他のパラメータを利用するようにしても良い。   In each of the above embodiments, the parameter used to determine the node that replaces the failed node other than the specification is the network distance between the upstream node of the failed node and the replacement candidate, but instead of this, or in addition to this Other parameters may be used.

例えば、各パスが双方向に通信可能とみなした場合において、障害ノードの上流ノードと、置き換え候補とを、基本的なツリー構成上で最短に結ぶパス数(ホップ数)であっても良い。ノード2−i及び2−j間のパスをP(2−i,2−j)で表わすこととする。例えば、図2において、ノード2−5に障害が発生し、障害ノードの上流ノードがノード2−2である場合において、置き換え候補がノード2−11であれば、パスP(2−0,2−2)、P(2−0,2−1)及びP(2−1,2−11)の3個のパスで両ノードを結ぶことができる。ノード2−5に障害が発生し、障害ノードの上流ノードがノード2−2である場合において、置き換え候補がノード2−7であれば、パスP(2−0,2−2)、P(2−0,2−1)、P(2−1,2−3)及びP(2−3,2−7)の4個のパスで両ノードを結ぶことができる。このようなパラメータは、ネットワーク距離に近似したものと取り扱うことが可能である。   For example, when each path is considered to be capable of bidirectional communication, the number of paths (the number of hops) that connects the upstream node of the failed node and the replacement candidate in the shortest on the basic tree configuration may be used. A path between the nodes 2-i and 2-j is represented by P (2-i, 2-j). For example, in FIG. 2, when a failure occurs in the node 2-5 and the upstream node of the failed node is the node 2-2, if the replacement candidate is the node 2-11, the path P (2-0, 2 -2), P (2-0, 2-1), and P (2-1, 11) can be used to connect both nodes. When a failure occurs in the node 2-5 and the upstream node of the failed node is the node 2-2, if the replacement candidate is the node 2-7, the paths P (2-0, 2-2), P ( Both nodes can be connected by four paths 2-0, 2-1), P (2-1, 2-3) and P (2-3, 2-7). Such parameters can be treated as approximating the network distance.

また例えば、コンテンツ管理サーバと置き換え候補とのネットワーク上の距離を、置き換えノードの決定に利用するようにしても良い。ここで、コンテンツ管理サーバがルートノードと共通になっている場合や、コンテンツ管理サーバが、基本的なツリー構成においてルートノードの上流に位置させている場合においては、ネットワーク距離に代え、コンテンツ管理サーバと、置き換え候補とを、基本的なツリー構成上で最短に結ぶパス数(ホップ数)を適用するようにしても良い。置き換えノードと、コンテンツ管理ノードとで制御情報等の授受が多くなるような場合であれば、このような制御情報の授受を迅速に実行させることができる。   Further, for example, the distance on the network between the content management server and the replacement candidate may be used for determining the replacement node. Here, when the content management server is shared with the root node, or when the content management server is located upstream of the root node in the basic tree configuration, the content management server is used instead of the network distance. Then, the number of paths (hops) connecting the replacement candidates in the shortest on the basic tree configuration may be applied. If there is a large amount of control information exchange between the replacement node and the content management node, such control information exchange can be quickly executed.

上記各実施形態では、コンテンツ管理サーバ3が置き換え候補のスペックの情報を格納しておき、置き換えノードの決定処理で格納されているスペック情報を利用するものを示したが、置き換え候補となり得る各ノードがそれぞれ、自己のスペックの情報を格納していて、コンテンツ管理サーバ3が置き換え候補からその候補のスペック情報をその都度収集し、置き換えノードの決定処理で用いるようにしても良い。   In each of the above-described embodiments, the content management server 3 stores the specification information of the replacement candidate and uses the specification information stored in the replacement node determination process. However, each node that can be a replacement candidate However, the content management server 3 may collect the specification information of each candidate from the replacement candidates each time and use it in the replacement node determination process.

また、上記各実施形態では、ツリー構成を再構成させる事象がいずれかのノードの障害である場合を示したが、他の事象であっても良い。例えば、ノードを定期点検するために、ツリー状ネットワークから切り離す場合のツリーの再構成の場合にも、本発明を適用することができる。   Further, in each of the above embodiments, the case where the event for reconfiguring the tree configuration is a failure of one of the nodes, but other events may be used. For example, the present invention can be applied to the case of reconfiguration of a tree when it is separated from a tree-like network in order to periodically check nodes.

さらに、上記各実施形態では、ユーザ端末に対してコンテンツを配信する複数の配信サーバを、論理的にはツリー状に分散配置したコンテンツ配信システムに、本発明を適用したものを示したが、本発明の用途はこれに限定されない。複数のサーバが論理的にはツリー状に配置され、ツリーのルートノードからエンドノードに向かって配送データ(コンテンツに限定されない)を枝分かれしながら配送することにより、各サーバに同一データを配備させるシステムであれば良い。従って、サーバからユーザ端末等にデータを配信する機能がないシステムであっても良い。   Further, in each of the above embodiments, the present invention is applied to a content distribution system in which a plurality of distribution servers that distribute content to user terminals are logically distributed in a tree shape. The application of the invention is not limited to this. A system in which a plurality of servers are logically arranged in a tree shape, and delivery data (not limited to content) is distributed while branching from the root node to the end node of the tree, thereby causing each server to deploy the same data. If it is good. Therefore, a system without a function for distributing data from a server to a user terminal or the like may be used.

1…コンテンツ配信システム、2−0〜2−N…配信サーバ、3…コンテンツ管理サーバ、4…配送情報データベース(配送情報DB)、10…通信部、11…配送コンテンツ受信部、12…コンテンツ格納部、13…配送コンテンツ送信部、14…配送制御部、20…通信部、21…管理者インタフェース部、22…ツリー基本構成格納部、23…障害ノード格納部、24…ツリー再構成部、25…配送指示制御部。   DESCRIPTION OF SYMBOLS 1 ... Content delivery system, 2-0-2-N ... Distribution server, 3 ... Content management server, 4 ... Delivery information database (delivery information DB), 10 ... Communication part, 11 ... Delivery content receiving part, 12 ... Content storage , 13 ... delivery content transmission unit, 14 ... delivery control unit, 20 ... communication unit, 21 ... administrator interface unit, 22 ... tree basic configuration storage unit, 23 ... fault node storage unit, 24 ... tree reconfiguration unit, 25 ... a delivery instruction control unit.

Claims (8)

分散配置された複数のサーバが論理的にはツリー状に接続されているネットワークから、所定事象の出現に基づき、1つのサーバを除外した構成にツリー構成を再構成するツリー状ネットワーク再構成装置において、
上記所定事象の出現とは、ツリー状ネットワークのルートノードのサーバから、ツリー構成に沿って、ツリー状ネットワークの全てのサーバに第1のデータを配備させるべく配送している際中にいずれかのサーバに障害が発生したことであり、
除外対象の上記サーバに置き換わる候補である置き換え候補サーバを選出する候補選出手段と、
置き換え候補サーバのそれぞれについて、そのサーバのスペックの情報を取り込む候補スペック情報取込手段と、
置き換え候補サーバのスペック情報から見て、その置き換え候補サーバが除外対象の上記サーバの遂行能力以上を確保できることを1条件として、除外対象の上記サーバに置き換わるサーバを決定する置換サーバ決定手段と
障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されているかを判別する配送済ノード確認手段と、
障害発生したサーバの下流のサーバに上記第1のデータが配送、配備されていない場合には、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定すると共に、障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されている場合には、再構成前のツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定し、かつ、今後生じる、新たな第2のデータの配送では、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを適用するツリーに決定する適用ツリー決定手段と
を有することを特徴とするツリー状ネットワーク再構成装置。
In a tree-like network reconfiguration device that reconfigures a tree configuration to a configuration in which one server is excluded based on the appearance of a predetermined event from a network in which a plurality of servers arranged in a distributed manner are logically connected in a tree shape ,
The occurrence of the predetermined event is any of the cases in which the first data is distributed from the server of the root node of the tree-like network to all the servers of the tree-like network along the tree structure. The server has failed,
Candidate selection means for selecting a replacement candidate server that is a candidate for replacing the server to be excluded;
For each of the replacement candidate servers, candidate spec information capturing means for capturing the spec information of the server,
A replacement server determination means for determining a server that replaces the server to be excluded, on the condition that the replacement candidate server can secure more than the performance of the server to be excluded as viewed from the specification information of the replacement candidate server ;
A delivered node confirmation means for determining whether the first data has already been delivered and deployed to a server downstream of the failed server;
If the first data is not delivered or deployed to a server downstream of the failed server, the reconstructed tree replaced by the server determined by the replacement server determining means is transferred to the undelivered server. If the first data is already delivered and deployed to a server downstream of the failed server, the tree before reconfiguration is determined as a tree to be applied to the delivery of the first data. In the distribution of the new second data that will be determined in the future for the delivery of the first data to the undelivered server, and the new second data that will be generated in the future, the replacement that has been replaced by the server determined by the replacement server determination means is performed. An application tree determining means for determining a tree to which the constructed tree is applied;
A tree-like network reconfiguring device characterized by comprising:
上記置換サーバ決定手段は、スペック情報の各項目がそれぞれ、除外対象の上記サーバで必要な遂行能力を充足していることを個別に確認して、除外対象の上記サーバに置き換わるサーバを決定することを特徴とする請求項1に記載のツリー状ネットワーク再構成装置。 The replacement server determining means individually confirms that each item of the specification information satisfies the performance required for the server to be excluded, and determines a server to replace the server to be excluded. The tree-shaped network reconfiguration apparatus according to claim 1 . 上記置換サーバ決定手段は、スペック情報の各項目の情報を統合した評価情報を算出して、除外対象の上記サーバに置き換わるサーバを決定することを特徴とする請求項1に記載のツリー状ネットワーク再構成装置。 2. The tree-like network reconfiguration according to claim 1 , wherein the replacement server determining means calculates evaluation information obtained by integrating information of each item of the specification information, and determines a server that replaces the server to be excluded. Configuration equipment. 上記置換サーバ決定手段は、所定サーバ若しくは外部装置とのネットワーク距離が短い方の上記置き換え候補サーバ、又は、所定サーバ又は外部装置との通信時のホップ数が少ない方の上記置き換え候補サーバを、優先して、除外対象の上記サーバに置き換わるサーバに決定することを特徴とする請求項2又は3に記載のツリー状ネットワーク再構成装置。 The replacement server determining means prioritizes the replacement candidate server having a shorter network distance to the predetermined server or the external device, or the replacement candidate server having a smaller number of hops when communicating with the predetermined server or the external device. 4. The tree-shaped network reconfiguring apparatus according to claim 2, wherein the server is replaced with the server to be excluded. スペック情報は、最小単位ずつ異なる値として記述されていることを特徴とする請求項2〜4のいずれかに記載のツリー状ネットワーク再構成装置。 The tree-shaped network reconfiguring apparatus according to any one of claims 2 to 4 , wherein the specification information is described as a different value for each minimum unit. スペック情報は、取り得る範囲を複数の範囲に分割し、各分割範囲に付与した段階評価値として記述されていることを特徴とする請求項2〜4のいずれかに記載のツリー状ネットワーク再構成装置。 The tree-like network reconfiguration according to any one of claims 2 to 4 , wherein the spec information is described as a step evaluation value obtained by dividing a possible range into a plurality of ranges. apparatus. 分散配置された複数のサーバが論理的にはツリー状に接続されているネットワークから、所定事象の出現に基づき、1つのサーバを除外した構成にツリー構成を再構成するツリー状ネットワーク再構成装置に搭載されるコンピュータを動作させるツリー状ネットワーク再構成プログラムであって、
上記所定事象の出現とは、ツリー状ネットワークのルートノードのサーバから、ツリー構成に沿って、ツリー状ネットワークの全てのサーバに第1のデータを配備させるべく配送している際中にいずれかのサーバに障害が発生したことであり、
上記コンピュータを、
除外対象の上記サーバに置き換わる候補である置き換え候補サーバを選出する候補選出手段と、
置き換え候補サーバのそれぞれについて、そのサーバのスペックの情報を取り込む候補スペック情報取込手段と、
置き換え候補サーバのスペック情報から見て、その置き換え候補サーバが除外対象の上記サーバの遂行能力以上を確保できることを1条件として、除外対象の上記サーバに置き換わるサーバを決定する置換サーバ決定手段と
障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されているかを判別する配送済ノード確認手段と、
障害発生したサーバの下流のサーバに上記第1のデータが配送、配備されていない場合には、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定すると共に、障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されている場合には、再構成前のツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定し、かつ、今後生じる、新たな第2のデータの配送では、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを適用するツリーに決定する適用ツリー決定手段と
して機能させることを特徴とするツリー状ネットワーク再構成プログラム。
A tree-shaped network reconfiguring device that reconfigures a tree configuration from a network in which a plurality of distributed servers are logically connected in a tree configuration to a configuration in which one server is excluded based on the appearance of a predetermined event A tree-shaped network reconfiguration program for operating a computer installed therein ,
The occurrence of the predetermined event is any of the cases in which the first data is distributed from the server of the root node of the tree-like network to all the servers of the tree-like network along the tree structure. The server has failed,
The above computer
Candidate selection means for selecting a replacement candidate server that is a candidate for replacing the server to be excluded;
For each of the replacement candidate servers, candidate spec information capturing means for capturing the spec information of the server,
A replacement server determination means for determining a server that replaces the server to be excluded, on the condition that the replacement candidate server can secure more than the performance of the server to be excluded as viewed from the specification information of the replacement candidate server ;
A delivered node confirmation means for determining whether the first data has already been delivered and deployed to a server downstream of the failed server;
If the first data is not delivered or deployed to a server downstream of the failed server, the reconstructed tree replaced by the server determined by the replacement server determining means is transferred to the undelivered server. If the first data is already delivered and deployed to a server downstream of the failed server, the tree before reconfiguration is determined as a tree to be applied to the delivery of the first data. In the distribution of the new second data that will be determined in the future for the delivery of the first data to the undelivered server, and the new second data that will be generated in the future, the replacement that has been replaced by the server determined by the replacement server determination means is performed. An application tree determining means for determining a tree to which the constructed tree is applied;
A tree-shaped network reconfiguration program characterized by being made to function.
分散配置された複数のサーバが論理的にはツリー状に接続されているネットワークから、所定事象の出現に基づき、1つのサーバを除外した構成にツリー構成を再構成するツリー状ネットワーク再構成装置におけるツリー状ネットワーク再構成方法において、In a tree-like network reconfiguration device that reconfigures a tree configuration to a configuration in which one server is excluded based on the appearance of a predetermined event from a network in which a plurality of servers arranged in a distributed manner are logically connected in a tree shape In the tree-shaped network reconfiguration method,
上記所定事象の出現とは、ツリー状ネットワークのルートノードのサーバから、ツリー構成に沿って、ツリー状ネットワークの全てのサーバに第1のデータを配備させるべく配送している際中にいずれかのサーバに障害が発生したことであり、  The occurrence of the predetermined event is any of the cases in which the first data is distributed from the server of the root node of the tree-like network to all the servers of the tree-like network along the tree structure. The server has failed,
上記ツリー状ネットワーク再構成装置は、候補選出手段と、候補スペック情報取込手段と、置換サーバ決定手段と、配送済ノード確認手段と、適用ツリー決定手段とを有し、The tree-shaped network reconfiguring apparatus includes candidate selection means, candidate specification information fetching means, replacement server determination means, delivered node confirmation means, and application tree determination means,
除外対象の上記サーバに置き換わる候補である置き換え候補サーバを選出する上記候補選出手段が実行する候補選出ステップと、A candidate selection step executed by the candidate selection means for selecting a replacement candidate server that is a candidate for replacing the server to be excluded;
置き換え候補サーバのそれぞれについて、そのサーバのスペックの情報を取り込む上記候補スペック情報取込手段が実行する候補スペック情報取込ステップと、For each replacement candidate server, a candidate spec information capturing step executed by the candidate spec information capturing means for capturing the spec information of the server,
置き換え候補サーバのスペック情報から見て、その置き換え候補サーバが除外対象の上記サーバの遂行能力以上を確保できることを1条件として、除外対象の上記サーバに置き換わるサーバを決定する上記置換サーバ決定手段が実行する置換サーバ決定ステップと、Executed by the replacement server determining means for determining a server that replaces the server to be excluded, on the condition that the replacement candidate server can secure the performance capability of the server to be excluded or higher, as viewed from the specification information of the replacement candidate server A replacement server determination step;
障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されているかを判別する上記配送済ノード確認手段が実行する配送済ノード確認ステップと、A delivered node confirmation step executed by the delivered node confirmation means for determining whether the first data has already been delivered and deployed to a server downstream of the failed server;
障害発生したサーバの下流のサーバに上記第1のデータが配送、配備されていない場合には、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定すると共に、障害発生したサーバの下流のサーバに上記第1のデータが既に配送、配備されている場合には、再構成前のツリーを、未配送のサーバへの上記第1のデータの配送に適用するツリーに決定し、かつ、今後生じる、新たな第2のデータの配送では、上記置換サーバ決定手段が決定したサーバによって置き換えられた再構成されたツリーを適用するツリーに決定する上記適用ツリー決定手段が実行する適用ツリー決定ステップとIf the first data is not delivered or deployed to a server downstream of the failed server, the reconstructed tree replaced by the server determined by the replacement server determining means is transferred to the undelivered server. If the first data is already delivered and deployed to a server downstream of the failed server, the tree before reconfiguration is determined as a tree to be applied to the delivery of the first data. In the distribution of the new second data that will be determined in the future for the delivery of the first data to the undelivered server, and the new second data that will be generated in the future, the replacement that has been replaced by the server determined by the replacement server determination means is performed. An application tree determining step executed by the application tree determining means for determining a tree to which the constructed tree is applied;
を有することを特徴とするツリー状ネットワーク再構成方法。A tree-shaped network reconfiguration method characterized by comprising:
JP2010194011A 2010-08-31 2010-08-31 Tree network reconfiguration device and program, and tree network reconfiguration method Active JP5533453B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010194011A JP5533453B2 (en) 2010-08-31 2010-08-31 Tree network reconfiguration device and program, and tree network reconfiguration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010194011A JP5533453B2 (en) 2010-08-31 2010-08-31 Tree network reconfiguration device and program, and tree network reconfiguration method

Publications (2)

Publication Number Publication Date
JP2012054674A JP2012054674A (en) 2012-03-15
JP5533453B2 true JP5533453B2 (en) 2014-06-25

Family

ID=45907573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010194011A Active JP5533453B2 (en) 2010-08-31 2010-08-31 Tree network reconfiguration device and program, and tree network reconfiguration method

Country Status (1)

Country Link
JP (1) JP5533453B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6091333B2 (en) * 2013-05-27 2017-03-08 株式会社Nttドコモ Network management apparatus and network management method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005025622A (en) * 2003-07-04 2005-01-27 Nippon Telegr & Teleph Corp <Ntt> Content delivery method, server tree formation device, server device, and its program
JP4496872B2 (en) * 2004-07-16 2010-07-07 ブラザー工業株式会社 Connection mode control device and relay device, connection mode control method and relay method, connection mode control program, and relay device program
JP4595469B2 (en) * 2004-09-29 2010-12-08 ブラザー工業株式会社 Connection mode control device, connection mode control method, and connection mode control program

Also Published As

Publication number Publication date
JP2012054674A (en) 2012-03-15

Similar Documents

Publication Publication Date Title
CN108370341B (en) Resource allocation method, virtual network function manager and network element management system
CN108243044B (en) Service deployment method and device
US10944655B2 (en) Data verification based upgrades in time series system
CN105912275A (en) Method and device for establishing connection in nonvolatile memory system
CN103607424B (en) Server connection method and server system
US10439901B2 (en) Messaging queue spinning engine
CN108633311A (en) A kind of method, apparatus and control node of the con current control based on call chain
CN106464545A (en) Fine-grained network monitoring
CN108846674A (en) The method and apparatus of signature are verified in block chain
US8725998B1 (en) Managing host computing devices with a host control component
CN110968479B (en) Service level full-link monitoring method and server for application program
CN112217727B (en) Multi-metric-dimension routing method and device, computer equipment and storage medium
CN109039959A (en) A kind of the consistency judgment method and relevant apparatus of SDN network rule
CN113079427B (en) ASON network service availability evaluation method based on network evolution model
JP5533453B2 (en) Tree network reconfiguration device and program, and tree network reconfiguration method
CN107733681B (en) A kind of scheduling scheme configuration method and device
EP2797260B1 (en) Risk mitigation in data center networks
CN105634792B (en) A kind of transmission method and device of configuration information
US11037214B2 (en) Generation of performance offerings for interactive applications
CN110011909A (en) Store gateway and storage gateway data sending, receiving method and device
CN113342500B (en) Task execution method, device, equipment and storage medium
CN109101367A (en) The management method and device of component in cloud computing system
CN109412944B (en) Request forwarding method and device based on micro-service and server
CN112965902A (en) Application system evaluation method and device
CN113641688A (en) Node updating method, related device and computer program product

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20120813

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130515

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140307

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140307

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140401

R150 Certificate of patent or registration of utility model

Ref document number: 5533453

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140414