JP2006261949A - Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system - Google Patents

Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system Download PDF

Info

Publication number
JP2006261949A
JP2006261949A JP2005075323A JP2005075323A JP2006261949A JP 2006261949 A JP2006261949 A JP 2006261949A JP 2005075323 A JP2005075323 A JP 2005075323A JP 2005075323 A JP2005075323 A JP 2005075323A JP 2006261949 A JP2006261949 A JP 2006261949A
Authority
JP
Japan
Prior art keywords
node
information
nodes
status information
current status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2005075323A
Other languages
Japanese (ja)
Inventor
Seiichiro Tanaka
誠一郎 田中
Toshiyuki Kano
敏行 加納
Kazuhiko Kuramochi
一彦 倉持
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.)
Toshiba Corp
Toshiba Digital Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Solutions Corp
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 Toshiba Corp, Toshiba Solutions Corp filed Critical Toshiba Corp
Priority to JP2005075323A priority Critical patent/JP2006261949A/en
Publication of JP2006261949A publication Critical patent/JP2006261949A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a distributed processing system, etc. which dynamically changes an processing execution node according to present status information of each node. <P>SOLUTION: The system discriminates nodes to be always targets updating present information if a change occurs, and nodes to be targets to notice only that there happens a change, not content of the change if a change occurs in each node, and manages the present information regarding to each node. In a case that external input information is input, the most appropriate processing execution node is decided according to the present information of each node. In the decision, communication cost is used as a reference so that communication amount of the distributed processing system can be mostly reduced and efficiently processed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、分散システムにおいて、処理実行ノードを動的に変更するための手法に関する。   The present invention relates to a technique for dynamically changing a process execution node in a distributed system.

分散処理システムとは、ネットワークによって接続された複数のノード(サーバ側やクライアント側の情報処理装置)で処理を分担し、その負荷を分散させるシステムである。この様な分散処理システムでは、システムの外部からの入力により、システム内のいずれかのノードで当該の外部入力情報に対応する処理を行う(以下、外部入力情報に対応した処理を行うノードを「処理実行ノード」と呼ぶ。)。   A distributed processing system is a system in which processing is shared by a plurality of nodes (server-side or client-side information processing devices) connected by a network and the load is distributed. In such a distributed processing system, processing corresponding to the external input information is performed at any node in the system by an input from outside the system (hereinafter, a node performing processing corresponding to the external input information is designated as “ Called “Process Execution Node”).

分散処理システムにおいて処理実行ノードとなることができるノードは、当該外部入力情報と、その入力情報の内容に対応したノードの現況情報を持つノードである。ここで、ノードの現況情報とは、現在の状況(最も新しい状況)において当該ノードが有する情報である。   A node that can be a process execution node in the distributed processing system is a node having the external input information and the current state information of the node corresponding to the content of the input information. Here, the current status information of a node is information that the node has in the current status (newest status).

ところで、全てのノードが、予め各ノードの現況情報を知っているシステムであれば、当該システムにおいては、外部入力情報を受取ったノード自身が処理実行ノードとなることができる。しかしながら、時々刻々と変化する各ノードの現況情報を全てのノードで更新するとすれば、通信量が多くなり、システム全体の効率を低下される恐れがある。この問題は、ネットワークにおける通信容量があまり多くないシステムにおいては、特に深刻である。   By the way, if all nodes know the current status information of each node in advance, in the system, the node itself that has received the external input information can be a process execution node. However, if the current status information of each node that changes from moment to moment is updated in all nodes, the amount of communication increases and the efficiency of the entire system may be reduced. This problem is particularly serious in a system where the communication capacity in the network is not very large.

なお、本願に関連する公知文献としては、例えば次のようなものがある。
特開2000−112904号公報
In addition, as a well-known document relevant to this application, there exist the following, for example.
JP 2000-112904 A

本発明は、上記事情を鑑みてなされたもので、時々刻々と変化する各ノードの現況情報を全てのノードで更新する必要性をなくすと共に、各ノードが把握している現況情報に応じて処理実行ノードを動的に変更させ、これによって通信における負荷を軽減させシステム全体の効率を上昇させる分散処理システム、及び分散処理システムにおいて使用される情報処理装置を提供することを目的としている。   The present invention has been made in view of the above circumstances, and eliminates the necessity of updating the current status information of each node that changes from time to time in all nodes, and processes according to the current status information grasped by each node. An object of the present invention is to provide a distributed processing system that dynamically changes execution nodes, thereby reducing communication load and increasing the efficiency of the entire system, and an information processing apparatus used in the distributed processing system.

本発明は、上記目的を達成するため、次のような手段を講じている。   In order to achieve the above object, the present invention takes the following measures.

本発明の第1の視点は、
ネットワークを介して接続されそれぞれが所定の情報処理を実行する複数のノードを具備する分散処理システムであって、前記複数のノードのそれぞれは、前記複数のノード及び各ノード間を接続する前記ネットワークの構造に関する第1の情報と、自ノードの現況情報を配信する配信先の他ノードである現況情報配信先ノードの一覧、及び、自ノードに変化が発生した場合に変化があったことを知らせる変更フラグを配信する配信先の他ノードである変更フラグ配信先ノードの一覧を含む第2の情報と、他ノードの現況情報の有無、他ノードの現況情報、当該他ノードの現況情報の最新情報を受信した時刻を含む第3の情報と、を記憶する記憶手段と、外部入力情報を受付ける受付手段と、前記外部入力情報に対する処理を行う第1のノードの決定処理を自ノードで行うか他ノードで行うかを、前記第3の情報に基づいて判定する判定手段と、前記第1のノードの前記決定処理を他ノードで行うと判定した場合には、前記第1の情報及び前記第2の情報を用いて、当該分散処理システムにおける通信負荷を定量的に示す指標である通信コストを各ノード毎に計算し、その計算値に基づいて、前記決定処理を実行する第2のノードを決定する第1の決定手段と、前記ネットワークを介して、前記第2のノードに対して前記決定処理を依頼する依頼手段と、前記第1のノードの前記決定処理を自ノードで行うと判定した場合には、前記第3の情報を用いて、前記第1のノードの前記決定処理を実行する第2の決定手段と、を具備することを特徴とする分散処理システムである。
The first aspect of the present invention is:
A distributed processing system that includes a plurality of nodes that are connected via a network and that each execute predetermined information processing, wherein each of the plurality of nodes includes the plurality of nodes and the network that connects each node. The first information on the structure, the list of the current status information delivery destination nodes that are other nodes of the delivery destination that delivers the current status information of the own node, and the change notifying that a change has occurred in the own node Second information including a list of change flag delivery destination nodes that are other nodes to which the flag is delivered, presence / absence of current status information of other nodes, current status information of other nodes, and latest information of current status information of the other nodes Storage means for storing the third information including the received time, reception means for receiving the external input information, and a first node for processing the external input information If it is determined that the determination process of the first node is performed by the own node or the other node based on the third information, and the determination process of the first node is determined by the other node Using the first information and the second information, a communication cost that is an index that quantitatively indicates a communication load in the distributed processing system is calculated for each node, and the determination is performed based on the calculated value. First determination means for determining a second node to execute processing; request means for requesting the second node to perform the determination processing via the network; and the determination of the first node And a second determination unit that executes the determination process of the first node using the third information when it is determined that the process is to be performed by the own node. It is a processing system.

