JPH02120968A - Distributed program execution system - Google Patents

Distributed program execution system

Info

Publication number
JPH02120968A
JPH02120968A JP27474188A JP27474188A JPH02120968A JP H02120968 A JPH02120968 A JP H02120968A JP 27474188 A JP27474188 A JP 27474188A JP 27474188 A JP27474188 A JP 27474188A JP H02120968 A JPH02120968 A JP H02120968A
Authority
JP
Japan
Prior art keywords
computer
load
program
execution
computers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27474188A
Other languages
Japanese (ja)
Inventor
Nobuyoshi Tanaka
伸佳 田中
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 JP27474188A priority Critical patent/JPH02120968A/en
Publication of JPH02120968A publication Critical patent/JPH02120968A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the throughput of the whole system without requiring complex operation procedure by automatically allocating load to a computer with the lowest load. CONSTITUTION:Respective computers 1 to 4 constituting the system measure the load values of respective self-computers in each fixed time. On the other hand, the only specific computer 1 in the system communicates with respective computers 2 to 4 to collect the load states of the computers 2 to 4 and specify the computer with the lowest load. The computer used by a user communicates with the specific computer 1 to know the computer with the lowest load and transfers a program execution request to the computer with the lowest load. The computer receiving the execution request executes the program and transfers the executed result to the computer generating the execution request. Consequently, the throughput of the whole system can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 複数のコンピュータが通信回線で接続されたシステムに
利用する。特に、プログラムの実行管理方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] Used in a system in which a plurality of computers are connected via communication lines. In particular, it relates to a program execution management method.

〔概要〕〔overview〕

本発明は、複数のコンピュータに負荷を平均化して分担
させる方式において、 負荷の最も低いコンピュータに自動的に負荷を割当てる
ことにより、 システム全体のスループットを複雑な操作手順を要せず
に向上することができるようにしたちのである。
The present invention improves the throughput of the entire system without the need for complicated operating procedures by automatically allocating the load to the computer with the lowest load in a method that averages and shares the load among multiple computers. This is what makes it possible.

〔従来の技術〕[Conventional technology]

従来例では、利用者は通信回線で接続されている各コン
ピュータの負荷の程度をコマンドによって知り、負荷の
最も低い第一のコンピュータが現在使用している第二の
コンピュータでない場合には、第一のコンピュータに遠
隔ログインし、実行形式プログラムおよびデータファイ
ルを第一のコンピュータに転送し、プログラムを実行し
、実行結果を使用していた第二コンピュータに転送しな
ければならなかった。または、実行形式プログラムおよ
びデータファイルを第一のコンピュータに転送し、遠隔
プログラム実行コマンドを用いてそのプログラムを実行
し、実行結果を使用していた第二のコンピュータに転送
しなければならなかった。
In the conventional example, the user uses a command to know the load level of each computer connected via a communication line, and if the first computer with the lowest load is not the second computer currently in use, the first computer is computer, transferred the executable program and data files to the first computer, executed the program, and transferred the results to the second computer that was being used. Alternatively, the executable program and data files had to be transferred to a first computer, the program executed using a remote program execution command, and the execution results transferred to the second computer that was being used.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来例では、負荷の低いコンピュタを捜す手
段と、そのコンピュータでプログラムを実行するための
実行形式プログラムやデータファイルを用意する手段と
、そのコンピュータでプログラムを実行する手段と、実
行結果を転送する手段とをそれぞれ個別に利用者が起動
しなければならなかった。これらの手順は繁雑であり、
またファイル転送にともなって副次的に作成されるファ
イルのためにファイルの版管理上に問題を生じることが
あった。
In such a conventional example, there is a means to search for a computer with a low load, a means to prepare an executable program or a data file to run the program on that computer, a means to execute the program on that computer, and a means to display the execution result. The user had to activate each transfer means individually. These steps are complicated;
In addition, files created as a subsidiary upon file transfer may cause problems in file version management.

