JP2010122818A - Computer system and computer - Google Patents

Computer system and computer Download PDF

Info

Publication number
JP2010122818A
JP2010122818A JP2008294725A JP2008294725A JP2010122818A JP 2010122818 A JP2010122818 A JP 2010122818A JP 2008294725 A JP2008294725 A JP 2008294725A JP 2008294725 A JP2008294725 A JP 2008294725A JP 2010122818 A JP2010122818 A JP 2010122818A
Authority
JP
Japan
Prior art keywords
command
node
load
time
computer system
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
JP2008294725A
Other languages
Japanese (ja)
Inventor
Naoko Yamada
直子 山田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2008294725A priority Critical patent/JP2010122818A/en
Publication of JP2010122818A publication Critical patent/JP2010122818A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a computer system capable of preventing the concentration of loads into a command distribution destination while reducing the loads of a command distribution destination node, and thereby capable of performing optimum load balancing. <P>SOLUTION: The computer system includes the command distribution source node 1 for distributing commands and the command distribution destination node 2 for receiving and executing the commands. In the computer system, the command distribution destination node 2 does not perform operation for measuring the loads of the node 2 itself and the command distribution source node 1 detects the loads of the command distribution destination node 2. The command distribution source node 1 controls the distribution of commands to the command distribution destination node 2 according to the detected loads. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、コンピュータシステムに関し、特に、一のノードから他のノードにコマンドを配信するように構成されたコンピュータシステムに関する。   The present invention relates to a computer system, and more particularly to a computer system configured to distribute commands from one node to another node.

複数のノード(例えば、コンピュータ)からなる分散処理システムでは、1つの業務を複数のノード上で処理するために、あるノードから別のノードに対してコマンドを送信して実行するような制御が行われることがある。このようなコンピュータシステムは、例えば、特開平11−328127号公報(特許文献1)に開示されている。   In a distributed processing system including a plurality of nodes (for example, computers), in order to process one task on a plurality of nodes, control is performed such that a command is transmitted from one node to another node and executed. May be. Such a computer system is disclosed in, for example, Japanese Patent Application Laid-Open No. 11-328127 (Patent Document 1).

特許文献1の分散処理システムでは、マネージャマシンからエージェントマシンにコマンドが送られて業務が実行される。このとき、業務の内容によっては、複数のノードに同時にコマンドを配信したり、複数のノードから任意のノードを選択して配信したりするなどのコマンド要求も発生し得る。このような要求に応えるために、特許文献1の分散処理システムでは、マネージャマシンから複数のエージェントマシンに対するコマンド送信、実行を簡単に行うための特別な工夫がなされている。   In the distributed processing system of Patent Document 1, a command is sent from a manager machine to an agent machine to execute a task. At this time, depending on the contents of the business, a command request such as distributing a command to a plurality of nodes at the same time or selecting and distributing an arbitrary node from the plurality of nodes may occur. In order to meet such a demand, the distributed processing system of Patent Document 1 has a special device for easily performing command transmission and execution from a manager machine to a plurality of agent machines.

しかし、あるノードから別のノードにコマンドを送信する分散処理システムでは、業務処理の集中により一時的に高負荷状態になっているノードにコマンドを配信する結果、そのノードの資源を圧迫して業務遅延を引き起こしてしまうという問題が発生し得る。   However, in a distributed processing system that sends a command from one node to another, the command is distributed to a node that is temporarily in a high load state due to the concentration of business processing. The problem of causing delays can occur.

負荷の集中の問題を解決するための一つの手法は、コマンド配信先の選択の優先順位を、適宜に切り換える手法である。このような手法は、例えば、特開平6−119282号公報(特許文献2)に開示されている。   One method for solving the problem of load concentration is a method of appropriately switching the priority of command distribution destination selection. Such a technique is disclosed in, for example, Japanese Patent Laid-Open No. 6-119282 (Patent Document 2).

負荷の集中の問題を解決するための他の一つの手法は、コマンド配信先の負荷を検出し、その検出結果に応じてコマンド配信先を決定する手法である。このような手法は、例えば、特開平11−250023号公報(特許文献3)に開示されている。この文献に開示された分散処理システムでは、各処理装置が自身の負荷レベルを測定して処理分配機に送信する。各処理装置は、各時刻において処理分配機に負荷レベルを通知するか否かを、負荷レベルの値と、前回に負荷レベルを通知してからの経過時間に応じて決定する。一方、処理分配機は、過去に送られてきた負荷レベルと、その時点からの経過時間を利用することにより、現在の各処理装置の負荷レベルを範囲を持って推定する。処理分配機は、この推定値に応じて負荷分散の処理を行う。各ノードにおいて負荷を検出する手法については、他にも、特開平11−143838号公報(特許文献4)、特開2002−7144号公報(特許文献5)にも開示されている。   Another method for solving the load concentration problem is a method of detecting the load of the command distribution destination and determining the command distribution destination according to the detection result. Such a method is disclosed in, for example, Japanese Patent Laid-Open No. 11-250023 (Patent Document 3). In the distributed processing system disclosed in this document, each processing apparatus measures its own load level and transmits it to the processing distributor. Each processing apparatus determines whether or not to notify the processing distributor of the load level at each time according to the value of the load level and the elapsed time since the previous notification of the load level. On the other hand, the processing distributor estimates the current load level of each processing apparatus with a range by using the load level sent in the past and the elapsed time from that point. The processing distributor performs load distribution processing according to the estimated value. Other methods for detecting the load at each node are also disclosed in JP-A-11-143838 (Patent Document 4) and JP-A-2002-7144 (Patent Document 5).

しかしながら、コマンドを実行するノード自身が負荷を検出する構成では、負荷検出のための負荷が各ノードにかかるため、コマンドを実行する各ノードの業務を圧迫するという問題がある。
特開平11−328127号公報 特開平6−119282号公報 特開平11−250023号公報 特開平11−143838号公報 特開2002−7144号公報
However, in the configuration in which the node that executes the command itself detects the load, a load for load detection is applied to each node, and thus there is a problem that the work of each node that executes the command is compressed.
JP 11-328127 A JP-A-6-119282 Japanese Patent Laid-Open No. 11-250023 Japanese Patent Laid-Open No. 11-143838 JP 2002-7144 A

したがって、本発明の目的は、コマンド配信先ノードの負荷を軽減しながら、コマンド配信先への負荷の集中を防ぎ、これにより、最適な負荷分散を行うことができるコンピュータシステムを提供することにある。   Accordingly, an object of the present invention is to provide a computer system capable of reducing the load on a command distribution destination node while preventing concentration of the load on the command distribution destination and thereby performing optimum load distribution. .

本発明のコンピュータシステムは、コマンドを配信するための第1ノードと、前記コマンドを受け取って実行する第2ノードとを備えている。当該コンピュータシステムでは、前記第2ノードが自己の負荷を測定する動作を行わずに前記第1ノードが前記第2ノードの負荷を検出する。前記第1ノードは、前記検出された負荷に応じて前記コマンドの前記第2ノードへの配信を制御するように構成されている。   The computer system of the present invention includes a first node for distributing a command and a second node for receiving and executing the command. In the computer system, the first node detects the load of the second node without the second node performing an operation of measuring its own load. The first node is configured to control delivery of the command to the second node according to the detected load.

本発明によれば、コマンド配信先ノードの負荷を軽減しながら、コマンド配信先への負荷の集中を防ぎ、これにより、最適な負荷分散を行うことができるコンピュータシステムが提供される。   According to the present invention, it is possible to provide a computer system capable of reducing the load on a command distribution destination node while preventing the load from being concentrated on the command distribution destination and thereby performing optimal load distribution.