本発明の第2の視点は、分散処理システムに用いられるノードを構成し、他のノードとネットワークを介して接続され、所定の情報処理を実行する情報処理装置であって、前記複数のノード及び各ノード間を接続する前記ネットワークの構造に関する第1の情報と、自ノードの現況情報を配信する配信先の他ノードである現況情報配信先ノードの一覧、及び、自ノードに変化が発生した場合に変化があったことを知らせる変更フラグを配信する配信先の他ノードである変更フラグ配信先ノードの一覧を含む第2の情報と、他ノードの現況情報の有無、他ノードの現況情報、当該他ノードの現況情報の最新情報を受信した時刻を含む第3の情報と、を記憶する記憶手段と、外部入力情報を受付ける受付手段と、前記外部入力情報に対する処理を行う第1のノードの決定処理を自ノードで行うか他ノードで行うかを、前記第3の情報に基づいて判定する判定手段と、前記第1のノードの前記決定処理を他ノードで行うと判定した場合には、前記第1の情報及び前記第2の情報を用いて、当該分散処理システムにおける通信負荷を定量的に示す指標である通信コストを各ノード毎に計算し、その計算値に基づいて、前記決定処理を実行する第2のノードを決定する第1の決定手段と、前記ネットワークを介して、前記第2のノードに対して前記決定処理を依頼する依頼手段と、前記第1のノードの前記決定処理を自ノードで行うと判定した場合には、前記第3の情報を用いて、前記第1のノードの前記決定処理を実行する第2の決定手段と、を具備することを特徴とする情報処理装置である。   According to a second aspect of the present invention, there is provided an information processing apparatus that configures a node used in a distributed processing system, is connected to another node via a network, and executes predetermined information processing. When the first information on the structure of the network connecting between the nodes, a list of current information distribution destination nodes that are other distribution destination nodes that distribute the current status information of the own node, and changes in the own node Second information including a list of change flag delivery destination nodes that are other nodes of the delivery destination that delivers a change flag that informs that there has been a change, presence / absence of current status information of other nodes, current status information of other nodes, Storage means for storing the third information including the time when the latest information on the current status information of the other nodes is received, receiving means for receiving external input information, and processing for the external input information. Determining means for determining whether the determination process of the first node is performed by the own node or another node based on the third information, and the determination process of the first node is performed by another node If it is determined, using the first information and the second information, the communication cost, which is an index that quantitatively indicates the communication load in the distributed processing system, is calculated for each node, and the calculated value is Based on first determination means for determining a second node for executing the determination processing, request means for requesting the second node to perform the determination processing via the network, and the first Second determination means for executing the determination process of the first node using the third information when it is determined that the determination process of the node is performed by the own node. An information processing device characterized by .

以上本発明によれば、時々刻々と変化する各ノードの現況情報を全てのノードで更新する必要性をなくすと共に、各ノードが把握している現況情報に応じて処理実行ノードを動的に変更させ、これによって通信における負荷を軽減させシステム全体の効率を上昇させる分散処理システム、及び分散処理システムにおいて使用される情報処理装置を実現することができる。   As described above, according to the present invention, it is not necessary to update the current status information of each node that changes every moment, and the process execution node is dynamically changed according to the current status information grasped by each node. Thus, it is possible to realize a distributed processing system that reduces the communication load and increases the efficiency of the entire system, and an information processing apparatus used in the distributed processing system.

以下、本発明の各実施形態を図面に従って説明する。なお、以下の説明において、略同一の機能及び構成を有する構成要素については、同一符号を付し、重複説明は必要な場合にのみ行う。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, components having substantially the same function and configuration are denoted by the same reference numerals, and redundant description will be given only when necessary.

(第1の実施形態)
図1は、本実施形態に係る分散処理システム1の構成を示した図である。同図に示すように、本分散処理システム1は、ネットワークによって接続されたノードA〜ノードHまでの8個のノードによって構成されている。各ノードは、少なくとも一つの他のノードとネットワーク接続されており、自分以外のノードと直接的又は間接的にデータのやり取りが可能となっている。
(First embodiment)
FIG. 1 is a diagram showing a configuration of a distributed processing system 1 according to the present embodiment. As shown in the figure, the distributed processing system 1 is composed of eight nodes from node A to node H connected by a network. Each node is network-connected to at least one other node, and can exchange data directly or indirectly with other nodes.

なお、以下の説明においては、自分自身のノードを「自ノード」、自分以外のノードを「他ノード」とよぶ。また、各ノードは、予め本分散処理システム1のネットワーク構成を知っているものとする。さらに、ネットワーク構成が動的に変更された場合には、最新のネットワーク構成を取得できるものとする。   In the following description, the own node is referred to as “own node”, and the other nodes are referred to as “other nodes”. Each node is assumed to know the network configuration of the distributed processing system 1 in advance. Furthermore, when the network configuration is dynamically changed, the latest network configuration can be acquired.

次に、各ノードの内部構成について説明する。各ノードは、おおよそ同一の構成を有するが、ここでは説明を具体的にするため、ノードBの内部構成について説明する。   Next, the internal configuration of each node will be described. Although each node has approximately the same configuration, the internal configuration of the node B will be described here for the sake of specific description.

図2は、ノードBの構成を示したブロック図である。同図が示すように、ノードBは、現況情報配信ノード管理部10、ノード構成管理部12、ノード現況情報管理部14、自ノード現況情報配信部16、自ノード現況情報管理部18、自ノード現況情報変更フラグ配信部20、外部入力情報解析部22、処理実行部24、処理依頼部26、他ノード現況情報変更フラグ処理部28、他ノード現況情報取得部30、通信インターフェイス部32を具備している。   FIG. 2 is a block diagram showing the configuration of the node B. As shown in the figure, the node B includes the current state information distribution node management unit 10, the node configuration management unit 12, the node current state information management unit 14, the own node current state information distribution unit 16, the own node current state information management unit 18, and the own node. A current state information change flag distribution unit 20, an external input information analysis unit 22, a process execution unit 24, a process request unit 26, another node current state information change flag processing unit 28, another node current state information acquisition unit 30, and a communication interface unit 32. ing.

現況情報配信ノード管理部10は、現況情報配信先一覧を記憶する。この現況情報配信先一覧は、各ノードが定期的に又は変化があった場合に、自身の現況情報を配信する現況情報配信先ノードの一覧(以下、単に「現況情報配信先ノード一覧」と呼ぶ。)と、変化が発生した場合に変化の内容ではなく変化があったことのみを知らせる変更フラグを配信する変更フラグ配信先ノードの一覧(以下、単に「変更フラグ配信先ノード一覧」と呼ぶ。)とを、ノード毎に定義したものである。図3に、現況情報配信ノード管理部10が記憶する現況情報配信先一覧の一例を示す。   The status information distribution node management unit 10 stores a status information distribution destination list. This current status information distribution destination list is a list of current status information distribution destination nodes (hereinafter simply referred to as “current status information distribution destination node list”) that distributes the current status information when each node is periodically or when there is a change. )) And a list of change flag distribution destination nodes that distribute only a change flag notifying the change but not the content of the change (hereinafter referred to simply as “change flag distribution destination node list”). ) Is defined for each node. FIG. 3 shows an example of the current status information distribution destination list stored by the current status information distribution node management unit 10.