本発明は、このような問題点を解決するもので、負荷の
低いコンピュータを捜す手段と、そのコンピュータでプ
ログラムを実行するための実行形式プログラムやデータ
ファイルを用意する手段と、そのコンピュータでプログ
ラムを実行する手段と、実行結果を転送する手段とを利
用者の単一の要求に応じてすべて自動的に実行すること
ができる分散プログラム実行方式を提供することを目的
とする。
The present invention solves these problems, and includes a means for searching for a computer with a low load, a means for preparing an executable program and a data file for executing a program on that computer, and a means for executing a program on that computer. It is an object of the present invention to provide a distributed program execution method capable of automatically executing means for executing and means for transferring execution results in response to a single request from a user.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、通信回線を経由して相互に接続された複数の
コンピュータを備えた分散プログラム実行方式において
、上記コンピュータ対応に設けられ、自コンピュータの
負荷状況を時間間隔をおいて測定する負荷測定手段を備
え、上記各コンピュータ共通に設けられ、各コンピュー
タの負荷測定手段から各コンピュータの負荷状況を収集
し、最も負荷の低いコンピュータを指示する負荷管理手
段を備え、さらに、上記コンピュータ対応に設けられ、
プログラム実行要求を受付け、上記負荷管理手段と通信
して最も負荷の低いコンピュータを認知し、このコンピ
ュータにプログラムの実行要求を転送するプログラム受
付手段と、上記コンピュータ対応に設けられ、上記プロ
グラム受付手段からの実行要求に応じて実行したプログ
ラムの実行結果をこの実行要求を発行したコンピュータ
に転送するプログラム実行手段とを備えたことを特徴と
する。
The present invention relates to a distributed program execution method comprising a plurality of computers connected to each other via a communication line, in which a load measuring means is provided corresponding to the computer and measures the load status of the own computer at time intervals. comprising a load management means that is provided commonly to each of the computers and collects the load status of each computer from the load measurement means of each computer and instructs the computer with the lowest load; further provided corresponding to the computer;
a program receiving means that receives a program execution request, communicates with the load management means to recognize the computer with the lowest load, and transfers the program execution request to this computer; The present invention is characterized by comprising program execution means for transferring the execution result of the program executed in response to the execution request to the computer that issued the execution request.

〔作用〕[Effect]

システムを構成する各コンピュータは自コンピュータの
負荷を一定時間ごとに測定する。一方、システムで唯一
の特定のコンピュータは各コンピュータと通信して各コ
ンピュータの負荷の状況を収集し、システム内で最も負
荷の低いコンピュータを指示する。利用者が使用するコ
ンピュータは利用者からのプログラム実行要求を受付け
、特定のコンピュータと通信してシステム内で最も負荷
の低いコンピュータを知り、このコンピュータにプログ
ラムの実行要求を転送する。この実行要求に応じて実行
形式プログラムとデータを収集し、プログラムを実行し
、実行結果を実行要求を発行したコンピュータに転送す
る。
Each computer that makes up the system measures its own load at regular intervals. On the other hand, the only specific computer in the system communicates with each computer, collects the status of each computer's load, and points to the least loaded computer in the system. A computer used by a user receives a program execution request from the user, communicates with a specific computer to learn which computer has the lowest load in the system, and transfers the program execution request to this computer. In response to this execution request, an executable program and data are collected, the program is executed, and the execution results are transferred to the computer that issued the execution request.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づき説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

この実施例は、第1図に示すように、4台のコンピュー
タ1、コンピュータ2、コンピュータ3、およびコンピ
ュータ4が高速な通信回線5で接続される。負荷管理手
段を持つシステムで唯一のコンピュータは4台のコンピ
ュータの何れでもよいが、ここでは、コンピュータlが
負荷管理手段11を持ち、コンピュータ1はさらに負荷
状況を格納する負荷データベース12を持つ。また、各
コンビ゛ュータ1、コンピュータ2、コンピュータ3お
よびコンピュータ4は、負荷測定手段13、負荷測定手
段23、負荷測定手段33および負荷測定手段43のそ
れぞれ、プログラム受付手段14、プログラム受付手段
24、プログラム受付手段34およびプログラム受付手
段44のそれぞれ、ならびに、プログラム実行手段15
、プログラム実行手段25、プログラム実行手段35お
よびプログラム実行手段45のそれぞれを持つ。
In this embodiment, as shown in FIG. 1, four computers 1, 2, 3, and 4 are connected through a high-speed communication line 5. The only computer in the system having a load management means may be any of the four computers, but here, computer 1 has load management means 11, and computer 1 further has a load database 12 for storing load conditions. Further, each computer 1, computer 2, computer 3, and computer 4 includes load measuring means 13, load measuring means 23, load measuring means 33, and load measuring means 43, respectively, program receiving means 14, program receiving means 24, Each of the program reception means 34 and the program reception means 44, and the program execution means 15
, program execution means 25, program execution means 35, and program execution means 45, respectively.