(第1の実施形態)
図1を参照すると、第1の実施形態のコンピュータシステムは、コマンド配信元ノード1と、コマンド配信先ノード2と、コマンド配信元ノード1とコマンド配信先ノード2を接続するネットワーク3とを含む。図1では、3つのコマンド配信先ノード2が図示されており、必要がある場合、符号2A、2B、2Cによって参照されて区別される。コマンド配信元ノード1は、コマンドをコマンド配信先ノード2に配信し、コマンド配信先ノード2に所望の処理をさせる。配信されるコマンドとしては、例えば、ファイル操作コマンド(ファイル初期化や削除など)や、データ収集・照会コマンド、バッチ処理の開始や動作変更を指示するコマンドなどが挙げられる。コマンド配信元ノード1には、端末11が接続されており、ユーザは、端末11を操作することによって所望のコマンドをコマンド配信先ノード2に配信する動作をコマンド配信元ノード1に実行させることができる。
(First embodiment)
Referring to FIG. 1, the computer system of the first embodiment includes a command distribution source node 1, a command distribution destination node 2, and a network 3 that connects the command distribution source node 1 and the command distribution destination node 2. In FIG. 1, three command distribution destination nodes 2 are illustrated, and when necessary, they are distinguished by being referred to by reference numerals 2A, 2B, and 2C. The command distribution source node 1 distributes the command to the command distribution destination node 2, and causes the command distribution destination node 2 to perform a desired process. Examples of the command to be distributed include a file operation command (file initialization, deletion, etc.), a data collection / inquiry command, a command for instructing start of batch processing or operation change, and the like. A terminal 11 is connected to the command distribution source node 1, and the user can cause the command distribution source node 1 to perform an operation of distributing a desired command to the command distribution destination node 2 by operating the terminal 11. it can.

図2は、コマンド配信元ノード1と、コマンド配信先ノード2の構成の例を示すブロック図である。コマンド配信元ノード1は、アプリケーションプログラム12と、コマンド受付手段13と、コマンドキュー15と、キュー管理手段16と、負荷評価手段17と、コマンド配信手段18とを備えている。図1には、コマンドキュー15が1つしか図示されていないが、実際には、コマンドキュー15は、コマンド配信先ノード2ごとに用意される。即ち、3つのコマンド配信先ノード2が存在する場合には、3つのコマンドキュー15がコマンド配信元ノード1に用意される。コマンド受付手段13と、コマンドキュー15と、キュー管理手段16と、負荷評価手段17と、コマンド配信手段18は、ソフトウェア、ハードウェア、及びこれらの組み合わせのいずれの形態でコマンド配信元ノード1に実装されてもよい。   FIG. 2 is a block diagram illustrating an example of the configuration of the command distribution source node 1 and the command distribution destination node 2. The command distribution source node 1 includes an application program 12, a command reception unit 13, a command queue 15, a queue management unit 16, a load evaluation unit 17, and a command distribution unit 18. Although only one command queue 15 is illustrated in FIG. 1, actually, the command queue 15 is prepared for each command distribution destination node 2. That is, when there are three command distribution destination nodes 2, three command queues 15 are prepared in the command distribution source node 1. The command receiving means 13, the command queue 15, the queue management means 16, the load evaluation means 17, and the command distribution means 18 are implemented in the command distribution source node 1 in any form of software, hardware, and a combination thereof. May be.

加えて、コマンド配信元ノード1の記憶装置には、コマンド属性情報ファイル14と、実行結果リスト19とが用意される。コマンド属性情報ファイル14とは、コマンドごとにその動作属性などをあらかじめ定義しておくための情報(即ち、コマンド属性情報)を格納するファイルである。また、実行結果リスト19には、当該コマンド配信元ノード1からの指示に応答してコマンド配信先ノード2により実行されたコマンドの実行時刻や実行結果が記録される。   In addition, a command attribute information file 14 and an execution result list 19 are prepared in the storage device of the command distribution source node 1. The command attribute information file 14 is a file that stores information (that is, command attribute information) for defining operation attributes and the like for each command in advance. The execution result list 19 records the execution time and execution result of the command executed by the command delivery destination node 2 in response to the instruction from the command delivery source node 1.

コマンド配信先ノード2は、複数存在することができ、それぞれ少なくともコマンド実行手段21と、コマンド処理プログラム22とを備えている。コマンド配信先ノード2は、コマンド処理プログラム22以外の業務処理を実行することもできるように構成されてもよい。また、コマンド実行手段21は、ソフトウェア、ハードウェア、及びこれらの組み合わせのいずれの形態でコマンド配信元ノード1に実装されてもよい。   There can be a plurality of command distribution destination nodes 2, each including at least a command execution means 21 and a command processing program 22. The command distribution destination node 2 may be configured to execute business processing other than the command processing program 22. The command execution means 21 may be implemented in the command distribution source node 1 in any form of software, hardware, and a combination thereof.

コマンド配信元ノード1及びコマンド配信先ノード2は、概略的には、下記のように動作する:
コマンド配信元ノード1のコマンド受付手段13は、端末11またはアプリケーションプログラム12からコマンドテキストとその宛先情報などを含むコマンド配信要求を受け取ると、該コマンド配信要求の宛先情報またはコマンド属性情報ファイル14の対応するコマンド属性情報に基づいてコマンド配信先ノード2を決定し、当該コマンド配信先ノード2に対応するコマンドキュー15にコマンド配信要求を登録する。
The command distribution source node 1 and the command distribution destination node 2 generally operate as follows:
When the command receiving means 13 of the command distribution source node 1 receives a command distribution request including a command text and its destination information from the terminal 11 or the application program 12, the correspondence of the command distribution request destination information or command attribute information file 14 is received. The command distribution destination node 2 is determined based on the command attribute information to be registered, and the command distribution request is registered in the command queue 15 corresponding to the command distribution destination node 2.

キュー管理手段16は、コマンドキュー15を監視し、コマンドキュー15にコマンド配信要求が登録されるとそれを1件ずつ取り出して、負荷評価手段17によりコマンド配信先ノード2の負荷状況を調べ、その結果負荷が高いと判断された場合には所定時間待ち合わせた後に、負荷が高いと判断されなかった場合には即時に、コマンド配信手段18を起動してコマンド配信先ノード2へのコマンド配信を行う。   The queue management means 16 monitors the command queue 15, and when a command distribution request is registered in the command queue 15, retrieves it one by one, checks the load status of the command distribution destination node 2 by the load evaluation means 17, When it is determined that the resulting load is high, after waiting for a predetermined time, if it is not determined that the load is high, the command distribution means 18 is immediately activated to distribute the command to the command distribution destination node 2. .

負荷評価手段17は、実行結果リスト19を参照して、現在時刻から所定時間前までの間に当該コマンド配信先ノード2に配信し実行されたすべてのコマンドについて実際のコマンド実行時間と当該コマンドの標準実行時間の情報を取得し、実際のコマンド実行時間が標準実行時間を所定以上に超過している場合には負荷が高いと判断する。   The load evaluation means 17 refers to the execution result list 19 and, for all commands distributed and executed to the command distribution destination node 2 between the current time and a predetermined time before, the actual command execution time and the command Information on the standard execution time is acquired, and if the actual command execution time exceeds the standard execution time by a predetermined amount or more, it is determined that the load is high.