ノード構成管理部12は、当該分散処理システムに接続されている各ノード対応範囲、直接的な接続先ノード(すなわち、他のノードを介さずに直接接続されているノード)を少なくとも含むノード構成情報を記憶し管理する。図4は、ノード構成管理部12が記憶するノード構成情報の一例を示した図である。同図に示すように、ノード構成情報では、各ノードの対応範囲を座標空間上に表す各座標と、各ノードが直接的な接続先ノード(図1参照)が規定されている。   The node configuration management unit 12 includes node configuration information including at least each node corresponding range connected to the distributed processing system and a direct connection destination node (that is, a node directly connected without passing through another node). Remember and manage. FIG. 4 is a diagram illustrating an example of node configuration information stored in the node configuration management unit 12. As shown in the figure, in the node configuration information, each coordinate representing the corresponding range of each node in the coordinate space and a direct connection destination node (see FIG. 1) are defined for each node.

ノード現況情報管理部14は、他のノードに関する所定の情報(例えば、残存電池量)の有無、当該所定の情報の最新情報を受信した時刻(タイムスタンプ)を含む他ノード現況情報を、ノード毎に記憶する。図5は、ノード現況情報管理部14が記憶する他ノード現況情報の一例を示した図である。同図に示す例では、A、B、C、D、Eの各ノードについては残存電池量、各残存電池量を受信した(更新した)時刻のタイムスタンプ、データ有の旨が、F、G、Hの各ノードについてはデータを受信していないため、データ無の旨がそれぞれ他ノード現況情報として記憶されている。   The node current status information management unit 14 stores other node current status information including the presence / absence of predetermined information (for example, remaining battery amount) regarding other nodes and the time (time stamp) when the latest information of the predetermined information is received for each node. To remember. FIG. 5 is a diagram showing an example of other node status information stored in the node status information management unit 14. In the example shown in the figure, for the nodes A, B, C, D, and E, the remaining battery amount, the time stamp at which each remaining battery amount was received (updated), and the presence of data are F, G Since no data has been received for each of the nodes H and H, the fact that there is no data is stored as other node status information.

自ノード現況情報配信部16は、ノード現況情報管理部14を介して配信依頼を受けると、現況情報配信ノード管理部10から現況情報配信先ノード一覧を入手し、現況情報を配信する。   Upon receiving a distribution request via the node status information management unit 14, the own node status information distribution unit 16 obtains a status information distribution destination node list from the status information distribution node management unit 10 and distributes the status information.

自ノード現況情報管理部18は、定期的に又は自ノードにおいて変化があった場合に、ノード現況情報管理部14にある自ノードの現況情報を更新する。また、自ノード現況情報管理部18は、自ノードの現況情報を更新した場合、自ノード現況情報変更フラグ配信部20と自ノード現況情報配信部16のそれぞれに配信依頼を行う。   The own node status information management unit 18 updates the current status information of the own node in the node status information management unit 14 periodically or when there is a change in the own node. In addition, when updating the current state information of the own node, the own node current state information management unit 18 requests distribution to the own node current state information change flag distribution unit 20 and the own node current state information distribution unit 16.

自ノード現況情報変更フラグ配信部20は、自ノード現況情報管理部18から配信依頼を受けると、現況情報配信ノード管理部10から変更フラグ配信先ノード一覧を入手し、現況情報変更フラグを配信する。   Upon receiving a distribution request from the current node status information management unit 18, the own node status information change flag distribution unit 20 obtains a list of change flag distribution destination nodes from the current status information distribution node management unit 10, and distributes the current status information change flag. .

外部入力情報解析部22は、通信インターフェイス部32を介して外部から受け取った外部入力情報を用いて、システム上のノードA〜Hの中から候補ノードを決定する。   The external input information analysis unit 22 determines candidate nodes from among the nodes A to H on the system using external input information received from the outside via the communication interface unit 32.

処理実行部24は、後述する処理ノード決定処理、及びこれに関する他の構成要素の制御を行う。   The processing execution unit 24 performs processing node determination processing, which will be described later, and control of other components related thereto.

処理依頼部26は、ノード構成管理部12が記憶するノード構成情報と、現況情報配信ノード管理部10が記憶する現況情報配信先ノード一覧とに基づいて、後述する通信コストを計算する。また、処理依頼部26は、後述する処理ノード決定処理において、当該通信コストの値に基づきどのノードに処理を依頼すれば通信負荷が最も少なくなるかを判定し、当該判定に従って他のノード、又は自身のノードにおける処理実行部24に対して処理を依頼する。   The processing request unit 26 calculates a communication cost, which will be described later, based on the node configuration information stored in the node configuration management unit 12 and the current status information distribution destination node list stored in the current status information distribution node management unit 10. In addition, in the processing node determination process described later, the processing request unit 26 determines to which node the processing load is requested based on the value of the communication cost, and determines another node according to the determination. Requests processing to the processing execution unit 24 in its own node.

他ノード現況情報変更フラグ処理部28は、他ノードからの現況情報変更フラグを受取ると、ノード現況情報管理部30に当該ノードの現況情報が格納されているか否かを確認する。現況情報が既にあった場合、ノード現況情報管理部30の当該ノードのデータを削除し、タイムスタンプのみを格納する。現況情報がなかった場合、新たに現況情報を格納する。   When receiving the current status information change flag from another node, the other node current status information change flag processing unit 28 checks whether or not the current status information of the node is stored in the node current status information management unit 30. If the current status information already exists, the data of the node in the node current status information management unit 30 is deleted, and only the time stamp is stored. If there is no current status information, new current status information is stored.

図6は、他ノード現況情報変更フラグ処理部28によって実行される処理の流れを示したフローチャートである。また、図7(a)、7(b)は、図6のフローに従う処理によって得られるノード現況情報の変更例を示す。すなわち、図7(a)の状態でノードDの現況情報変更フラグを受取り、当該ノードDについてノード現況情報の変更があると、ノード現況情報は図7(b)に示すように変更されることになる。各図を参考に、他ノード現況情報変更フラグ処理部28の動作の一例を説明すると、次の様である。   FIG. 6 is a flowchart showing a flow of processing executed by the other node current status information change flag processing unit 28. FIGS. 7A and 7B show examples of changing the node status information obtained by the processing according to the flow of FIG. That is, when the status information change flag of the node D is received in the state of FIG. 7A and the node status information is changed for the node D, the node status information is changed as shown in FIG. become. An example of the operation of the other node status information change flag processing unit 28 will be described with reference to each figure as follows.

すなわち、例えば図3に示す内容にて各ノードが現況情報及び現況情報変更フラグを配信しているものとする。係る場合、ノードBはノードDの現況情報は受け取らないが、現況情報変更フラグは受け取ることになる。以前の何からの処理の結果、ノードBがノードDの現況情報を取得していた場合、ノードBのノード現況情報管理部14のデータは、図7(a)の様になっている。つまり、ノードBは、ノードDの現況情報を持っている。   That is, for example, it is assumed that each node distributes the current status information and the current status information change flag with the contents shown in FIG. In such a case, the node B does not receive the current status information of the node D, but receives the current status information change flag. When node B has acquired the current status information of node D as a result of the previous processing, the data of the node current status information management unit 14 of node B is as shown in FIG. That is, the node B has the current status information of the node D.

また、ノードBがノードDからの現況情報を取得してからノードDの現況情報フラグを受け取るまでの期間は、ノードBがノードDの最新の現況情報を持っていることになる。この様に通常の状態で、あるノードの現況情報変更フラグは配信されるが、現況情報が配信されないノードにおいて、何らかの理由により現況情報を取得した場合、次の現況情報変更フラグを受け取るまで、そのノードは当該ノードの最新の現況情報を持っていることが保証される。これにより、一時的ではあるが、現況情報取得コストを削減することが可能となる。   Further, during the period from when the node B acquires the current status information from the node D to when the node B receives the current status information flag of the node D, the node B has the latest current status information of the node D. In this normal state, the current status information change flag of a certain node is distributed, but if the current status information is acquired for some reason in a node where the current status information is not distributed, the status information change flag is received until the next status information change flag is received. The node is guaranteed to have the latest status information of the node. Thereby, although it is temporary, it becomes possible to reduce the present condition information acquisition cost.