すなわち、この実施例は、通信回線5を経由して相互に
接続された複数のコンピュータ1.2.3および4を備
え、コンピュータ1.2.3および4に設けられ、自コ
ンピュータの負荷状況を時間間隔をおいて測定する負荷
測定手段13.23.33および43と、コンピュータ
1.2.3および4に共通に設けられ、負荷測定手段1
3.23.33および43から各コンピュータ1.2.
3および4の負荷状況を収集し、最も負荷の低いコンピ
ュータを指示する負荷管理手段11と、コンピュータ1
.2.3および4に設けられ、プログラム実行要求を受
付け、負荷管理手段11と通信して最も負荷の低いコン
ピュータを3忍知し、このコンピュータ(こプログラム
の実行要求を転送するプログラム受付手段14.24.
34および44と、コンピュータ1.2.3および4に
設けられ、プログラム受付手段14.24.34および
44からの実行要求に応じて実行したプログラムの実行
結果をこの実行要求を発行したコンピュータに転送する
プログラム実行手段15.25.35および45とを備
える。
That is, this embodiment includes a plurality of computers 1.2.3 and 4 that are connected to each other via a communication line 5, and is installed in the computers 1.2.3 and 4 to monitor the load status of the own computer. Load measuring means 13.23.33 and 43, which measure at time intervals, are provided in common to computers 1.2.3 and 4, and load measuring means 1.
3.23.33 and 43 to each computer 1.2.
load management means 11 that collects the load status of computers 3 and 4 and instructs the computer with the lowest load;
.. 2.3 and 4, which accepts program execution requests, communicates with the load management means 11, learns the computer with the lowest load, and transfers the program execution request to this computer (program reception means 14.2). 24.
34 and 44, and the computers 1.2.3 and 4, the program reception means 14.24.transfers the execution results of programs executed in response to execution requests from 34 and 44 to the computer that issued the execution request. and program execution means 15, 25, 35 and 45.

次に、この実施例の動作を説明する。Next, the operation of this embodiment will be explained.

各コンピュータの負荷測定手段13.23.33および
43は、一定時間ごとにそのコンピュータの負荷を測定
し、測定結果を負荷通報パケット■として通信回線5上
に一斉同報送信する。コンピュータ1上の負荷管理手段
11は、各コンピュータ上の負荷測定手段13.23.
33および43からの負荷通報パケット■を受信し、受
信するたびに各コンピュータの負荷状況を負荷データベ
ース12に格納する。
The load measuring means 13, 23, 33 and 43 of each computer measures the load of that computer at regular intervals and broadcasts the measurement results on the communication line 5 as a load report packet (2). The load management means 11 on the computer 1 includes load measuring means 13.23.
33 and 43, and stores the load status of each computer in the load database 12 each time it is received.

ここで、利用者Aがコンピュータ4に対して実行[プロ
グラムファイルB上のプログラムの実行要求をしたもの
とする。このプログラムはデータファイルC上のデータ
を使用してファイルD上に結果を出力する。コンピュー
タ4のプログラド受付手段44は選択要求パケット■を
通信回線5上に一斉回報送信する。選択要求パケット■
を受信したコンピュータ1上の負荷管理手段11は負荷
データベース12を参照して最も負荷の低いコンビ二一
夕を選択し、選択応答パケット■を作成してコンピュー
タ4に送信する。ここで、最も負荷の低いコンピュータ
がコンピュータ3であるとする。
Here, it is assumed that user A requests the computer 4 to execute a program in program file B. This program uses the data on data file C and outputs the results on file D. The program accepting means 44 of the computer 4 broadcasts the selection request packet (2) on the communication line 5 all at once. Selection request packet ■
The load management means 11 on the computer 1 that has received this selects the combination unit with the lowest load by referring to the load database 12, creates a selection response packet (2), and sends it to the computer 4. Here, it is assumed that the computer with the lowest load is computer 3.

選択応答パケット■を受信したコンピュータ4上のプロ
グラム受付手段44は実行要求パケット■を作成し、コ
ンピュータ3に送信する。この実行要求パケット■は、
実行すべきプログラムのコマンド行イメージを含み、使
用する実行形式プログラムファイルBおよびデータファ
イルCがコンピュータ4上に存在することならびに結果
を格納するファイルDがコンピュータ4上に存在するこ
とを含む。実行要求パケット■を受信したコンピュータ
3上のプログラム実行手段45は、まず、遠隔ファイル
アクセス手段またはファイル転送手段によって実行形式
プログラムファイルB1データファイルCおよびファイ
ルDをコンピュータ3からアクセス可能にし、プログラ
ムBの実行準備をする。ひきつづき、プログラムBを実
行し、さらに、ファイル転送手段でコンピュータ4上の
ファイルDを転送し、ファイル削除および遠隔ファイル
アクセスの禁止によって実行形式プログラムファイルB
1データファイルCおよびファイルDをコンピュータ3
からアクセス不可能にし、実行の終了処理を行う。最後
に、実行完了パケット■を作成してコンピュータ4に送
信する。実行完了パケット■を受信したコンピュータ4
上のプログラム受付手段44は利用者AにプログラムB
の実行完了通知する。このようにしてプログラムの実行
が完了する。
The program accepting means 44 on the computer 4 that has received the selection response packet ■ creates an execution request packet ■ and sends it to the computer 3. This execution request packet■ is
This includes that an executable program file B and a data file C to be used, which contain a command line image of the program to be executed, exist on the computer 4, and a file D that stores the results exists on the computer 4. The program execution means 45 on the computer 3 that has received the execution request packet (■) first makes the executable program file B1 data file C and file D accessible from the computer 3 by the remote file access means or file transfer means, and executes the program B. Prepare for execution. Subsequently, program B is executed, and file D on the computer 4 is transferred using the file transfer means, and the executable program file B is deleted by deleting the file and prohibiting remote file access.
1 data file C and file D on computer 3
Make it inaccessible from the server and perform execution termination processing. Finally, an execution completion packet ■ is created and sent to the computer 4. Computer 4 that received the execution completion packet■
The above program receiving means 44 sends program B to user A.
Notify completion of execution. In this way, execution of the program is completed.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように、利用者の単一のコンピ
ュータを利用してプログラムの実行を行う場合とほとん
ど同じ操作で、通信回線で接続されたコンピュータの内
で最も負荷の低いものを選び、自動的にそのコンピュー
タにデータを送り込み、プログラムを実行し、実行結果
を要求者に返すことができるので、利用者の使い勝手を
ほとんど変えずにシステム全体のスループットを向上さ
せることができる効果がある。
As explained above, the present invention selects the computer with the lowest load among the computers connected via a communication line, using almost the same operation as when executing a program using a single user's computer. , it is possible to automatically send data to the computer, execute the program, and return the execution results to the requester, which has the effect of improving the overall system throughput without changing the usability of the user. .

【図面の簡単な説明】[Brief explanation of drawings]

図は本発明実施例の、構成を示すブロック構成図。 ■、2.3.4・・・コンピュータ、5・・・通信回線
、11・・・負荷管理手段、)2・・・負荷データベー
ス、13.23.33.43・・・負荷測定手段、14
.24.34.44・・・プログラム受付手段、15.
25.35.45・・・プログラム実行手段。 ・、ゴ届
The figure is a block configuration diagram showing the configuration of an embodiment of the present invention. ■, 2.3.4... Computer, 5... Communication line, 11... Load management means,) 2... Load database, 13.23.33.43... Load measuring means, 14
.. 24.34.44...Program reception means, 15.
25.35.45...Program execution means.・, notification