コマンド配信手段18は、コマンド配信要求に含まれるコマンドテキストをコマンド配信先ノード2に配信するとともに、実行結果リスト19にコマンド配信要求またはコマンド属性情報に示された当該コマンドの標準実行時間、およびコマンド配信時刻を記録する。さらに、コマンド配信先ノード2からコマンドの実行結果を受け取り、受け取った実行結果および受け取った時刻を実行結果リスト19に登録するとともに、コマンド配信要求で実行結果の返却が指示されていた場合は実行結果を端末11またはアプリケーションプログラム12に返却する。   The command distribution means 18 distributes the command text included in the command distribution request to the command distribution destination node 2, and the standard execution time of the command indicated in the command distribution request or the command attribute information in the execution result list 19, and the command Record the delivery time. Furthermore, the command execution result is received from the command distribution destination node 2, the received execution result and the received time are registered in the execution result list 19, and the execution result is returned when the command distribution request instructs the return of the execution result. Is returned to the terminal 11 or the application program 12.

コマンド実行手段21は、コマンド配信手段18によって配信されたコマンドを受け取り、該当するコマンド処理プログラム22を実行する。コマンド実行が終了すると、コマンド実行手段21は実行結果をコマンド配信手段18に返却する。   The command execution unit 21 receives the command distributed by the command distribution unit 18 and executes the corresponding command processing program 22. When the command execution ends, the command execution means 21 returns the execution result to the command distribution means 18.

次に、図2〜図4を参照して本実施形態のコンピュータシステムの動作について詳細に説明する。
図3は、図2の実行結果リスト19の構造例および実行結果リスト19への記録例を示したものである。実行結果リスト19はコマンド配信先ノード2ごとに用意されており、コマンド名31の項目と、コマンドの標準的な実行時間である標準実行時間32の項目と、コマンドの実行開始時刻である開始時刻33の項目と、コマンドの実行終了時刻である終了時刻34の項目と、実行結果35の項目とを含む。一つのコマンドに実行結果リスト19の一つのエントリーが割り当てられ、各エントリーには、これらの項目の情報が記述される。図3において、符号41〜47は、各エントリーを示している。
Next, the operation of the computer system of this embodiment will be described in detail with reference to FIGS.
FIG. 3 shows an example of the structure of the execution result list 19 of FIG. 2 and an example of recording in the execution result list 19. The execution result list 19 is prepared for each command distribution destination node 2, and includes an item of the command name 31, an item of the standard execution time 32 that is a standard execution time of the command, and a start time that is the execution start time of the command. 33 items, an item of the end time 34 that is the execution end time of the command, and an item of the execution result 35 are included. One entry of the execution result list 19 is assigned to one command, and information on these items is described in each entry. In FIG. 3, reference numerals 41 to 47 indicate entries.

一方、図4は、端末11またはアプリケーションプログラム12から出されるコマンド配信要求の構造の例を示したものである。コマンド配信要求は、1つ以上のコマンド配信先ノード2を直接的または間接的に示す宛先情報51と、コマンド配信先ノード2の負荷が高い場合に待ち合わせを行う(「待ち合わせ可」)か、エラーを返却する(「エラー」)か、負荷状況に関わらず強制的に実行する(「強制実行」)かを示す動作属性52と、コマンドの標準実行時間を示す標準実行時間53と、コマンドの実行結果の返却が必要か否かを示す結果返却方法情報54と、コマンド名およびコマンドの実行条件などを指定したコマンドパラメータを含むコマンドテキスト55とを含む。ただし、宛先情報51と動作属性52と標準実行時間53と結果返却方法情報54とは、あらかじめコマンド名ごとに定義してコマンド属性情報ファイル14に登録することができ、コマンド属性情報ファイル14に登録されている項目についてはコマンド配信要求では省略することができる。   On the other hand, FIG. 4 shows an example of the structure of a command distribution request issued from the terminal 11 or the application program 12. The command distribution request is to wait for the destination information 51 indicating one or more command distribution destination nodes 2 directly or indirectly and when the load of the command distribution destination node 2 is high (“waiting is possible”) or an error. Is returned ("error") or forcibly executed regardless of the load status ("forced execution"), a standard execution time 53 indicating the standard execution time of the command, and command execution Result return method information 54 indicating whether or not results need to be returned, and command text 55 including command parameters specifying a command name, command execution conditions, and the like. However, the destination information 51, the operation attribute 52, the standard execution time 53, and the result return method information 54 can be defined in advance for each command name and registered in the command attribute information file 14, and registered in the command attribute information file 14. These items can be omitted in the command distribution request.

コマンド受付手段13は、端末11またはアプリケーションプログラム12からコマンド配信要求を受け取ると、コマンド配信要求の宛先情報51と動作属性52と標準実行時間53と結果返却方法情報54の一部またはすべての項目が省略されている場合に、コマンドテキスト55内のコマンド名に対応するコマンド属性情報のうち省略された項目の情報をコマンド属性情報ファイル14から取得して、コマンド配信要求の該当する項目に設定する。次に、コマンド受付手段13は、宛先情報51に基づいてコマンド配信先ノード2を決定する。さらに、コマンド配信要求の動作属性52が「待ち合わせ可」の場合に、コマンド受付手段13は当該コマンド配信先ノード2に対応するコマンドキュー15にコマンド配信要求を登録する。また、動作属性52が「エラー」の場合には、コマンド受付手段13は負荷評価手段17によりコマンド配信先ノード2の負荷状況を調べ、負荷が高い場合には端末11またはアプリケーションプログラム12にエラーを返却し、そうでない場合にはコマンド配信手段18を起動し、コマンド配信手段18にコマンド配信要求を受け渡す。また、動作属性52が「強制実行」の場合には、コマンド受付手段13は無条件でコマンド配信手段18を起動し、コマンド配信手段18にコマンド配信要求を受け渡す。   When receiving a command distribution request from the terminal 11 or the application program 12, the command receiving unit 13 stores some or all items of the command distribution request destination information 51, the operation attribute 52, the standard execution time 53, and the result return method information 54. If omitted, the information of the omitted item in the command attribute information corresponding to the command name in the command text 55 is acquired from the command attribute information file 14 and set in the corresponding item of the command distribution request. Next, the command receiving unit 13 determines the command distribution destination node 2 based on the destination information 51. Further, when the operation attribute 52 of the command distribution request is “waiting is possible”, the command receiving means 13 registers the command distribution request in the command queue 15 corresponding to the command distribution destination node 2. When the operation attribute 52 is “error”, the command receiving unit 13 checks the load status of the command distribution destination node 2 by the load evaluation unit 17, and when the load is high, the command receiving unit 13 gives an error to the terminal 11 or the application program 12. If not, the command distribution unit 18 is activated, and a command distribution request is delivered to the command distribution unit 18. When the operation attribute 52 is “forced execution”, the command receiving unit 13 unconditionally activates the command distribution unit 18 and passes the command distribution request to the command distribution unit 18.