他ノード現況情報取得部30は、他ノードから配信された現況情報を受取った場合と、処理実行部24からの要求により他ノードの現況情報を取得した場合にノード現況情報管理部14の当該ノードの現況情報を更新する。ノード現況情報管理部14は、更新された現況情報をその更新時のタイムスタンプと共に格納する。   The other node current status information acquisition unit 30 receives the current status information distributed from the other node, and when the current status information of the other node is acquired by a request from the processing execution unit 24, the relevant node of the node current status information management unit 14 Update current status information for. The node current status information management unit 14 stores the updated current status information together with the time stamp at the time of the update.

通信インターフェイス部32は、他のノードとの情報のやり取りを行い、各要素にその情報を送り出す。   The communication interface unit 32 exchanges information with other nodes and sends the information to each element.

(処理実行ノードの決定処理)
次に、本分散処理システムにおいて実行される処理実行ノードの決定処理について説明する。これは、各ノードの現況情報に応じてその時々で最も適切な処理実行ノードを決定するものである。この決定においては、本システムの通信量を最も削減し効率よく処理できるように、後述する通信コストと呼ばれる基準が用いられる。これにより、時々刻々と変化する各ノードの現況情報を全てのノードで更新する必要がなく、通信における負荷を軽減させシステム全体の効率を上昇させることができる。
(Processing node decision process)
Next, a process execution node determination process executed in this distributed processing system will be described. This is to determine the most appropriate process execution node from time to time according to the current status information of each node. In this determination, a standard called communication cost, which will be described later, is used so that the communication amount of the present system can be reduced most effectively. As a result, it is not necessary to update the current state information of each node that changes from time to time in all the nodes, and the load in communication can be reduced and the efficiency of the entire system can be increased.

図8は、本処理実行ノードの決定処理の流れを示したフローチャートである。なお、本実施形態においては、説明を具体的にするため、ノードBが外部入力情報を取得し、当該外部入力情報をどのノードに処理させるかを決定するものとする。   FIG. 8 is a flowchart showing the flow of the process execution node determination process. In the present embodiment, for the sake of specific explanation, it is assumed that the node B acquires external input information and determines which node is to process the external input information.

図8に示すように、まず、ノードBの通信インターフェイス部32は、外部入力情報を取得するとこれを外部入力情報解析部22に送り出す(ステップS1)。外部入力情報解析部22は、受け取った外部入力情報を用いてシステム上のノードA〜Hの中から候補ノードを決定する(ステップS2)。この決定は、たとえば次のようにして実行される。   As shown in FIG. 8, first, when the communication interface unit 32 of the node B acquires external input information, it sends it to the external input information analysis unit 22 (step S1). The external input information analysis unit 22 determines a candidate node from the nodes A to H on the system using the received external input information (step S2). This determination is performed as follows, for example.