Claims (1)

【特許請求の範囲】 1、通信回線を経由して相互に接続された複数のコンピ
ュータを備えた分散プログラム実行方式において、 上記コンピュータ対応に設けられ、自コンピュータの負
荷状況を時間間隔をおいて測定する負荷測定手段を備え
、 上記各コンピュータ共通に設けられ、各コンピュータの
負荷測定手段から各コンピュータの負荷状況を収集し、
最も負荷の低いコンピュータを指示する負荷管理手段を
備え、 さらに、上記コンピュータ対応に設けられ、プログラム
実行要求を受付け、上記負荷管理手段と通信して最も負
荷の低いコンピュータを認知し、このコンピュータにプ
ログラムの実行要求を転送するプログラム受付手段と、 上記コンピュータ対応に設けられ、上記プログラム受付
手段からの実行要求に応じて実行したプログラムの実行
結果をこの実行要求を発行したコンピュータに転送する
プログラム実行手段とを備えたことを特徴とする分散プ
ログラム実行方式。
[Scope of Claims] 1. In a distributed program execution system comprising a plurality of computers interconnected via a communication line, a method is provided for each of the computers and measures the load status of the own computer at time intervals. a load measuring means for collecting the load status of each computer from the load measuring means for each computer, which is provided in common to each of the computers mentioned above;
A load management means is provided for instructing the computer with the lowest load, and the load management means is provided corresponding to the computer, receives a program execution request, communicates with the load management means to recognize the computer with the lowest load, and executes the program on this computer. program receiving means for transferring an execution request from the program receiving means; and program executing means provided for the computer and transferring the execution result of the program executed in response to the execution request from the program receiving means to the computer that issued the execution request. A distributed program execution method characterized by:
JP27474188A 1988-10-31 1988-10-31 Distributed program execution system Pending JPH02120968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27474188A JPH02120968A (en) 1988-10-31 1988-10-31 Distributed program execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27474188A JPH02120968A (en) 1988-10-31 1988-10-31 Distributed program execution system