キュー管理手段16は、コマンドキュー15を監視し、コマンドキュー15にコマンド配信要求が登録されると、これを取り出して負荷評価手段17によりコマンド配信先ノード2の負荷状況を調べる。調べた結果、負荷が高いと判断された場合には、キュー管理手段16は、所定時間の待ち合わせを行った後にコマンド配信手段18を起動して前記コマンド配信手段18にコマンド配信要求を受け渡す。一方、負荷状況を調べた結果、負荷が高いと判断されなかった場合には、キュー管理手段16は、即時にコマンド配信手段18を起動して、コマンド配信手段18にコマンド配信要求を受け渡す。なお、コマンドキュー15に同時に複数のコマンド配信要求が登録されていた場合には、キュー管理手段16は登録順序の古いものから順に1件ずつ取り出して前述の処理を行い、コマンド配信手段18を起動したら次のコマンド配信要求を取り出す。   The queue management means 16 monitors the command queue 15, and when a command delivery request is registered in the command queue 15, takes it out and examines the load status of the command delivery destination node 2 by the load evaluation means 17. As a result of the examination, if it is determined that the load is high, the queue management unit 16 activates the command distribution unit 18 after waiting for a predetermined time, and passes the command distribution request to the command distribution unit 18. On the other hand, if it is not determined that the load is high as a result of examining the load status, the queue management unit 16 immediately activates the command distribution unit 18 and passes the command distribution request to the command distribution unit 18. When a plurality of command distribution requests are registered in the command queue 15 at the same time, the queue management means 16 takes out one by one from the oldest registration order, performs the above-described processing, and activates the command distribution means 18 Then, the next command distribution request is taken out.

負荷評価手段17は、コマンド配信先ノード2の負荷状況を調べる機能を有している。本実施形態では、コマンド配信先ノード2の負荷状況は、当該コマンド配信先ノード2に配信し各コマンドの実行に実際に要した時間であるコマンド実行時間に基づいて判断される。より具体的には、本実施形態では、負荷評価手段17は、下記のようにして各コマンド配信先ノード2の負荷の状況を調べる。負荷評価手段17は、実行結果リスト19を参照して、現在時刻から所定時間前までの間に当該コマンド配信先ノード2に配信し実行された各コマンドについてコマンドの実際のコマンド実行時間と標準実行時間32を取得する。ここで、コマンド実行時間は、コマンドの実行の開始時刻33と終了時刻34とから算出される。更に、負荷評価手段17は、実際のコマンド実行時間が標準実行時間32を所定以上に超過している場合には負荷が高いと判断する。   The load evaluation unit 17 has a function of examining the load status of the command distribution destination node 2. In this embodiment, the load status of the command delivery destination node 2 is determined based on the command execution time that is the time actually delivered to the command delivery destination node 2 and actually executed for each command. More specifically, in this embodiment, the load evaluation unit 17 checks the load status of each command distribution destination node 2 as follows. The load evaluation means 17 refers to the execution result list 19 and executes the actual command execution time and standard execution of the command for each command distributed and executed to the command distribution destination node 2 between the current time and a predetermined time before. Get time 32. Here, the command execution time is calculated from the start time 33 and the end time 34 of the command execution. Furthermore, the load evaluation means 17 determines that the load is high when the actual command execution time exceeds the standard execution time 32 by a predetermined amount or more.

コマンド配信手段18はコマンド配信要求を受け取ると、そのコマンドテキスト55をコマンド配信先ノード2に配信するとともに、実行結果リスト19に新しいエントリーを作成し、作成したエントリーのコマンド名31にコマンドテキスト55から取り出したコマンド名を、標準実行時間32にコマンド配信要求の標準実行時間53を、また、開始時刻33にコマンド配信時刻を記録する。コマンド配信先ノード2では、コマンド実行手段21がコマンドを受け取り、該当するコマンド処理プログラム22を実行する。コマンド実行が終了すると、コマンド実行手段21はコマンドの実行結果をコマンド配信手段18に返却する。コマンド配信手段18は実行結果リスト19の終了時刻34として実行結果を受け取った時刻を記録し、実行結果リスト19の実行結果35として返却された実行結果の内容を記録するとともに、コマンド配信要求の結果返却方法情報54で実行結果の返却が指示されていた場合は返却された実行結果を端末11またはアプリケーションプログラム12に返却する。なお、コマンド配信先ノード2においてコマンド実行手段21がコマンドを受け付けた時刻が開始時刻33として実行結果リスト19に記録され、また、コマンド処理プログラム22が終了してコマンド配信手段18に実行結果を返却するときの時刻が終了時刻34として実行結果リスト19に記録されてもよい。この場合、コマンド実行手段21は、コマンド終了時にコマンド配信手段18に対し、コマンドの実行結果に加えてコマンド実行手段21がコマンドを受け付けた時刻と、コマンド処理プログラム22が終了してコマンド配信手段18に実行結果を返却するときの時刻を返答する。コマンド配信手段18は、これら返答された時刻をそれぞれ開始時刻33と終了時刻34として記録する。   Upon receiving the command distribution request, the command distribution means 18 distributes the command text 55 to the command distribution destination node 2, creates a new entry in the execution result list 19, and adds the command name 31 of the created entry from the command text 55. The extracted command name is recorded in the standard execution time 32 as the standard delivery time 53 of the command delivery request, and the command delivery time is recorded as the start time 33. In the command distribution destination node 2, the command execution means 21 receives the command and executes the corresponding command processing program 22. When the command execution is completed, the command execution means 21 returns the command execution result to the command distribution means 18. The command distribution means 18 records the time when the execution result is received as the end time 34 of the execution result list 19, records the contents of the execution result returned as the execution result 35 of the execution result list 19, and the result of the command distribution request If the return method information 54 instructs to return the execution result, the returned execution result is returned to the terminal 11 or the application program 12. The time at which the command execution means 21 receives the command at the command distribution destination node 2 is recorded in the execution result list 19 as the start time 33, and the command processing program 22 is terminated and the execution result is returned to the command distribution means 18. The time when this is done may be recorded in the execution result list 19 as the end time 34. In this case, the command execution means 21 gives the command distribution means 18 when the command is completed, in addition to the command execution result, the time when the command execution means 21 received the command, and the command processing program 22 ends and the command distribution means 18 Returns the time when the execution result is returned. The command distribution means 18 records these returned times as a start time 33 and an end time 34, respectively.

コマンドを配信する動作は、コマンド配信要求に記述された動作属性52の内容によって異なる。以下では、動作属性52の内容に依存したコマンド配信動作について詳細に説明する。   The operation for distributing the command differs depending on the content of the operation attribute 52 described in the command distribution request. Hereinafter, a command distribution operation depending on the contents of the operation attribute 52 will be described in detail.

(1)動作属性が「待ち合わせ可」である場合:
例えば、コマンド配信元ノード1のコマンド受付手段13が、アプリケーションプログラム12から宛先情報51がコマンド配信先ノード2Aであり、動作属性52が「待ち合わせ可」であるコマンド配信要求を受け取った場合、コマンド受付手段13は、コマンド配信先ノード2Aに対応するコマンドキュー15にコマンド配信要求を登録する。このとき、コマンド配信要求に標準実行時間53と結果返却方法情報54が指定されていなかった場合は、コマンド属性情報ファイル14から該当の情報を取得してコマンド配信要求に設定しておく。
(1) When the operation attribute is “waiting”:
For example, when the command receiving means 13 of the command distribution source node 1 receives a command distribution request from the application program 12 where the destination information 51 is the command distribution destination node 2A and the operation attribute 52 is “waiting”, the command reception The means 13 registers a command distribution request in the command queue 15 corresponding to the command distribution destination node 2A. At this time, if the standard execution time 53 and the result return method information 54 are not specified in the command distribution request, the corresponding information is acquired from the command attribute information file 14 and set in the command distribution request.

キュー管理手段16は、コマンド配信先ノード2Aのコマンドキュー15から前記コマンド配信要求を取り出すと、負荷評価手段17を呼び出す。負荷評価手段17は、コマンド配信先ノード2Aに対応する実行結果リスト19を参照し、図5の動作にしたがってコマンド配信先ノード2Aの負荷の評価を行う。   When the queue management unit 16 takes out the command distribution request from the command queue 15 of the command distribution destination node 2A, the queue management unit 16 calls the load evaluation unit 17. The load evaluation unit 17 refers to the execution result list 19 corresponding to the command distribution destination node 2A, and evaluates the load of the command distribution destination node 2A according to the operation of FIG.