図9(a)、9(b)は、候補ノードの選択処理の一例を説明するための図である。ノードBが入力する外部入力情報には、例えば図9(a)に示すような位置座標(X,Y)が含まれている。外部入力情報解析部22は、この位置座標と、図4に示した各ノードのノード構成情報とを図9(b)に示すようにXY平面にプロットし(図9(b)では、ノードGの情報のみ図示)、入力した位置座標(X,Y)を含む対応範囲を有するノードを候補ノードとして選択する。なお、本実施形態では、図9(a)に示す位置座標を入力するため、図10に示すように候補ノードとしてノードFとノードGとが選択されることになる。   FIGS. 9A and 9B are diagrams for explaining an example of candidate node selection processing. The external input information input by the node B includes, for example, position coordinates (X, Y) as shown in FIG. The external input information analysis unit 22 plots the position coordinates and the node configuration information of each node shown in FIG. 4 on the XY plane as shown in FIG. 9B (in FIG. 9B, the node G And the node having the corresponding range including the input position coordinates (X, Y) is selected as a candidate node. In the present embodiment, since the position coordinates shown in FIG. 9A are input, the node F and the node G are selected as candidate nodes as shown in FIG.

なお、この候補ノードの選択処理は、処理実行部24において実行することも可能である。   The candidate node selection process can also be executed by the process execution unit 24.

次に、候補ノードのそれぞれの現況情報(例えば、各ノードのリソース情報等)から通信コストを計算し、これに基づいて候補ノードから処理ノードを決定する(ステップS3)。   Next, the communication cost is calculated from the current status information (for example, resource information of each node) of the candidate node, and the processing node is determined from the candidate node based on this (step S3).

図11は、ステップS3における処理ノードの決定処理の流れを示したフローチャートである。同図に示すように、まず、ノードBの処理実行部24は、候補ノードであるノードFとノードGの現況情報をノード現況情報管理部14に問合せる(ステップS30)。   FIG. 11 is a flowchart showing the flow of processing node determination processing in step S3. As shown in the figure, first, the process execution unit 24 of the node B inquires the node current state information management unit 14 about the current state information of the node F and the node G that are candidate nodes (step S30).

処理実行部24は、ノード現況情報管理部14への問い合わせの結果に基づき、ノードFとノードGの現況情報が取得可能か否かを判定し(ステップS31)、取得可能であると判定した場合には、自ノードにおいて、処理ノードを決定する(ステップS32)。   The process execution unit 24 determines whether the current status information of the node F and the node G can be acquired based on the result of the inquiry to the node current status information management unit 14 (step S31). First, the processing node is determined in the own node (step S32).

一方、ノード現況情報管理部14が持っているデータが例えば図5の内容である場合、ノードFとノードGのデータを持っていない。そこで処理実行部24は、ステップS31において取得不可能であると判定し、処理依頼部26に対して処理ノードの決定処理を他ノードへ依頼する(ステップS33)。   On the other hand, when the data held by the node current status information management unit 14 is the content of FIG. 5, for example, the data of the node F and the node G are not held. Therefore, the process execution unit 24 determines that acquisition is impossible in step S31, and requests the process request unit 26 to determine processing nodes from another node (step S33).

次に、処理依頼部26は、現況情報配信ノード管理部10とノード構成管理部12のデータを検索し、各ノードにおける「必要な現況情報を取得するのに必要な通信コスト」、及び「自ノードから各ノードへ処理を依頼するのに必要な通信コスト」の2つの通信コスト、およびその合計を計算する(ステップS34)。なお、通信コストとして、本実施形態では、次の式(1)を採用するものとする。

Figure 2006261949
Next, the processing request unit 26 searches the data of the current status information distribution node management unit 10 and the node configuration management unit 12 to search for “communication cost required to acquire necessary current status information” and “self Two communication costs of “communication cost necessary for requesting processing from node to node” and the sum thereof are calculated (step S34). In this embodiment, the following equation (1) is adopted as the communication cost.
Figure 2006261949

ここでSはデータサイズ、Bは通信路iの帯域幅を表す。通信コストは、データサイズを各通信路の帯域幅で割ったものの合計となる。 Here, S represents the data size and B i represents the bandwidth of the communication channel i. The communication cost is the sum of the data size divided by the bandwidth of each communication path.

例えば、今、各ノードの現況情報のデータサイズを10、処理を依頼するのに必要なデータサイズを15とする。また、各通信路の帯域幅は、全て10とする。このとき、例えばノードAに処理ノード決定を依頼する場合の通信コストは、次の2つの合計となる。   For example, assume that the data size of the current status information of each node is 10 and the data size required for requesting the processing is 15. In addition, the bandwidth of each communication path is all 10. At this time, for example, the communication cost when requesting the node A to determine the processing node is the following two totals.

・ノードAによるノードFとノードGの現況情報の取得コスト
ノードAは、ノードFの現況情報を持っている。従って、ノードGの現況情報のみを取得すればよい。ノードGの現況情報は、ノードGの他にノードEとノードHが持っている(図3参照)。ノードAが、ノードE、ノードH又はノードGのいずれかからノードGの現況情報を取得する場合、それぞれの値は次のようになる。ノードEから取得する場合の通信コスト=10×(1/10)=1となる。ノードHから取得する場合の通信コスト=10×(1/10 + 1/10)=2となる。ノードGから取得する場合の通信コスト=10×(1/10 + 1/10)=2となる。よって、最も通信コストが少なくて済むのはノードEである。従ってノードAがノードFとノードGとの現況情報を取得するための通信コストは1となる。
-Acquisition cost of current status information of node F and node G by node A
Node A has the current status information of node F. Therefore, only the current status information of the node G needs to be acquired. In addition to the node G, the node E and the node H have the current status information of the node G (see FIG. 3). When the node A acquires the current status information of the node G from any one of the node E, the node H, or the node G, the respective values are as follows. Communication cost when acquiring from node E = 10 × (1/10) = 1. Communication cost when acquiring from the node H = 10 × (1/10 + 1/10) = 2. Communication cost when acquiring from the node G = 10 × (1/10 + 1/10) = 2. Therefore, the node E has the lowest communication cost. Therefore, the communication cost for the node A to acquire the current status information between the node F and the node G is 1.

・ノードBがノードAに依頼するための通信コスト
ノードBからノードAへのパス数は2である(図1参照)。従って、ノードBがノードAに依頼するための通信コストは、15×(1/10 + 1/10)となる。
・ Communication cost for node B requesting node A
The number of paths from node B to node A is 2 (see FIG. 1). Therefore, the communication cost for the node B to request to the node A is 15 × (1/10 + 1/10).

以上の計算を各ノードについて示した結果を、図12に示す。この結果より、ノードEに依頼するとコストが一番少なくてすむのが定量的にわかる。   The results of the above calculation for each node are shown in FIG. From this result, it can be quantitatively understood that the cost can be minimized when the node E is requested.

次に、処理依頼部26は、計算された二つの通信コストの合計値(指標)に基づいて、いずれのノードを処理ノードとするかの処理ノード決定を、自ノードで行うか他ノードで行うかの判定を行う(ステップS35)。当該ステップS35において、自ノードで処理ノード決定を行うと判定をした場合には、処理依頼部26は、自ノードの処理実行部24に処理を依頼し(ステップS36)、処理実行部24において依頼が許諾されれば、自ノードで処理ノード決定を行うことを確定する(ステップS32)。一方、当該ステップS35において、他ノードで処理ノード決定を行うと判定をした場合には、処理依頼部26は、計算された二つの通信コストの合計値が最も低いノードEに処理ノード決定を依頼し、ノードEの処理実行部24において依頼が許諾されれば、ノードE(他ノード)において処理ノード決定を行うことが確定する(ステップS37)。なお、ステップS37の確定によって、ノードBから当該処理ノードに対して通信コストが最も少なくなるような経路によって外部処理情報がノードEに転送される。   Next, the processing request unit 26 determines the processing node as to which processing node is the processing node based on the total value (index) of the calculated two communication costs, either in its own node or in another node. Is determined (step S35). If it is determined in step S35 that the processing node is determined by the own node, the processing request unit 26 requests the processing execution unit 24 of the own node to perform processing (step S36), and the processing execution unit 24 requests the processing. Is approved, it is determined that the processing node is determined by the own node (step S32). On the other hand, when it is determined in step S35 that the processing node is determined by another node, the processing request unit 26 requests the processing node to determine the processing node having the lowest total value of the two calculated communication costs. If the request is granted in the process execution unit 24 of the node E, it is determined that the process node determination is performed in the node E (another node) (step S37). Note that the external processing information is transferred from the node B to the node E through the route that minimizes the communication cost from the node B to the processing node by the confirmation in step S37.

次に、自ノード又は他ノードにおいて、処理ノードが決定される(ステップS38)。この決定は、候補ノードに関する所定の基準、例えば、候補ノードのうち、それぞれのノードで持っている残存電池量で最大のノードを処理ノードと決定する。   Next, a processing node is determined in the own node or another node (step S38). In this determination, a predetermined reference regarding the candidate node, for example, the largest node among the candidate nodes in the remaining battery amount among the candidate nodes is determined as the processing node.

なお、ノードEにおいては、ステップS1〜ステップS3までの処理が実行され、その結果自身が処理ノードを決定する場合には、上記基準に基づく処理ノード決定が実行される。一方、ノードEにおいてさらの他ノードにおける処理ノード決定となった場合には、処理ノードが決定されるまで、同様の処理を繰り返す。   Note that in the node E, the processing from step S1 to step S3 is executed, and when the result itself determines the processing node, processing node determination based on the above criteria is executed. On the other hand, when it is determined that the node E is a processing node in another node, the same processing is repeated until the processing node is determined.

次に、処理ノードが決定されると、当該処理ノードにおいて外部入力情報の処理が実行される(図8ステップS4)。   Next, when a processing node is determined, processing of external input information is executed in the processing node (step S4 in FIG. 8).

以上述べた構成によれば、以下の効果を得ることができる。   According to the configuration described above, the following effects can be obtained.

本分散処理システムによれば、各ノードにおいて、変化があった場合に常に現況情報の更新対象とするノードと、変化あった場合に変化の内容ではなく変化があったことのみを知らせる対象とするノードとを区別して、各ノードに関する現況情報を管理する。従って、各ノードにおいて、全ての他ノードの現況情報を把握する必要はなくなり、通信における負荷を軽減させシステム全体の効率を上昇させることができる。   According to this distributed processing system, in each node, when there is a change, the node that is always subject to update of the current status information, and when there is a change, only the fact that there is a change, not the content of the change, is to be notified The current status information about each node is managed by distinguishing the node. Therefore, it is not necessary for each node to grasp the current status information of all other nodes, and the load on communication can be reduced and the efficiency of the entire system can be increased.

また、本分散処理システムによれば、通信コストと呼ばれる基準に基づいて、通信量を最も削減し効率よく処理ノードが決定できるノードを動的に決定する。これにより、時々刻々と変化する各ノードの現況情報を全てのノードで更新する必要がなく、情報通信における負荷を軽減させシステム全体の効率を上昇させることができる。   Further, according to the present distributed processing system, based on a standard called communication cost, a node that can reduce the communication amount most effectively and can determine a processing node efficiently is dynamically determined. As a result, it is not necessary to update the current status information of each node, which changes from moment to moment, in all the nodes, and the load in information communication can be reduced and the efficiency of the entire system can be increased.

(第2の実施形態)
次に、本発明の第2の実施形態について説明する。本実施形態では、ツリー構造になっている分散処理システムに関するものである。係る場合においても、第1の実施形態と同様の構成を採用することは可能である。しかしながら、ここでは、第1の実施形態とは異なる、仮想ノードを用いた処理ノード決定手法について説明する。
(Second Embodiment)
Next, a second embodiment of the present invention will be described. The present embodiment relates to a distributed processing system having a tree structure. Even in such a case, it is possible to adopt the same configuration as in the first embodiment. However, here, a processing node determination method using a virtual node, which is different from the first embodiment, will be described.

図13は、本実施形態に係る分散処理システムの構造(ツリー構造)を説明するための図である。同図に示すように、各ノードは、ノードAを頂点としたツリー構造によって直接的又は間接的に接続されている。また、ノードF、ノードG、ノードHは、まとめて一つの擬似的なノード(仮想ノード)Xを形成する。ここで、仮想ノードとは、ネットワーク通信において複数のノードをあたかも一つのノードとして扱うために、異なる複数のノードから構成される擬似的な(仮想的な)一つのノードである。以下、仮想ノードを構成する各ノードを構成ノードと呼ぶ。   FIG. 13 is a diagram for explaining the structure (tree structure) of the distributed processing system according to the present embodiment. As shown in the figure, each node is directly or indirectly connected by a tree structure with node A as a vertex. Node F, node G, and node H collectively form one pseudo node (virtual node) X. Here, the virtual node is a pseudo (virtual) node composed of a plurality of different nodes in order to treat a plurality of nodes as one node in network communication. Hereinafter, each node configuring the virtual node is referred to as a configuration node.

仮想ノードは、本分散処理システムにおいて次のように取り扱われる。すなわち、各構成ノードF、G、Hに関する情報は、すべて仮想ノードXの情報とされる。従って、図3に示した現況情報配信先一覧、図4に示したノード構成情報、図5に示した他ノード現況情報等におけるノードF、ノードG、ノードHは、すべて仮想ノードXに置き換わる。   The virtual node is handled as follows in this distributed processing system. That is, all the information related to the configuration nodes F, G, and H is the information of the virtual node X. Accordingly, the nodes F, G, and H in the current information distribution destination list shown in FIG. 3, the node configuration information shown in FIG. 4, the other node current information shown in FIG. 5, etc. are all replaced with the virtual node X.

こうして各構成ノードF、G、Hの情報が仮想ノードXのものに置き換えられた本分散処理システムは、擬似的にノードA〜E、Xによって構成されるものと捉えることができる。この擬似的な分散処理システムにおいては、第1の実施形態において説明した処理実行ノードの決定処理を適用することができる。なお、当該決定処理において、仮に「仮想ノードXにおいて処理ノードを決定する。」と判定された場合には、仮想ノードを一つの分散処理システムと見立て、これに対してさらに第1の実施形態において説明した処理実行ノードの決定処理を適用すればよい。   Thus, the present distributed processing system in which the information of each of the configuration nodes F, G, and H is replaced with that of the virtual node X can be regarded as being configured by the nodes A to E and X in a pseudo manner. In this pseudo distributed processing system, the process execution node determination process described in the first embodiment can be applied. In the determination process, if it is determined that “the processing node is determined in the virtual node X”, the virtual node is regarded as one distributed processing system, and this is further compared in the first embodiment. The described process execution node determination process may be applied.

なお、仮想ノード内の各構成ノードの現況情報は、構成ノードのいずれか一つ、又は複数のノードで集中管理することが好ましい。これにより、仮想ノード外との通信量を削減することができる。   In addition, it is preferable that the current status information of each configuration node in the virtual node is centrally managed by any one of the configuration nodes or a plurality of nodes. As a result, the amount of communication with the outside of the virtual node can be reduced.

以上述べた構成によれば、仮想ノードを利用することにより、第1の実施形態にて説明した効果に加えて、現在のネットワークの位相構造に限定されることなく、必要に応じて流動的にネットワーク構造を変更することができる。この仮想ノードを用いた分散処理システムは、ツリー構造を有する場合に特に実益がある。しかしながら、ツリー構造を有する場合に限定する趣旨ではない。   According to the configuration described above, by using a virtual node, in addition to the effects described in the first embodiment, the present invention is not limited to the current network phase structure, and can be fluidized as necessary. The network structure can be changed. This distributed processing system using virtual nodes is particularly beneficial when it has a tree structure. However, the present invention is not limited to the case of having a tree structure.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。具体的な変形例としては、例えば次のようなものがある。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Specific examples of modifications are as follows.

(1)本実施形態に係る各機能は、当該処理を実行するプログラムをワークステーション等のコンピュータにインストールし、これらをメモリ上で展開することによっても実現することができる。このとき、コンピュータに当該手法を実行させることのできるプログラムは、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスクなど)、光ディスク(CD−ROM、DVDなど)、半導体メモリなどの記録媒体に格納して頒布することも可能である。   (1) Each function according to the present embodiment can also be realized by installing a program for executing the processing in a computer such as a workstation and developing the program on a memory. At this time, a program capable of causing the computer to execute the technique is stored in a recording medium such as a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), or a semiconductor memory. It can also be distributed.