Publications (1)

Publication Number Publication Date
JPH02120968A true JPH02120968A (en) 1990-05-08

Family

ID=17545940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27474188A Pending JPH02120968A (en) 1988-10-31 1988-10-31 Distributed program execution system

Country Status (1)

Country Link
JP (1) JPH02120968A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756868A (en) * 1993-08-10 1995-03-03 Nec Corp Distributed data processing system
JP2007310791A (en) * 2006-05-22 2007-11-29 Hitachi Ltd Power consumption reduction method for computing system and its program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756868A (en) * 1993-08-10 1995-03-03 Nec Corp Distributed data processing system
JP2007310791A (en) * 2006-05-22 2007-11-29 Hitachi Ltd Power consumption reduction method for computing system and its program

Similar Documents

Publication Publication Date Title
KR970004090B1 (en) Virtual execution of program on a multiprocessor system
US5961596A (en) Method of monitoring a computer system, featuring performance data distribution to plural monitoring processes
US5802303A (en) Monitor data collecting method for parallel computer system
JPH1074159A (en) Method for controlling computer system
WO2003021460A1 (en) Method for handling transitions in grouped services in a distributed computing application
EP0524080B1 (en) Information processor for exploiting and acquiring information about user
CN109889406A (en) For managing method, apparatus, equipment and the storage medium of network connection
JP2004118250A (en) Computer management system and management program
JPH02120968A (en) Distributed program execution system
JP3881739B2 (en) Performance monitoring method and system for computer system
KR100268674B1 (en) Database backup in realtime database system on multi-process environment
JPH04318655A (en) Load smoothing control method in multicomputer system
JPH0685167B2 (en) Network job execution monitoring control method
JP2000244585A (en) Bus interface circuit
JP2675026B2 (en) File execution method in computer system
JPH0488453A (en) Decentralized process mode program line evaluation system
JPH0231279A (en) Processing system for decentralized data base
JPH11316717A (en) Data transfer system
JPH04294433A (en) Computer system
JPH0769845B2 (en) Job multiplicity management method for multi-host system
GB2572744A (en) Data collection control apparatus
JPH06100996B2 (en) Logical path management method
Wallace et al. An introduction to microcomputer networking concepts
JPH11338792A (en) Data transfer method for network filing system
JPH02144726A (en) Operating system for general-purpose computer