より具体的には、図5に示されているように、負荷評価手段17が、現在時刻からあらかじめ定義された検証時間を差し引いて基準時刻を求め(S01)、実行結果リスト19の最新のエントリー(図3ではエントリー47)から、基準時刻までのエントリーを順次参照していく(S02〜S05)。個々のエントリーについては、まず、実行結果リスト19の開始時刻33と基準時刻(例えば10:05:00)を比較し、基準時刻の方が開始時刻よりも時間軸上で後になったら、実行結果リスト19の参照を終了する(S03のNO)。そうでない場合は、終了時刻34から開始時刻33を引いてコマンド実行時間を求め、さらにこのコマンド実行時間を標準実行時間32と比較することにより超過時間(実行時間のうち標準実行時間32を超える部分の時間)を求める(S04)。実行結果リスト19内の対象エントリーの参照が終了したら、超過時間の総和とあらかじめ定義された基準値とを比較する(S08)。超過時間の総和の方が大きい場合には高負荷フラグにONを設定し(S09)、そうでない場合には高負荷フラグにOFFを設定して(S10)、キュー管理手段16に高負荷フラグを返却する。   More specifically, as shown in FIG. 5, the load evaluation unit 17 obtains a reference time by subtracting a predefined verification time from the current time (S01), and the latest entry in the execution result list 19 is obtained. The entries from the entry time (entry 47 in FIG. 3) to the reference time are sequentially referred to (S02 to S05). For each entry, first, the start time 33 in the execution result list 19 is compared with a reference time (for example, 10:05:00), and if the reference time is later on the time axis than the start time, the execution result The reference of the list 19 is terminated (NO in S03). Otherwise, the command execution time is obtained by subtracting the start time 33 from the end time 34, and the command execution time is compared with the standard execution time 32, so that the excess time (the portion of the execution time that exceeds the standard execution time 32). (S04). When the reference of the target entry in the execution result list 19 is completed, the sum of the excess times is compared with a predefined reference value (S08). If the sum of the excess times is larger, the high load flag is set to ON (S09). Otherwise, the high load flag is set to OFF (S10), and the queue management means 16 is set with the high load flag. return.

次に、負荷評価手段17から返却された高負荷フラグがONだった場合、キュー管理手段16は、所定時間分の待ち合わせを行い、待ち合わせ終了後にコマンド配信手段18を起動してコマンド配信手段18にコマンド配信要求を受け渡す。また、負荷評価手段17から返却された高負荷フラグがOFFだった場合、キュー管理手段16は、即時にコマンド配信手段18を起動してコマンド配信手段18にコマンド配信要求を受け渡す。   Next, when the high load flag returned from the load evaluation unit 17 is ON, the queue management unit 16 waits for a predetermined time, and after waiting, the command distribution unit 18 is started and the command distribution unit 18 is activated. Pass the command distribution request. When the high load flag returned from the load evaluation unit 17 is OFF, the queue management unit 16 immediately activates the command distribution unit 18 and passes the command distribution request to the command distribution unit 18.

コマンド配信先ノード2Aの負荷の評価が、コマンド配信元ノード1に設けられた負荷評価手段17によって行われることに留意されたい。コマンド配信先ノード2Aは、自身の負荷を測定する動作を行わない。これは、コマンド配信先ノード2Aに余計な負荷をかけないためである。負荷を測定する動作は、それ自体がコマンド配信先ノード2Aに負荷をかける。そこで、本実施形態のコンピュータシステムでは、コマンド配信元ノード1に設けられた負荷評価手段17によって負荷が評価され、コマンド配信先ノード2Aの負荷が軽減されている。   Note that the load evaluation of the command distribution destination node 2A is performed by the load evaluation means 17 provided in the command distribution source node 1. The command distribution destination node 2A does not perform an operation for measuring its own load. This is because an extra load is not applied to the command distribution destination node 2A. The operation of measuring the load itself places a load on the command distribution destination node 2A. Therefore, in the computer system of this embodiment, the load is evaluated by the load evaluation unit 17 provided in the command distribution source node 1, and the load on the command distribution destination node 2A is reduced.

コマンド配信要求を受け取ると、コマンド配信手段18は、コマンド配信要求に含まれるコマンドテキスト55をコマンド配信先ノード2Aに配信するとともに、コマンド配信先ノード2Aに対応する実行結果リスト19に新しいエントリーを作成して、コマンド名31にコマンド配信要求のコマンドテキスト55から取り出したコマンド名を設定し、標準実行時間32に、コマンド配信要求の標準実行時間53を設定し、開始時刻33にコマンド配信時刻を記録する。コマンド配信先ノード2Aでは、コマンド実行手段21がコマンドテキスト55を受け取り、該当するコマンド処理プログラム22を実行する。コマンド実行が終了すると、コマンド実行手段21はコマンドの実行結果をコマンド配信手段18に返却する。コマンド配信手段18は、実行結果リスト19の当該コマンド配信時に作成したエントリーの終了時刻34に実行結果を受け取った時刻を記録し、実行結果リスト19の実行結果35に返却された実行結果の内容を記録する。さらに、コマンド配信要求の結果返却方法情報54で実行結果の返却が指示されていた場合は、返却された実行結果をアプリケーションプログラム12に返却する。   Upon receiving the command distribution request, the command distribution means 18 distributes the command text 55 included in the command distribution request to the command distribution destination node 2A and creates a new entry in the execution result list 19 corresponding to the command distribution destination node 2A. Then, the command name extracted from the command text 55 of the command distribution request is set as the command name 31, the standard execution time 53 of the command distribution request is set as the standard execution time 32, and the command distribution time is recorded at the start time 33. To do. In the command delivery destination node 2A, the command execution means 21 receives the command text 55 and executes the corresponding command processing program 22. When the command execution is completed, the command execution means 21 returns the command execution result to the command distribution means 18. The command distribution means 18 records the time when the execution result is received at the end time 34 of the entry created at the time of command distribution in the execution result list 19, and the contents of the execution result returned to the execution result 35 in the execution result list 19 are recorded. Record. Furthermore, when the return of execution results is instructed in the result return method information 54 of the command distribution request, the returned execution results are returned to the application program 12.

(2)動作属性が「エラー」である場合:
次に、例えば、コマンド配信元ノード1のコマンド受付手段13がアプリケーションプログラム12から、宛先情報51がコマンド配信先ノード2A、動作属性52が「エラー」であるコマンド配信要求を受け取った場合の動作について説明する。コマンド受付手段13は、コマンド配信要求の項目のうち省略されているものについてコマンド属性情報ファイル14から値を取得、設定した後に、負荷評価手段17を呼び出してコマンド配信先ノード2Aの負荷状況を調べる。負荷評価手段17の動作は、動作属性52が「待ち合わせ可」の場合の例と同様である。負荷評価手段17から返却された高負荷フラグがONだった場合、コマンド受付手段13はアプリケーションプログラム12にエラーを返却する。また、負荷評価手段17から返却された高負荷フラグがOFFだった場合は、コマンド受付手段13はコマンド配信手段18を起動してコマンド配信手段18にコマンド配信要求を受け渡す。コマンド配信手段18は、前記動作属性52が「待ち合わせ可」の場合の例と同様にコマンド配信先ノード2Aへのコマンド配信および実行結果リスト19への記録を行う。
(2) When the operation attribute is “error”:
Next, for example, the operation when the command receiving means 13 of the command distribution source node 1 receives from the application program 12 a command distribution request in which the destination information 51 is the command distribution destination node 2A and the operation attribute 52 is “error”. explain. The command receiving unit 13 obtains and sets values from the command attribute information file 14 for items that are omitted from the command distribution request items, and then calls the load evaluation unit 17 to check the load status of the command distribution destination node 2A. . The operation of the load evaluation unit 17 is the same as the example in the case where the operation attribute 52 is “waiting”. If the high load flag returned from the load evaluation unit 17 is ON, the command reception unit 13 returns an error to the application program 12. If the high load flag returned from the load evaluation unit 17 is OFF, the command reception unit 13 activates the command distribution unit 18 and passes the command distribution request to the command distribution unit 18. The command distribution means 18 performs command distribution to the command distribution destination node 2A and recording to the execution result list 19 in the same manner as in the case where the operation attribute 52 is “waiting is possible”.