(2)上記各実施形態においては、自ノードが他ノードに処理ノード決定の処理依頼を行った場合、他ノード側(処理ノード決定被依頼側)によって行われた処理結果が、自ノード側(処理ノード決定依頼側)に戻っていない。従って、必要に応じて、処理ノード決定被依頼側による処理結果を処理ノード決定依頼側にフィードバックする構成であることが好ましい。係る場合、処理ノードの決定処理と同様に通信コストを用いて、処理結果を処理ノード決定依頼側に戻すコストをも加算するようにすることが好ましい。   (2) In each of the above embodiments, when the own node makes a processing node determination processing request to another node, the processing result performed by the other node side (processing node determination requested side) is It has not returned to the processing node determination request side). Therefore, it is preferable that the processing result by the processing node determination request side is fed back to the processing node determination request side as necessary. In such a case, it is preferable to add the cost for returning the processing result to the processing node determination requesting side using the communication cost as in the processing node determination processing.

(3)上記各実施形態においては、現況情報配信先ノード一覧(図3参照)として自ノードから1パス数のものを例示した。しかしながら、これに拘泥されず、2パス以上のノードを現況情報配信先としてもよいし、複数のパス数に対応する異なるノードを選択するようにしてもよい。いずれのノードを現況情報配信先とするかは、システムの特性によって任意に選択することが好ましい。この事情は、変更フラグ配信先ノードの選択についても同様である。   (3) In each of the above embodiments, the current status information distribution destination node list (see FIG. 3) is exemplified as having one path from the own node. However, regardless of this, a node having two or more paths may be set as the current status information distribution destination, or different nodes corresponding to a plurality of paths may be selected. It is preferable to arbitrarily select which node is the current status information distribution destination according to the characteristics of the system. The same applies to the selection of the change flag distribution destination node.

また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

以上本発明によれば、時々刻々と変化する各ノードの現況情報を全てのノードで更新する必要性をなくすと共に各ノードの現況情報に応じて処理実行ノードを動的に変更させ、これによって通信における負荷を軽減させシステム全体の効率を上昇させる分散処理システム、及び分散処理システムにおいて使用される情報処理装置を実現することができる。   As described above, according to the present invention, it is not necessary to update the current status information of each node that changes every moment, and the process execution node is dynamically changed according to the current status information of each node, thereby communicating. It is possible to realize a distributed processing system that reduces the load on the system and increases the efficiency of the entire system, and an information processing apparatus used in the distributed processing system.

図1は、本実施形態に係る分散処理システム1の構成を示した図である。FIG. 1 is a diagram showing a configuration of a distributed processing system 1 according to the present embodiment. 図2は、各ノードの構成を示したブロック図である。FIG. 2 is a block diagram showing the configuration of each node. 図3に、現況情報配信ノード管理部10が記憶する現況情報配信先一覧の一例を示す。FIG. 3 shows an example of the current status information distribution destination list stored by the current status information distribution node management unit 10. 図4は、ノード構成管理部12が記憶するノード構成情報の一例を示した図である。FIG. 4 is a diagram illustrating an example of node configuration information stored in the node configuration management unit 12. 図5は、ノード現況情報管理14が記憶する他ノード現況情報の一例を示した図である。FIG. 5 is a diagram showing an example of other node status information stored in the node status information management 14. 図6は、他ノード現況情報変更フラグ処理部28によって実行される処理の流れを示したフローチャートである。FIG. 6 is a flowchart showing a flow of processing executed by the other node current status information change flag processing unit 28. 図7(a)、7(b)は、ノード現況情報の変更を説明するための図である。7 (a) and 7 (b) are diagrams for explaining the change of the node current status information. 図8は、本処理実行ノードの決定処理の流れを示したフローチャートである。FIG. 8 is a flowchart showing the flow of the process execution node determination process. 図9(a)、9(b)は、候補ノードの選択処理の一例を説明するための図である。FIGS. 9A and 9B are diagrams for explaining an example of candidate node selection processing. 図10は、候補ノードの選択処理の一例を説明するための図である。FIG. 10 is a diagram for explaining an example of candidate node selection processing. 図11は、ステップS3における処理ノードの決定処理の流れを示したフローチャートである。FIG. 11 is a flowchart showing the flow of processing node determination processing in step S3. 図12は、各ノードにおける必要な通信コストを示した図である。FIG. 12 is a diagram showing necessary communication costs in each node. 図13は、第2の実施形態に係る分散処理システムの概略構造(ツリー構造)を示した図である。FIG. 13 is a diagram illustrating a schematic structure (tree structure) of the distributed processing system according to the second embodiment.

符号の説明Explanation of symbols

A〜H、X…ノード、10…現況情報配信ノード管理部、12…ノード構成管理部、14…ノード現況情報管理、16…自ノード現況情報配信部、18…自ノード現況情報管理部、20…自ノード現況情報変更フラグ配信部、22…外部入力情報解析部、24…処理実行部、26…処理依頼部、28…他ノード現況情報変更フラグ処理部、30…他ノード現況情報取得部、32…通信インターフェイス部 A to H, X ... node, 10 ... current state information distribution node management unit, 12 ... node configuration management unit, 14 ... node current state information management, 16 ... own node current state information distribution unit, 18 ... own node current state information management unit, 20 ... own node current state information change flag distribution unit, 22 ... external input information analysis unit, 24 ... processing execution unit, 26 ... processing request unit, 28 ... other node current state information change flag processing unit, 30 ... other node current state information acquisition unit, 32 ... Communication interface

Claims (8)

ネットワークを介して接続されそれぞれが所定の情報処理を実行する複数のノードを具備する分散処理システムであって、
前記複数のノードのそれぞれは、
前記複数のノード及び各ノード間を接続する前記ネットワークの構造に関する第1の情報と、自ノードの現況情報を配信する配信先の他ノードである現況情報配信先ノードの一覧、及び、自ノードに変化が発生した場合に変化があったことを知らせる変更フラグを配信する配信先の他ノードである変更フラグ配信先ノードの一覧を含む第2の情報と、他ノードの現況情報の有無、他ノードの現況情報、当該他ノードの現況情報の最新情報を受信した時刻を含む第3の情報と、を記憶する記憶手段と、
外部入力情報を受付ける受付手段と、
前記外部入力情報に対する処理を行う第1のノードの決定処理を自ノードで行うか他ノードで行うかを、前記第3の情報に基づいて判定する判定手段と、
前記第1のノードの前記決定処理を他ノードで行うと判定した場合には、前記第1の情報及び前記第2の情報を用いて、当該分散処理システムにおける通信負荷を定量的に示す指標である通信コストを各ノード毎に計算し、その計算値に基づいて、前記決定処理を実行する第2のノードを決定する第1の決定手段と、
前記ネットワークを介して、前記第2のノードに対して前記決定処理を依頼する依頼手段と、
前記第1のノードの前記決定処理を自ノードで行うと判定した場合には、前記第3の情報を用いて、前記第1のノードの前記決定処理を実行する第2の決定手段と、
を具備することを特徴とする分散処理システム。
A distributed processing system comprising a plurality of nodes connected via a network and each executing predetermined information processing,
Each of the plurality of nodes is
First information on the plurality of nodes and the structure of the network connecting the nodes, a list of current status information distribution destination nodes that are other distribution destination nodes that distribute the current status information of the own node, and the own node Second information including a list of change flag delivery destination nodes that are other nodes of the delivery destination that delivers a change flag that informs that a change has occurred when a change occurs, the presence / absence of current status information of other nodes, other nodes Storage means for storing current status information of the second node, third information including the time when the latest information of the current status information of the other node is received,
A receiving means for receiving external input information;
Determining means for determining whether the first node for performing processing on the external input information is to be performed by the own node or another node based on the third information;
When it is determined that the determination process of the first node is performed by another node, the first information and the second information are used to indicate the communication load in the distributed processing system quantitatively. A first determination unit that calculates a certain communication cost for each node and determines a second node that executes the determination process based on the calculated value;
Requesting means for requesting the determination processing to the second node via the network;
A second determination unit that executes the determination process of the first node using the third information when it is determined that the determination process of the first node is performed by the own node;
A distributed processing system comprising:
前記通信コストは、データサイズとノード間の通信帯域幅との商の合計を基準とした計算値であることを特徴とする請求項1記載の分散処理システム。   The distributed processing system according to claim 1, wherein the communication cost is a calculated value based on a sum of a quotient of a data size and a communication bandwidth between nodes. 前記第1の決定手段は、前記外部入力情報に基づいて前記複数のノードから少なくとも一つの候補ノードを選択し、当該少なくとも一つの候補ノード毎に前記通信コストを計算し、その計算値に基づいて前記決定処理を実行する第2のノードを決定することを特徴とする請求項1又は2記載の分散処理システム。   The first determining means selects at least one candidate node from the plurality of nodes based on the external input information, calculates the communication cost for each of the at least one candidate node, and based on the calculated value The distributed processing system according to claim 1, wherein a second node that executes the determination process is determined. 前記第2の決定手段は、前記第3の情報に含まれるリソース情報に基づいて前記第1のノードの前記決定処理を実行することを特徴とする請求項1乃至3のうちいずれか一項記載の分散処理システム。   The said 2nd determination means performs the said determination process of the said 1st node based on the resource information contained in the said 3rd information, The any one of Claim 1 thru | or 3 characterized by the above-mentioned. Distributed processing system. 分散処理システムに用いられるノードを構成し、他のノードとネットワークを介して接続され、所定の情報処理を実行する情報処理装置であって、
前記複数のノード及び各ノード間を接続する前記ネットワークの構造に関する第1の情報と、自ノードの現況情報を配信する配信先の他ノードである現況情報配信先ノードの一覧、及び、自ノードに変化が発生した場合に変化があったことを知らせる変更フラグを配信する配信先の他ノードである変更フラグ配信先ノードの一覧を含む第2の情報と、他ノードの現況情報の有無、他ノードの現況情報、当該他ノードの現況情報の最新情報を受信した時刻を含む第3の情報と、を記憶する記憶手段と、
外部入力情報を受付ける受付手段と、
前記外部入力情報に対する処理を行う第1のノードの決定処理を自ノードで行うか他ノードで行うかを、前記第3の情報に基づいて判定する判定手段と、
前記第1のノードの前記決定処理を他ノードで行うと判定した場合には、前記第1の情報及び前記第2の情報を用いて、当該分散処理システムにおける通信負荷を定量的に示す指標である通信コストを各ノード毎に計算し、その計算値に基づいて、前記決定処理を実行する第2のノードを決定する第1の決定手段と、
前記ネットワークを介して、前記第2のノードに対して前記決定処理を依頼する依頼手段と、
前記第1のノードの前記決定処理を自ノードで行うと判定した場合には、前記第3の情報を用いて、前記第1のノードの前記決定処理を実行する第2の決定手段と、
を具備することを特徴とする情報処理装置。
An information processing apparatus that configures a node used in a distributed processing system, is connected to another node via a network, and executes predetermined information processing,
First information on the plurality of nodes and the structure of the network connecting the nodes, a list of current status information distribution destination nodes that are other distribution destination nodes that distribute the current status information of the own node, and the own node Second information including a list of change flag delivery destination nodes that are other nodes of the delivery destination that delivers a change flag that informs that a change has occurred when a change occurs, the presence / absence of current status information of other nodes, other nodes Storage means for storing current status information of the second node, third information including the time when the latest information of the current status information of the other node is received,
A receiving means for receiving external input information;
Determining means for determining whether the first node for performing processing on the external input information is to be performed by the own node or another node based on the third information;
When it is determined that the determination process of the first node is performed by another node, the first information and the second information are used to indicate the communication load in the distributed processing system quantitatively. A first determination unit that calculates a certain communication cost for each node and determines a second node that executes the determination process based on the calculated value;
Requesting means for requesting the determination processing to the second node via the network;
A second determination unit that executes the determination process of the first node using the third information when it is determined that the determination process of the first node is performed by the own node;
An information processing apparatus comprising:
前記通信コストは、データサイズとノード間の通信帯域幅との商の合計を基準とした計算値であることを特徴とする請求項5記載の情報処理装置。   The information processing apparatus according to claim 5, wherein the communication cost is a calculated value based on a sum of quotients of a data size and a communication bandwidth between nodes. 前記第1の決定手段は、前記外部入力情報に基づいて前記複数のノードから少なくとも一つの候補ノードを選択し、当該少なくとも一つの候補ノード毎に前記通信コストを計算し、その計算値に基づいて前記決定処理を実行する第2のノードを決定することを特徴とする請求項5又は6記載の情報処理装置。   The first determining means selects at least one candidate node from the plurality of nodes based on the external input information, calculates the communication cost for each of the at least one candidate node, and based on the calculated value The information processing apparatus according to claim 5, wherein a second node that executes the determination process is determined. 前記第2の決定手段は、前記第3の情報に含まれるリソース情報に基づいて前記第1のノードの前記決定処理を実行することを特徴とする請求項5乃至7のうちいずれか一項記載の情報処理装置。   The said 2nd determination means performs the said determination process of the said 1st node based on the resource information contained in the said 3rd information, The any one of Claim 5 thru | or 7 characterized by the above-mentioned. Information processing device.
JP2005075323A 2005-03-16 2005-03-16 Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system Withdrawn JP2006261949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005075323A JP2006261949A (en) 2005-03-16 2005-03-16 Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005075323A JP2006261949A (en) 2005-03-16 2005-03-16 Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system