(3)動作属性が「強制実行」である場合:
次に、例えば、コマンド配信元ノード1のコマンド受付手段13がアプリケーションプログラム12より、宛先情報51がコマンド配信先ノード2A、動作属性52が「強制実行」のコマンド配信要求を受け取った場合の動作について説明する。コマンド受付手段13は、コマンド配信要求の項目のうち省略されているものについてコマンド属性情報ファイル14から値を取得、設定した後、無条件でコマンド配信手段18を起動してコマンド配信手段18にコマンド配信要求を受け渡す。コマンド配信手段18は、前記動作属性52が「待ち合わせ可」の場合の例と同様にコマンド配信先ノード2Aへのコマンド配信および実行結果リスト19への記録を行う。
(3) When the operation attribute is “forced execution”:
Next, for example, when the command receiving means 13 of the command distribution source node 1 receives a command distribution request from the application program 12, the destination information 51 is the command distribution destination node 2A, and the operation attribute 52 is “forced execution”. explain. The command receiving means 13 obtains and sets values from the command attribute information file 14 for the omitted command delivery request items, and then unconditionally activates the command delivery means 18 and sends a command to the command delivery means 18. Deliver the delivery request. The command distribution means 18 performs command distribution to the command distribution destination node 2A and recording to the execution result list 19 in the same manner as in the case where the operation attribute 52 is “waiting is possible”.

本実施形態のコンピュータシステムには、下記の2つの利点がある。第1の利点は、業務処理の集中により一時的に高負荷状態になっているコマンド配信先ノード2に対してコマンドを配信するような場合、該当のノードの資源を圧迫せずに業務処理を向上させることができることである。この利点は、負荷の検出および待ち合わせをコマンド配信元ノード1で行うことにより、余計な負荷をコマンド配信先ノード2に発生しないようにコンピュータシステムが構成されていることによるものである。   The computer system of this embodiment has the following two advantages. The first advantage is that when a command is distributed to the command distribution destination node 2 that is temporarily in a high load state due to the concentration of the business process, the business process is performed without pressing the resources of the corresponding node. It can be improved. This advantage is due to the fact that the computer system is configured so that extra load is not generated in the command distribution destination node 2 by detecting and waiting for the load in the command distribution source node 1.

第2の利点は、動作属性としてコマンド配信先ノードの負荷状況に関わらず強制的に実行する、および、負荷が高い場合には待ち合わせを行わずにエラーを返却したりするという選択を用意しているので、コマンドの性質に応じた動作が可能となっていることである。さらに、これらの動作属性のコマンドが実行された場合にもその実行結果を実行結果リスト19に記録しているので、実行結果リスト19による負荷状況の判定をより正確に行うことができる。   The second advantage is that the operation attributes are forcibly executed regardless of the load status of the command distribution destination node, and an error is returned without waiting if the load is high. Therefore, the operation according to the nature of the command is possible. Furthermore, even when these operation attribute commands are executed, the execution results are recorded in the execution result list 19, so that the load status can be determined more accurately by the execution result list 19.

(第2の実施形態)
図6は、本発明の第2の実施形態のコンピュータシステムの構成を示すブロック図である。第2の実施形態のコンピュータシステムの構成は、概ね、第1の実施形態のコンピュータシステムと同様である。相違点は、コマンド配信元ノード1に標準実行時間算定手段20が追加されていることにある。標準実行時間算定手段20は、各コマンド名のコマンドの過去の実際の実行時間に基づいて、各コマンド名のそれぞれについて標準実行時間を算定し、コマンド属性情報ファイル14に登録する機能を有している。
(Second Embodiment)
FIG. 6 is a block diagram showing a configuration of a computer system according to the second embodiment of this invention. The configuration of the computer system of the second embodiment is generally the same as that of the computer system of the first embodiment. The difference is that a standard execution time calculation means 20 is added to the command distribution source node 1. The standard execution time calculation means 20 has a function of calculating the standard execution time for each command name based on the past actual execution time of the command of each command name and registering it in the command attribute information file 14. Yes.

標準実行時間算定手段20による標準実行時間の算定を可能にするために、第2の実施形態では、実行結果リスト19の構造が第1の実施形態と異なっている。図7は、第2の実施形態における実行結果リスト19の構造の例である。図7を参照すると、実行結果リスト19は、コマンド名31の項目と、標準実行時間32の項目と、開始時刻33の項目と、終了時刻34の項目と、実行結果35の項目に加え、フラグ36を含んでいる。フラグ36は、いずれのコマンドの開始時刻33及び終了時刻34を標準実行時間算定手段20による標準実行時間の算定に使用するかを指定するために使用される。後述されるように、フラグ36がONであるコマンドは、標準実行時間の算定には使用されない。   In order to enable the standard execution time calculation means 20 to calculate the standard execution time, the structure of the execution result list 19 is different from that of the first embodiment in the second embodiment. FIG. 7 is an example of the structure of the execution result list 19 in the second embodiment. Referring to FIG. 7, the execution result list 19 includes a command name item 31, a standard execution time item 32, a start time item 33, an end time item 34, and an execution result item 35. 36. The flag 36 is used to designate which command start time 33 and end time 34 are used for calculation of the standard execution time by the standard execution time calculation means 20. As will be described later, a command whose flag 36 is ON is not used for calculating the standard execution time.

以下では、第2の実施形態のコンピュータシステムの動作について説明する。コマンド受付手段13、キュー管理手段16、コマンド配信手段18およびコマンド実行手段21の動作は、第1の実施形態(図1)と同様である。したがって、以下では、負荷評価手段17および標準実行時間算定手段20の動作について説明する。   Below, operation | movement of the computer system of 2nd Embodiment is demonstrated. The operations of the command reception unit 13, the queue management unit 16, the command distribution unit 18, and the command execution unit 21 are the same as those in the first embodiment (FIG. 1). Therefore, hereinafter, operations of the load evaluation unit 17 and the standard execution time calculation unit 20 will be described.