Publications (1)

Publication Number Publication Date
JP2006261949A true JP2006261949A (en) 2006-09-28

Family

ID=37100710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005075323A Withdrawn JP2006261949A (en) 2005-03-16 2005-03-16 Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system

Country Status (1)

Country Link
JP (1) JP2006261949A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010225134A (en) * 2009-02-25 2010-10-07 Lstar Technologies Llc Routing across multicore network using real world data or modeled data
WO2013021472A1 (en) * 2011-08-09 2013-02-14 富士通株式会社 Scheduling method and scheduling system
US8584137B2 (en) 2007-01-29 2013-11-12 Konica Minolta Business Technologies, Inc. Image processing system for judging whether a partial job should be processed by an own device or another device
US9124508B2 (en) 2011-05-23 2015-09-01 Nec Corporation Communication control device communication control system, communication control method and program
US11765223B2 (en) 2020-12-04 2023-09-19 Kabushiki Kaisha Toshiba Information processing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8584137B2 (en) 2007-01-29 2013-11-12 Konica Minolta Business Technologies, Inc. Image processing system for judging whether a partial job should be processed by an own device or another device
JP2010225134A (en) * 2009-02-25 2010-10-07 Lstar Technologies Llc Routing across multicore network using real world data or modeled data
US8854379B2 (en) 2009-02-25 2014-10-07 Empire Technology Development Llc Routing across multicore networks using real world or modeled data
US9124508B2 (en) 2011-05-23 2015-09-01 Nec Corporation Communication control device communication control system, communication control method and program
WO2013021472A1 (en) * 2011-08-09 2013-02-14 富士通株式会社 Scheduling method and scheduling system
JPWO2013021472A1 (en) * 2011-08-09 2015-03-05 富士通株式会社 Scheduling method and scheduling system
US9684536B2 (en) 2011-08-09 2017-06-20 Fujitsu Limited Scheduling method and scheduling system
US11765223B2 (en) 2020-12-04 2023-09-19 Kabushiki Kaisha Toshiba Information processing system

Similar Documents

Publication Publication Date Title
EP2710470B1 (en) Extensible centralized dynamic resource distribution in a clustered data grid
US20100235509A1 (en) Method, Equipment and System for Resource Acquisition
US20060031395A1 (en) Method and system for managing programs for web service system
KR102192442B1 (en) Balanced leader distribution method and system in kubernetes cluster
JP6272190B2 (en) Computer system, computer, load balancing method and program thereof
US20050267970A1 (en) Load balancing apparatus and method
CN113382077B (en) Micro-service scheduling method, micro-service scheduling device, computer equipment and storage medium
JP2006261949A (en) Distributed processing system dynamically changing processing execution node, and information processing device used in distribution processing system
JP2006079386A (en) Storage area network management system, management apparatus, method for allocating volume, and computer software
CN109412826B (en) SDON architecture model optimization method, device, system and computer readable storage medium
JP2006221423A (en) Data distribution method and device and storage medium
US8205199B2 (en) Method and system for associating new queues with deployed programs in distributed processing systems
JP5957965B2 (en) Virtualization system, load balancing apparatus, load balancing method, and load balancing program
KR20070041462A (en) Grid resource management system and its method for qos-constrained available resource quorum generation
US7885995B2 (en) Processing service requests in a distributed environment
JP6542865B2 (en) Interface aggregation device and interface management method
JP6540287B2 (en) INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM
JP5045576B2 (en) Multiprocessor system and program execution method
JP2015094976A (en) Information processing apparatus, information processing method, and program
JP4392343B2 (en) Message distribution method, standby node device, and program
US20190158585A1 (en) Systems and Methods for Server Failover and Load Balancing
JP2019101965A (en) Information distribution system, information distribution method and server device
Zhang et al. Task assignment optimization in geographically distributed data centers
US11188389B2 (en) Distributed system that promotes task-machine affinity
JP6519180B2 (en) Management system, control method, and control program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080603