負荷評価手段17は、コマンド受付手段13またはキュー管理手段16から呼び出されると、各コマンド配信先ノード2の負荷を評価する。具体的には、負荷評価手段17は、実行結果リスト19を参照して、現在時刻から所定時間前までの間に当該コマンド配信先ノード2に配信し実行されたすべてのコマンドについて、コマンドの実際のコマンド実行時間と標準実行時間32を取得する。コマンド実行時間は、各コマンドの実行の開始時刻33と終了時刻34から算出される。更に負荷評価手段17は、コマンド実行時間と標準実行時間32との比較により超過時間を求める。現在時刻から所定時間前までの間に当該コマンド配信先ノード2に配信し実行されたすべてのコマンドについて超過時間を算出すると、負荷評価手段17は、算出された超過時間の総和とあらかじめ定義された基準値とを比較し、超過時間の総和の方が大きい場合には当該コマンド配信先ノード2の負荷が高いと判断する。   When called from the command receiving means 13 or the queue management means 16, the load evaluation means 17 evaluates the load of each command distribution destination node 2. Specifically, the load evaluation means 17 refers to the execution result list 19 and executes the actual command for all commands distributed and executed to the command distribution destination node 2 between the current time and a predetermined time before. The command execution time and the standard execution time 32 are acquired. The command execution time is calculated from the start time 33 and end time 34 of execution of each command. Further, the load evaluation means 17 obtains the excess time by comparing the command execution time with the standard execution time 32. When the excess time is calculated for all the commands distributed and executed to the command distribution destination node 2 between the current time and a predetermined time before, the load evaluation means 17 is defined in advance as the sum of the calculated excess times. Compared with the reference value, if the sum of the excess times is larger, it is determined that the load of the command distribution destination node 2 is high.

コマンド配信先ノード2の負荷が高いと判断した場合、負荷評価手段17は、現在時刻から所定時間前までの間に当該コマンド配信先ノード2に配信し実行されたすべてのコマンドのフラグ36をONにするとともに、高負荷フラグをONにしてコマンド受付手段13またはキュー管理手段16に返却する。結果として、当該コマンド配信先ノード2の負荷が高い状態でコマンドが処理されると、そのコマンドに対応するフラグ36がONに設定され、標準実行時間の算定から排除されることになる。   When determining that the load of the command distribution destination node 2 is high, the load evaluating means 17 turns on the flags 36 of all commands distributed and executed to the command distribution destination node 2 between the current time and a predetermined time before. At the same time, the high load flag is set to ON and returned to the command receiving means 13 or the queue management means 16. As a result, when a command is processed in a state where the load of the command distribution destination node 2 is high, the flag 36 corresponding to the command is set to ON and excluded from the calculation of the standard execution time.

一方、コマンド配信先ノード2の負荷が高くないと判断した場合、負荷評価手段17は、高負荷フラグにOFFを設定して、キュー管理手段16に高負荷フラグを返却する。   On the other hand, when determining that the load of the command distribution destination node 2 is not high, the load evaluation unit 17 sets the high load flag to OFF and returns the high load flag to the queue management unit 16.

標準実行時間算定手段20は、利用者からの指示やあらかじめ定められたタイミングで起動されると、特定のコマンドまたはすべてのコマンドについて標準実行時間を算定する。詳細には、標準実行時間算定手段20は、算定の対象のコマンドについて実行結果リスト19から実際のコマンド実行時間を取得する。コマンド実行時間は、コマンドの実行の開始時刻33と終了時刻34から算出される。更に、標準実行時間算定手段20は、実際のコマンド実行時間に基づいて当該コマンドの標準実行時間を算定し、算定した標準実行時間をコマンド属性情報ファイル14に登録する。ただし、実行結果リスト19のフラグ36にONが設定されているコマンド、および、実際の実行時間が実行結果リスト19の標準実行時間32を所定の算定基準値以上に超過しているコマンドについては標準実行時間の算定には使用されない。   The standard execution time calculation means 20 calculates a standard execution time for a specific command or all commands when activated by an instruction from a user or at a predetermined timing. Specifically, the standard execution time calculation means 20 acquires the actual command execution time from the execution result list 19 for the command to be calculated. The command execution time is calculated from the command execution start time 33 and end time 34. Further, the standard execution time calculation means 20 calculates the standard execution time of the command based on the actual command execution time, and registers the calculated standard execution time in the command attribute information file 14. However, a command for which the flag 36 of the execution result list 19 is set to ON and a command whose actual execution time exceeds the standard execution time 32 of the execution result list 19 by a predetermined calculation reference value or more are standard. It is not used to calculate execution time.

このように、本実施形態では、標準実行時間算定手段20によって標準実行時間が算出され、コマンド属性情報ファイル14に登録される。このような構成では、実際のコマンド実行時間に即して算出された標準実行時間に基づいて各コマンド配信先ノード2の負荷が評価されるため、各コマンド配信先ノード2の負荷をより適正に評価することができる。このとき、コマンド配信先ノード2の負荷が高い状態で実行されたコマンドが標準実行時間の算定から排除されることにより、標準実行時間を適正に算定することができる。   Thus, in this embodiment, the standard execution time is calculated by the standard execution time calculation means 20 and registered in the command attribute information file 14. In such a configuration, since the load of each command distribution destination node 2 is evaluated based on the standard execution time calculated in accordance with the actual command execution time, the load of each command distribution destination node 2 is more appropriately set. Can be evaluated. At this time, the standard execution time can be appropriately calculated by excluding commands executed in a state where the load of the command distribution destination node 2 is high from the calculation of the standard execution time.

図1は、本発明の第1の実施形態のコンピュータシステムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a computer system according to the first embodiment of this invention. 図2は、図1のコンピュータシステムのコマンド配信元ノードとコマンド配信先ノードの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a command distribution source node and a command distribution destination node of the computer system of FIG. 図3は、第1の実施形態における実行結果リストの内容を示す表である。FIG. 3 is a table showing the contents of the execution result list in the first embodiment. 図4は、コマンド配信要求の内容の例を示したものである。FIG. 4 shows an example of the contents of the command distribution request. 図5は、コマンド配信元ノードの負荷評価手段が、コマンド配信先ノードの負荷を検出する手順の例を示すフローチャートである。FIG. 5 is a flowchart illustrating an example of a procedure in which the load evaluation unit of the command distribution source node detects the load of the command distribution destination node. 図6は、本発明の第2の実施形態のコンピュータシステムの構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of a computer system according to the second embodiment of this invention. 図7は、第2の実施形態における実行結果リストの内容を示す表である。FIG. 7 is a table showing the contents of the execution result list in the second embodiment.

符号の説明Explanation of symbols

1:コマンド配信元ノード
2、2A〜2C:コマンド配信先ノード
3:ネットワーク
11:端末
12:アプリケーションプログラム
13:コマンド受付手段
14:コマンド属性情報ファイル
15:コマンドキュー
16:キュー管理手段
17:負荷評価手段
18:コマンド配信手段
19:実行結果リスト
20:標準実行時間算定手段
21:コマンド実行手段
22:コマンド処理プログラム
31:コマンド名
32:標準実行時間
33:開始時刻
34:終了時刻
35:実行結果
36:フラグ
41〜47:エントリー
51:宛先情報
52:動作属性
53:標準実行時間
54:結果返却方法情報
55:コマンドテキスト
1: Command distribution source node 2, 2A to 2C: Command distribution destination node 3: Network 11: Terminal 12: Application program 13: Command reception means 14: Command attribute information file 15: Command queue 16: Queue management means 17: Load evaluation Means 18: Command distribution means 19: Execution result list 20: Standard execution time calculation means 21: Command execution means 22: Command processing program 31: Command name 32: Standard execution time 33: Start time 34: End time 35: Execution result 36 : Flags 41 to 47: Entry 51: Destination information 52: Operation attribute 53: Standard execution time 54: Result return method information 55: Command text

Claims (8)

コマンドを配信するための第1ノードと、
前記コマンドを受け取って実行する第2ノード
とを備え、
前記第2ノードが自己の負荷を測定する動作を行わずに前記第1ノードが前記第2ノードの負荷を検出し、
前記第1ノードが、前記検出された負荷に応じて前記コマンドの前記第2ノードへの配信を制御するように構成された
コンピュータシステム。
A first node for delivering commands;
A second node that receives and executes the command;
The first node detects the load of the second node without the second node performing an operation of measuring its own load;
A computer system, wherein the first node is configured to control delivery of the command to the second node in accordance with the detected load.
請求項1に記載のコンピュータシステムであって、
前記第1ノードは、過去に前記第2ノードにおいて前記コマンドを実行するために実際に要したコマンド実行時間を算出し、前記コマンド実行時間に基づいて前記第2ノードの負荷を検出するように構成された
コンピュータシステム。
The computer system according to claim 1,
The first node is configured to calculate a command execution time actually required to execute the command in the past in the second node and detect a load of the second node based on the command execution time. Computer system.
請求項2に記載のコンピュータシステムであって、
前記第2ノードは、前記コマンドを受け取って実行した後、実行結果を前記第1ノードに返却するように構成されており、
前記第1ノードは、前記実行結果を前記第2ノードから受け取った時刻から前記コマンド実行時間を算出する
コンピュータシステム。
A computer system according to claim 2,
The second node is configured to return an execution result to the first node after receiving and executing the command;
The computer system, wherein the first node calculates the command execution time from a time when the execution result is received from the second node.
請求項2に記載のコンピュータシステムであって、
前記第2ノードは、前記コマンドを受け取って実行した後、実行結果を前記第1ノードに返却するように構成されており、
前記実行結果には、前記第2ノードが前記実行結果を前記第1ノードに返却する返却時刻が記述され、
前記第1ノードは、前記実行結果に記述されている前期返却時刻から前記コマンド実行時間を算出する
コンピュータシステム。
A computer system according to claim 2,
The second node is configured to return an execution result to the first node after receiving and executing the command;
In the execution result, a return time at which the second node returns the execution result to the first node is described.
The computer system, wherein the first node calculates the command execution time from a previous return time described in the execution result.
請求項2乃至4のいずれか1項に記載のコンピュータシステムであって、
前記第1ノードは、前記コマンド実行時間のうちの所定の標準時間時間を超過する部分である超過時間に基づいて、前記第2ノードの負荷を検出するように構成された
コンピュータシステム。
A computer system according to any one of claims 2 to 4,
The computer system is configured to detect a load of the second node based on an excess time that is a portion of the command execution time that exceeds a predetermined standard time.
請求項1乃至4のいずれか1項に記載のコンピュータシステムであって、
前記コマンドのそれぞれには動作属性が設定され、
前記第1ノードが、前記コマンドのそれぞれの前記動作属性に基づいて、前記第2ノードの負荷に応じて前記コマンドの送信を待ち合わせる動作、前記第2ノードの負荷に応じて前記コマンドの操作を取りやめる動作、及び検出された前記第2ノードの負荷に無関係に前記コマンドを前記第2ノードに送る動作を選択して行うように構成された
コンピュータシステム。
A computer system according to any one of claims 1 to 4,
Each of the commands has an operation attribute set,
Based on the operation attribute of each of the commands, the first node waits for transmission of the command according to the load of the second node, and cancels the operation of the command according to the load of the second node A computer system configured to selectively perform an operation and an operation of sending the command to the second node regardless of the detected load of the second node.
コマンドをコマンド配信先ノードに配信するための配信手段と、
前記コマンド配信先ノードの負荷を検出する負荷検出手段
とを備え、
前記配信手段は、前記検出された負荷に応じて前記コマンドの前記第2ノードへの配信を制御するように構成され、
前記負荷検出手段は、コマンド配信先ノードが自己の負荷を測定した結果を用いずに前記コマンド配信先ノードの前記負荷を検出する
コンピュータ。
A delivery means for delivering a command to a command delivery destination node;
Load detecting means for detecting the load of the command delivery destination node,
The delivery means is configured to control delivery of the command to the second node according to the detected load,
The load detection means is a computer that detects the load of the command distribution destination node without using a result of the command distribution destination node measuring its own load.
請求項7に記載のコンピュータであって、
前記負荷検出手段は、過去に前記コマンド配信先ノードにおいて前記コマンドを実行するために実際に要したコマンド実行時間を算出し、前記コマンド実行時間に基づいて前記第2ノードの負荷を検出するように構成された
コンピュータシステム。
The computer according to claim 7,
The load detection means calculates a command execution time actually required to execute the command in the command distribution destination node in the past, and detects the load of the second node based on the command execution time. Configured computer system.
JP2008294725A 2008-11-18 2008-11-18 Computer system and computer Withdrawn JP2010122818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008294725A JP2010122818A (en) 2008-11-18 2008-11-18 Computer system and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008294725A JP2010122818A (en) 2008-11-18 2008-11-18 Computer system and computer

Publications (1)

Publication Number Publication Date
JP2010122818A true JP2010122818A (en) 2010-06-03

Family

ID=42324118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008294725A Withdrawn JP2010122818A (en) 2008-11-18 2008-11-18 Computer system and computer

Country Status (1)

Country Link
JP (1) JP2010122818A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2390952A2 (en) 2010-05-28 2011-11-30 Sony Corporation Solar power-generating equipment
WO2015001850A1 (en) * 2013-07-03 2015-01-08 日本電気株式会社 Task allocation determination device, control method, and program
JPWO2013030908A1 (en) * 2011-08-26 2015-03-23 富士通株式会社 Scheduling system, data processing system, and scheduling method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2390952A2 (en) 2010-05-28 2011-11-30 Sony Corporation Solar power-generating equipment
JPWO2013030908A1 (en) * 2011-08-26 2015-03-23 富士通株式会社 Scheduling system, data processing system, and scheduling method
WO2015001850A1 (en) * 2013-07-03 2015-01-08 日本電気株式会社 Task allocation determination device, control method, and program
JPWO2015001850A1 (en) * 2013-07-03 2017-02-23 日本電気株式会社 Task assignment determination device, control method, and program

Similar Documents

Publication Publication Date Title
US10776152B2 (en) Concurrent execution of a computer software application along multiple decision paths
US8023408B2 (en) Dynamically changing message priority or message sequence number
JP2005062927A (en) Load control method and device, and processing program therefor
JP2019008417A (en) Information processing apparatus, memory control method and memory control program
US9104486B2 (en) Apparatuses, systems, and methods for distributed workload serialization
CN108111499B (en) Business processing performance optimization method and device, electronic equipment and storage medium
JP2017532531A5 (en)
US9736226B2 (en) Rule distribution server, event processing system and method, and program
US9609068B2 (en) Session management system, session management apparatus, and non-transitory computer readable medium
JP5050878B2 (en) Monitoring device, monitoring system, monitoring method and program
CN107688489B (en) Method and system for scheduling tasks
JP2010122818A (en) Computer system and computer
US8275889B2 (en) Clone-managed session affinity
CN107025129B (en) Data processing method and device
US9317354B2 (en) Dynamically determining an external systems management application to report system errors
US20150106422A1 (en) System and method for server selection using competitive evaluation
US20170180465A1 (en) Method, information processing apparatuses and non-transitory computer-readable storage medium
CN109729062B (en) Online method of encryption server and proxy server
US9270742B2 (en) Computer system and control method of computer system
CN113256107A (en) Distribution task merging method and device, storage medium and electronic equipment
US10896076B2 (en) Information processing system and control method for executing a process based on a message acquired from a queue
JP2008226177A (en) Distributed processing program, system and method
JPH11110360A (en) Method and system for distributing transaction and storage medium for transaction distributing processing
US8688767B2 (en) Distributed processing system, distributed operation method and computer program
US20180011734A1 (en) Job scheduler test program, job scheduler test method, and information processing apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20120207