Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2630239B2 - Distributed processing system - Google Patents
[go: Go Back, main page]

JP2630239B2 - Distributed processing system - Google Patents

Distributed processing system

Info

Publication number
JP2630239B2
JP2630239B2 JP32713793A JP32713793A JP2630239B2 JP 2630239 B2 JP2630239 B2 JP 2630239B2 JP 32713793 A JP32713793 A JP 32713793A JP 32713793 A JP32713793 A JP 32713793A JP 2630239 B2 JP2630239 B2 JP 2630239B2
Authority
JP
Japan
Prior art keywords
job
computer
unit
file
receiving
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.)
Expired - Fee Related
Application number
JP32713793A
Other languages
Japanese (ja)
Other versions
JPH07182295A (en
Inventor
雅司 工藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP32713793A priority Critical patent/JP2630239B2/en
Publication of JPH07182295A publication Critical patent/JPH07182295A/en
Application granted granted Critical
Publication of JP2630239B2 publication Critical patent/JP2630239B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、分散ファイルシステム
を使った分散システムにおけるジョブ処理をする分散処
理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed processing system for processing jobs in a distributed system using a distributed file system.

【0002】[0002]

【従来の技術】分散ファイルシステムは、リモートノー
ドにあるファイルをユーザにとって簡易な手段でアクセ
スするためのシステムである。ユーザの使い勝手からフ
ァイルの位置がユーザからは意識しないで済む位置透過
性を実現している技術が一般的である。USL Syste
m Laboratories の商標であるUNIXオペレーティン
グシステム上で実装されている技術例としては、サンマ
イクロシステムズ(SunMicrosystems )社のネットワ
ークファイルシステム(Network File System (N
FS))や、カーネギメロン大学のアンドリューファイ
ルシステム(Andrew File System (AFS))など
がある。
2. Description of the Related Art A distributed file system is a system for accessing a file in a remote node by means simple for a user. In general, a technology that realizes position transparency that does not require the user to be aware of the position of the file from the user's convenience. USL Syste
Examples of technologies implemented on the UNIX operating system, which is a trademark of m Laboratories, include Sun Microsystems' Network File System (N.
FS)) and Andrew File System (AFS) of Carnegie Mellon University.

【0003】NFSの内容はデザイン・アンド・インプ
リメンテーション・オブ・ザ・サン・ネット・ネットワ
ーク・システム(“Design and Implementation of t
heSun Net Network File System ”)と題した
文を掲載した刊行物「コンファレンス・プロシーディン
グス」(Conference Proceedings、Usenix 1985、p.
119-130 。)および「Vノーズ:アン・アーキテクチャ
・フォ・マルチプル・ファイル・システム・タイプス・
イン・サン・UNIX」(“Vnodes: AnArchitectu
re for Multiple File System Types in Sun U
NIX”)と題した文を掲載した刊行物「コンファレン
ス・プロシーディレグス」(Conference Proceedin
gs、Usenix 1986、p.238-247 。)を参照できる。AF
Sの内容は「アンドリュー:ア・ディストリビューテッ
ド・パーソナル・コンピューティング・エンバロメン
ト」(“Andrew: A Distributed Personal Com
puting Environment”)と題する文を掲載した刊行物
を「コミュニケーションオブザエイシーエム」(Commu
nications of the ACM29(3):184-201,March,1986
。)および「ジ・アイテーシー・ディストリビューテ
ッド・ファイル・システム:プリンシプルズ・アンド・
デザイン」(“The ITC DistributedFile Sys
tem: Principles and Design ”)と題する文を掲載
した刊行物「イン・プロシーディングズ・オブ・ザ・テ
ンス・エーシーエム・シンポジウム・オン・オペレーテ
ィング・システムズ・プリンシプルズ」(In Proceed
ingsof the Tenth ACM Symposium on Operatin
g Systems Principles,33-50.December,1985。)
を参照できる。
[0003] The contents of NFS are based on the Design and Implementation of the Sun Net Network System (“Design and Implementation of t
he Sun Net Network Fill System "), a publication entitled" Conference Proceedings, "Usenix 1985, p.
119-130. ) And "V Nose: An Architecture for Multiple File System Types
In Sun UNIX "(“ Vnodes: An Architectu
re for Multiple File System Types in Sun U
NIX ”), a publication titled“ Conference Procedure Dilegs ”
gs, Usenix 1986, pp. 238-247. ). AF
The content of S is "Andrew: A Distributed Personal Computing Environment"("Andrew: A Distributed Personal Comb"
puting Environment ”) was published in“ Communication of the AC M ”(Commmu
nications of the ACM29 (3): 184-201, March, 1986
. ) And "The IT Distributed File System: Principles and
Design ”(“ The ITC Distributed File Sys
tem: Principles and Design "), a publication entitled" In Proceedings of the Tenth ACM Symposium on Operating Systems Principles "(In Proceed).
ingsof the Tenth ACM Symposium on Operatin
g Systems Principles, 33-50. December, 1985. )
Can be referred to.

【0004】両者の位置透過な分散ファイルシステムへ
のアプローチは本質的に異なる。
[0004] Both approaches to a location transparent distributed file system are essentially different.

【0005】NFSでは、各サーバがクライアントの情
報を持たないステートレスマシンが実現される。この技
術では、サーバクラッシュ時のリカバリが簡単であるな
どサーバのデザインが簡単になる反面、大規模な構成に
は不向きである。一方、AFSでは少数の信頼性の高い
サーバマシン群とその他多数の信頼性の低いクライアン
トマシン群を構成モデルとした大規模構成向きの分散フ
ァイルシステムであり、ステートフルサーバマシンで実
現される。また、AFSでは、サーバの負荷を低減し高
速性を実現するため各クライアントのディスクにローカ
ルキャッシュを持っている。この技術を各クライアント
のポータビリティを高めるために使った例が、カーネギ
メロン大学のコーダ・ファイル・システム(Coda Fil
e System )である。Coda ではディスク上のローカル
キャッシュを使って、ネットワークが分断された場合、
あるいは故意にネットワークから切り離した場合でも、
あたかもネットワークに接続し続けている様に運用が可
能である。ネットワークから切り離された状態でのクラ
イアント側の運用はディスコネクティドオペレーション
と呼ばれる機能で実現される。Coda は「コード:ア・
ハイリー・アベイラブル・ファイル・システム・フォー
・ア・ディステリビューテッド・ワークステーション・
エンバロメント」(“Coda:A highly Available
File System for a Distributed Workstation E
nvironment”)という文を掲載した刊行物「アイトリプ
ルイー・トランザクションズ・オン・コンピューター
ズ」(IEEE Transactions on Computers 39
(4):447-459, April,1990 )および「スケイラブル,
セキュア・アンド・バイリー・アベイラブル・ディスト
リビューテッド・ファイル・アクセス」(“Scalable,
Secure and Highly Available Distributed F
ile Access ”)という文を掲載した刊行物「アイ・リ
プルイー・コンピュータ」(IEEE Computer 9-2
1, May,1990 )を参照できる。このようなファイル位
置透過な分散ファイルシステムは、どの計算機からもフ
ァイルが同じように見えるため、ユーザのモービリティ
を高める役割を果たした。またCoda のように、計算機
のポータビリティを高める技術によって、高速なローカ
ルエリア・ネットワーク(LAN)から計算機を切り離
し、無線通信などの比較的低速な通信路によって接続さ
れたネットワーク環境での利用技術の開発がなされてい
る。しかし、分散ファイルシステム上でジョブ実行を行
う場合も、必要なファイルデータを使用している計算機
上では持っていない場合には、ネットワークを介してロ
ーディングする必要があるため、比較的低速な通信路に
よってファイルサーバと接続された計算機は、通信ボト
ルネックが容易におき、高速なCPU性能を持つ計算機
を使用していても十分な処理性能を得られていない。そ
の他、分散処理システム関連では特開昭60−1313
51号公報に、以下の発明が記載される。すなわち、こ
の発明は分散システムにおける負荷分散方式で、過負荷
状態にある計算機システムが該システムで発生したジョ
ブの処理を他の計算機に依頼する場合、ジョブと一緒に
その処理に必要なファイルを他の計算機システムに送る
ことを特徴とする。しかしこの発明は、ジョブ依頼を該
システムが過負荷状態になった時をトリガとする方式で
あり、ジョブ実行に際しての通信ボトルネックを扱った
技術ではない。実際、この技術では大きなファイル容量
を要するジョブが他の計算機に処理依頼される場合、転
送のための通信で多大な時間が消費される可能性があ
る。
In the NFS, a stateless machine in which each server does not have client information is realized. This technology simplifies server design, such as easy recovery in the event of a server crash, but is not suitable for large-scale configurations. On the other hand, AFS is a distributed file system for a large-scale configuration using a small number of highly reliable server machines and a large number of other unreliable client machines as a configuration model, and is realized by a stateful server machine. AFS has a local cache on each client's disk in order to reduce the load on the server and achieve high speed. An example of using this technology to enhance the portability of each client is the Carnegie Mellon University Coda File System (Coda Fil).
e System). Coda uses a local cache on disk, and if the network is disconnected,
Or even if you intentionally disconnect from the network,
Operation is possible as if you are connected to the network. The operation on the client side in a state disconnected from the network is realized by a function called a disconnected operation. Coda says "Code: A
Highly Available File System for a Distributed Workstation
Embalment ”(“ Coda: A highly Available
Fill System for a Distributed Workstation E
nvironment ”), a publication titled“ IE Triple Transactions on Computers ”.
(4): 447-459, April, 1990) and "Scalable,
Secure and Bailey Available Distributed File Access ”(“ Scalable,
Secure and Highly Available Distributed F
ile Access "), a publication titled" I Ripley Computer "(IEEE Computer 9-2).
1, May, 1990). Such a distributed file location transparent file system played a role in enhancing the mobility of the user because the file looks the same from any computer. In addition, using technology to improve the portability of computers, such as Coda, develop computers that can be used in a network environment where computers are separated from high-speed local area networks (LANs) and connected by relatively low-speed communication paths such as wireless communication. Has been made. However, even when executing jobs on a distributed file system, if the required file data is not available on the computer that uses it, it is necessary to load the data via a network. Therefore, a computer connected to a file server easily suffers from a communication bottleneck, and cannot obtain sufficient processing performance even when a computer having a high-speed CPU performance is used. In addition, regarding the distributed processing system, JP-A-60-1313
In Japanese Patent Publication No. 51, the following invention is described. In other words, the present invention is a load distribution method in a distributed system. When a computer system in an overloaded state requests processing of a job generated in the system to another computer, files necessary for the processing are added together with the job. To the computer system. However, the present invention is a method in which a job request is triggered when the system becomes overloaded, and does not deal with a communication bottleneck in executing a job. In fact, in this technique, when a job requiring a large file capacity is requested to be processed by another computer, a great deal of time may be consumed in communication for transfer.

【0006】また、特開平1−139590号公報に示
されている発明は、分散コンピュータシステムの処理依
頼方式であって、処理要求を処理受付けコンピュータに
送信する技術を取り扱っている。これは必要情報のみを
選択的に取出し、要求者に返すことでレスポンスの速い
処理を実現するものである。これは処理受付けコンピュ
ータとよばれるノードで全ての処理を行う方式であり、
通信に際しての必要情報をいかに選択するか、というこ
とに主眼を置いた発明であり、他の計算機にいかに処理
を依頼するか、あるいはそのようなジョブ依頼先の計算
機をどのように選択するかについて触れていない。さら
にネットワーク・キューイング・システム(Network
Queueing System (NQS))のような分散処理シス
テムは、ネットワーク上でサーバ的な役割を行う計算機
に対して、クライアント計算機からジョブ処理を委託す
ることを統合的に管理する機構であるが、これらジョブ
はバッチとして処理され、ユーザは明示的にジョブ処理
委託を分散処理システムに要求する必要があった。
The invention disclosed in Japanese Patent Application Laid-Open No. 1-139590 is a processing request method for a distributed computer system, and deals with a technique for transmitting a processing request to a processing receiving computer. This realizes a fast response process by selectively extracting only necessary information and returning it to the requester. This is a method in which all processing is performed by a node called a processing receiving computer.
It is an invention that focuses on how to select necessary information for communication, and how to request other computers for processing or how to select such a job request destination computer Not touching. In addition, a network queuing system (Network
A distributed processing system such as the Queuing System (NQS) is a mechanism that integrally manages the delegation of job processing from a client computer to a computer acting as a server on a network. Was processed as a batch, and the user had to explicitly request the distributed processing system to perform job processing.

【0007】[0007]

【発明が解決しようとする課題】このように、従来の技
術では、ネットワークでつながれた分散システムで、特
に弱いコネクション状態の計算機から分散ファイルシス
テムを利用しようとした場合、その計算機に対して必要
なファイルを転送する転送時間が通信幅の狭さによって
大幅に遅延され、近年のハードウェア技術の進展によ
り、個々の計算機が十分強力なパワーを持っているにも
関わらず望ましい性能を得ることができなかった。ま
た、ジョブを、ジョブ実行に必要なファイルを持つ計算
機と十分強い結合状態にある、つまりこれら計算機間の
通信転送幅が十分広い、計算機に対してジョブ実行を要
求するのに、明示的にその計算機を指定するか、あるい
は分散ジョブ処理管理に明示的に依頼をして、計算機の
選択、およびジョブの実行をバッチ的に処理することし
かできなかった。ここで、提案する本発明では、これら
問題点を解決することを目的とする。すなわち、本発明
ではユーザはジョブ実行が行われている計算機を意識す
る必要なく、透過的にジョブ実行する計算機が選ばれ、
ジョブ処理されることを目的とする。また、本発明はそ
のジョブ処理に際しても、ユーザはあたかも手元にある
計算機でジョブが実行しているかの使い勝手を享受で
き、バッチ処理依頼という手続きをふまなくて良いこと
を他の目的の1つとする。また、本発明はこれらジョブ
処理を会話的に進めることができ、必要に応じて処理を
ストップさせたり、終了させることもできることも目的
とする。また、本発明は自計算機がジョブ実行に必要な
だけの処理性能を有しており、かつ、通信上のボトルネ
ックが発生しない場合は、ジョブを転送せず、自分自身
で処理を行うため、システム全体の負荷分散につなが
り、かつ高速な計算機を有効に利用することができるこ
とも目的である。
As described above, according to the prior art, in a distributed system connected by a network, particularly when an attempt is made to use a distributed file system from a computer in a weak connection state, the computer is required to use the distributed file system. The transfer time for transferring files is greatly delayed due to the narrow communication width, and recent advances in hardware technology have enabled the desired performance to be obtained despite the fact that individual computers have sufficient power. Did not. Also, when a job is in a sufficiently strong connection state with the computer that has the files necessary for job execution, that is, the communication transfer width between these computers is sufficiently wide, the job is explicitly requested to request the computer to execute the job. It is only possible to specify a computer or explicitly request a distributed job processing management to select a computer and execute a job in batches. Here, the proposed invention aims to solve these problems. That is, in the present invention, the user does not need to be aware of the computer on which the job is being executed, and a computer that executes the job transparently is selected,
It is intended to be processed by a job. Another object of the present invention is to allow a user to enjoy the usability of executing a job on a computer at hand even when performing the job processing, and to omit the procedure of batch processing request. . Another object of the present invention is to allow these job processes to proceed interactively, and to stop or terminate the processes as necessary. In addition, according to the present invention, if the own computer has the processing performance necessary for job execution, and if a communication bottleneck does not occur, the job is not transferred, and the process is performed by itself. Another object is to distribute the load of the entire system and to effectively use a high-speed computer.

【0008】[0008]

【課題を解決するための手段】本発明の第1の分散処理
システムは、第1の計算機およびこの第1の計算機に接
続されたリモートの第2の計算機を含むシステムであっ
て、前記第1の計算機上の通信プロセス、ジョブ起動
条件を獲得するジョブ起動条件獲得手段と、前記第2の
計算機上にジョブ管理プロセスを生成するジョブ管理プ
ロセス生成手段と、このジョブ管理プロセス生成手段で
生成されたジョブ管理プロセスに前記ジョブ起動条件獲
得手段で獲得されたジョブ起動条件を送信するジョブ起
動条件送信手段と、前記ジョブ管理プロセスからの出力
データの受信,終了コードの受信または自通信プロセス
の標準入力ファイルからの入力を待つ通信プロセス待ち
合わせ手段と、この通信プロセス待ち合わせ手段で標準
入力ファイルからの入力を受信した場合、入力したデー
タをジョブ管理プロセスに送信する入力データ送信手段
とを含み、前記第2の計算機上のジョブ管理プロセス
、前記通信プロセスから送信されるジョブ起動条件を
受信するジョブ起動条件受信手段と、このジョブ起動条
件受信手段で受信したジョブ起動条件に基づいてジョブ
実行のプロセスを生成起動するジョブプロセス生成手段
と、前記入力データ送信手段からの入力データの受信,
ジョブプロセスの終了コードの受信または該ジョブプロ
セスの標準/エラー出力ファイルへの出力データの受信
を待つジョブ管理プロセス待ち合わせ手段と、このジョ
ブ管理プロセス待ち合わせ手段で前記入力データ送信手
段からの入力データを受信した場合、該入力データをジ
ョブプロセスの標準入力ファイルに入力するデータ入力
手段と、前記ジョブ管理プロセス待ち合わせ手段で標準
/エラー出力ファイルへの出力を受信した場合、受信し
たデータを前記通信プロセス待ち合わせ手段に送信する
出力データ送信手段と、前記ジョブ管理プロセス待ち合
わせ手段でジョブプロセスの終了コードを受信した場
合、前記通信プロセス待ち合わせ手段に該終了コードを
転送する終了コード転送手段とを含むことを特徴とす
SUMMARY OF THE INVENTION A first distributed processing system according to the present invention is a system including a first computer and a remote second computer connected to the first computer. the communication process on the first computer, the job start condition acquiring means for acquiring a job start conditions, the job management process generating means for generating a job management process on the second computer, generating the job management process Job start condition transmitting means for transmitting the job start condition obtained by the job start condition obtaining means to the job management process generated by the means, and reception of output data from the job management process, reception of an end code, or own communication A communication process waiting means for waiting for input from the standard input file of the process, and a standard input file When receiving a et of input includes an input data transmission means for transmitting the input data to the job management process, a job management process on the second computer
But a job start condition receiving means for receiving the job start condition sent from the communication process, the job process generating means for generating start a process of job execution based on the job start condition received by the job start condition receiving means Receiving input data from the input data transmitting means,
A job management process waiting unit that waits for reception of an end code of the job process or output data to the standard / error output file of the job process, and receives the input data from the input data transmission unit by the job management process waiting unit. In this case, when the input data is input to a standard input file of a job process, and when an output to a standard / error output file is received by the job management process queuing unit, the received data is transferred to the communication process queuing unit. Output data transmitting means for transmitting the end code of the job process to the communication process waiting means when the job management process waiting means receives the end code of the job process .
You .

【0009】本発明の第2の分散処理システムは、前記
通信プロセス、ジョブに対し前記第1の計算機上で発
生するジョブ制御シグナルを受信するジョブ制御シグナ
ル獲得手段と、このジョブ制御シグナル獲得手段で獲得
されたジョブ制御シグナルを前記ジョブ管理プロセスに
転送するジョブ制御シグナル転送手段と、ジョブプロセ
スのシグナル受信状態を受信するシグナル受信状態受信
手段と、このシグナル受信状態受信手段で受信したシグ
ナル受信状態を自通信プロセスのエラー出力ファイルに
表示するシグナル受信状態表示手段とを含み、前記ジョ
ブ管理プロセス、前記通信プロセスのジョブ制御シグ
ナル転送手段により転送されたジョブ制御シグナルを受
信するジョブ制御シグナル受信手段と、このジョブ制御
シグナル受信手段で受信したジョブ制御シグナルをジョ
ブプロセスに送出するシグナル送出手段と、前記ジョブ
プロセスが受けたシグナルの受信状態を検知するシグナ
ル受信状態を検知するシグナル受信状態検知手段と、こ
のシグナル受信状態検知手段によって検知したジョブプ
ロセスのシグナル受信状態を前記シグナル受信状態受信
手段に送信するシグナル受信状態送信手段とを含むこと
を特徴とする
A second distributed processing system of the present invention, the communication process, the job control signal acquisition unit configured to receive a job control signal generated by the first computing machine to job, this job control signal acquisition means a job control signal transfer means for <br/> transferring acquired job control signals to the job management process in a signal reception state receiving means for receiving a signal reception state of the job process in the signal reception state receiving means received signal reception state and a signal reception state display means for displaying the error output file of its own communication process, the job management process receives a job control signals transferred by the job control signal transfer means of the communication process Job control signal receiving means and job control signal receiving means Signal sending means for sending the job control signal received in the step to the job process, signal receiving state detecting means for detecting the signal receiving state for detecting the signal receiving state received by the job process, and signal receiving state detecting means include a signal reception state transmitting means for transmitting the signal reception state of the job process of detecting the signal reception state receiving means by
It is characterized by .

【0010】[0010]

【実施例】次に本発明の一実施例について図面を参照し
て詳細に説明する。
Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0011】図1を参照すると、本発明の一実施例は、
計算機1と、計算機2と、計算機1および計算機2を接
続する通信路3とを有する分散処理システムに適用され
る。
Referring to FIG. 1, one embodiment of the present invention is:
The present invention is applied to a distributed processing system having a computer 1, a computer 2, and a communication path 3 connecting the computer 1 and the computer 2.

【0012】図2を参照すると、本発明の第1の実施例
のうち計算機1はジョブ先導プロセス101と通信プロ
セス102とを有し、計算機2はジョブ管理プロセス1
03とジョブプロセス104とを有する。ジョブ先導プ
ロセス101は、ジョブ起動要求を受け付けるジョブ起
動要求受付手段111と、通信プロセス102を生成起
動する通信プロセス生成手段112と、通信プロセスか
ら渡されるジョブ終了コードを受信するジョブ終了コー
ド受信手段113とを有する。
Referring to FIG. 2, in the first embodiment of the present invention, the computer 1 has a job leading process 101 and a communication process 102, and the computer 2 has a job management process 1
03 and a job process 104. The job leading process 101 includes a job start request receiving unit 111 that receives a job start request, a communication process generating unit 112 that generates and starts a communication process 102, and a job end code receiving unit 113 that receives a job end code passed from the communication process. And

【0013】該通信プロセス102は、ジョブ起動条件
を獲得するジョブ起動条件獲得手段121と、計算機2
にジョブ管理プロセス103を生成するジョブ管理プロ
セス生成手段122と、該ジョブ管理プロセス103に
前記ジョブ起動条件を送信するジョブ起動条件送信手段
123と、前記ジョブ管理プロセス103からの出力デ
ータの受信あるいは終了コードの受信あるいは該通信プ
ロセス102の標準入力ファイルからの入力を同時に待
つ通信プロセス待ち合わせ手段124と、該通信プロセ
ス待ち合わせ手段124でジョブ管理プロセス103か
らの出力データを受信した場合、該出力データを該通信
プロセスの標準/エラー出力ファイルに出力する出力手
段125と、前記通信プロセス待ち合わせ手段124で
標準入力ファイルからの入力を受信した場合、入力した
データをジョブ管理プロセス103に送信する入力デー
タ送信手段126と、前記通信プロセス待ち合わせ手段
124で終了コードを受信した場合、ジョブ先導プロセ
ス101に該終了コードを通知する終了コード通知手段
127とを有する。
The communication process 102 includes a job start condition obtaining means 121 for obtaining a job start condition, and a computer 2
A job management process generating means 122 for generating the job management process 103, a job start condition transmission means 123 for transmitting the job start condition to the job management process 103, and receiving or ending the output data from the job management process 103 A communication process waiting means 124 for simultaneously receiving a code or input from the standard input file of the communication process 102; and when the communication process waiting means 124 receives output data from the job management process 103, the output data is An output unit 125 for outputting to a standard / error output file of the communication process; and an input data transmitting unit 126 for transmitting the input data to the job management process 103 when the communication process waiting unit 124 receives an input from the standard input file. When receiving the termination code the communication process waiting unit 124, and an end code notification unit 127 for notifying the termination code in the job leading process 101.

【0014】ジョブ管理プロセス103は、前記通信プ
ロセス102から送信されるジョブ起動条件を受信する
ジョブ起動条件受信手段131と、受信したジョブ起動
条件を基にジョブを実行するプロセスを生成起動するジ
ョブプロセス生成手段132と、前記通信プロセス10
2からの入力データの受信あるいはジョブプロセス10
4の終了コードの受信あるいはジョブプロセス104の
標準/エラー出力ファイルへの出力データの受信を同時
に待つジョブ管理プロセス待ち合わせ手段133と、該
ジョブ管理プロセス待ち合わせ手段133で入力データ
送信手段126によって送信された入力を受信した場
合、該入力データをジョブプロセス104の標準入力フ
ァイルに入力するデータ入力手段134と、前記ジョブ
管理プロセス待ち合わせ手段133で標準/エラー出力
ファイルへの出力を受信した場合、受信したデータを通
信プロセス102に送信する出力データ送信手段135
と、前記ジョブ管理プロセス待ち合わせ手段133でジ
ョブプロセスの終了コードを受信した場合、通信プロセ
ス102に該終了コードを転送する終了コード転送手段
136とを有する。
The job management process 103 includes a job start condition receiving unit 131 that receives a job start condition transmitted from the communication process 102, and a job process that generates and starts a process for executing a job based on the received job start condition. Generating means 132 and the communication process 10
Receiving input data from 2 or job process 10
The job management process waiting means 133 waits for the reception of the end code of No. 4 or the output data of the job process 104 to the standard / error output file at the same time, and the job management process waiting means 133 transmits the data by the input data transmitting means 126. When the input is received, the input data is input to the standard input file of the job process 104. When the output to the standard / error output file is received by the job management process queuing unit 133, the received data is output. Output data transmitting means 135 for transmitting to the communication process 102
And an end code transfer unit 136 for transferring the end code to the communication process 102 when the job management process waiting unit 133 receives the end code of the job process.

【0015】次に本発明の第1の実施例であるプロセス
転送方式の動作を図面を参照して詳細に説明する。
Next, the operation of the process transfer system according to the first embodiment of the present invention will be described in detail with reference to the drawings.

【0016】図1および図2を参照すると、ジョブ先導
プロセス101はジョブ起動要求受付手段111により
ユーザからのジョブ要求のコマンドライン端末から、あ
るいは一般ファイルから読込む。さらに通信プロセス生
成手段112によって、計算機1上に通信プロセス10
2が生成され起動される。ジョブをフォアグラウンドで
実行する場合にはジョブ終了コード受信手段113でこ
の通信プロセス102からジョブ終了コードの通知を受
けるまでジョブの完了を待つ。ジョブをバックグラウン
ドで実行する場合には通信プロセス102からのジョブ
終了コードを待ち合わせない。通信プロセス102の標
準入出力、エラー出力ファイルは、ジョブ起動要求に従
って、ジョブ先導プロセス101が書換える。
Referring to FIGS. 1 and 2, the job leading process 101 reads the job request from the user from the command line terminal or from a general file by the job start request receiving means 111. Further, the communication process generation means 112 stores the communication process 10 on the computer 1.
2 is generated and activated. If the job is to be executed in the foreground, the job completion code receiving unit 113 waits for the completion of the job until receiving the notification of the job completion code from the communication process 102. When the job is executed in the background, the process does not wait for a job end code from the communication process 102. The standard input / output and error output file of the communication process 102 are rewritten by the job leading process 101 according to the job start request.

【0017】通信プロセス生成手段112で生成された
通信プロセス102は、ジョブ起動条件獲得手段121
によって、ジョブを起動すべき条件を獲得する。これ
は、コマンドを生成するのに必要なコマンドラインと、
環境変数、標準入出力ファイル、およびエラー出力ファ
イルの情報である。実行すべき計算機の属性やこれから
使うファイル情報は環境変数として与えておくことでこ
の手段で取得ができる。通信プロセス102の標準入出
力ファイル、およびエラー出力ファイルは計算機1上で
ジョブが実行された場合にそのジョブのものと同一にな
るように設定する。
The communication process 102 generated by the communication process generating means 112 is converted into a job starting condition obtaining means 121.
Obtains the conditions for starting the job. This includes the command line needed to generate the command,
Information on environment variables, standard input / output files, and error output files. The attributes of the computer to be executed and the file information to be used from now on can be obtained by this means by giving them as environment variables. The standard input / output file and the error output file of the communication process 102 are set to be the same as those of the job when the job is executed on the computer 1.

【0018】さらに通信プロセス102は、ジョブ管理
プロセス生成手段122を使って計算機2上にジョブ管
理プロセス103を生成し起動する。ジョブ管理プロセ
ス103は以後この通信プロセス102と通信を行いな
がら後述するジョブプロセス104を管理する。
Further, the communication process 102 generates and activates the job management process 103 on the computer 2 by using the job management process generation means 122. The job management process 103 manages a later-described job process 104 while communicating with the communication process 102.

【0019】通信プロセス102は次に通信プロセス待
ち合わせ手段124によって、後述するジョブ管理プロ
セス103の出力データ送信手段135によって送信さ
れる出力要求、あるいはこれも後述するジョブプロセス
104からの終了コード、あるいはこの通信プロセス1
02の標準入力ファイルからの入力を同時に待ち合わせ
る。
The communication process 102 then outputs the output request transmitted by the output data transmission unit 135 of the job management process 103 described later by the communication process waiting unit 124, or the end code from the job process 104 described later, or Communication process 1
02, and waits for input from the standard input file at the same time.

【0020】この場合、出力データ送信手段135によ
るジョブ管理プロセス103から出力要求を受信した場
合、受信したデータを出力手段125によって、標準/
エラー出力ファイルに出力する。標準出力ファイル、あ
るいはエラー出力ファイルのどちらに出力するかは出力
データ送信手段135によって示される。
In this case, when an output request is received from the job management process 103 by the output data transmitting means 135, the received data is transmitted to the standard /
Output to error output file. The output data transmitting unit 135 indicates whether to output to the standard output file or the error output file.

【0021】標準出力ファイル、あるいはエラー出力フ
ァイルをユーザが要求するジョブに期待するファイルと
同一になっているため、計算機2上で実行するジョブプ
ロセス104からの出力が、ユーザにはあたかも計算機
1上で行われているかのように、認識できる。端末に対
する出力以外にレギュラーファイルへの出力の場合、あ
るいはパイプやリダイレクトを使っている場合、位置透
過性を実現する分散ファイルシステム上にそのファイル
を設定することで、これが実現できる。
Since the standard output file or the error output file is the same as the file expected for the job requested by the user, the output from the job process 104 executed on the computer 2 is as if the user Recognizable as if done in In the case of output to a regular file in addition to output to the terminal, or when using pipes and redirection, this can be achieved by setting the file on a distributed file system that realizes location transparency.

【0022】通信プロセス待ち合わせ手段124で標準
入力ファイルからの入力を受信した場合、入力データ送
信手段126を起動して、ジョブ管理プロセス103に
この入力データを送出する。この手段によって、計算機
2上で実行されているジョブプロセス104への入力
を、出力の場合と同様に、ユーザはその実行する計算機
位置を知る必要なしに行うことができる。
When the input from the standard input file is received by the communication process waiting means 124, the input data transmitting means 126 is activated and this input data is sent to the job management process 103. By this means, the user can perform input to the job process 104 executed on the computer 2 as in the case of output without needing to know the computer position to execute.

【0023】ジョブ管理プロセス103から後述する終
了コード転送手段136によってジョブの終了コードを
受け取った場合、終了コード通知手段127によって終
了コードを処理する、この際、終了コード通知手段12
7は、ジョブ先導プロセス101がジョブの終了を待っ
ている場合、すなわちフォアグラウンドでジョブを起動
した場合、ジョブ先導プロセス101に終了コード通知
手段127によって、この終了コードを通知する。一
方、ジョブ先導プロセス101が、ジョブの終了を待っ
ていない場合、すなわちバックグランドでジョブを起動
した場合は、終了コードをエラー出力ファイルに出力す
る。
When an end code of a job is received from the job management process 103 by an end code transfer unit 136 described below, the end code is processed by an end code notification unit 127. At this time, the end code notification unit 12
7, when the job leading process 101 is waiting for the end of the job, that is, when the job is started in the foreground, the end code notifying unit 127 notifies the job leading process 101 of the end code. On the other hand, when the job leading process 101 does not wait for the end of the job, that is, when the job is started in the background, the end code is output to the error output file.

【0024】ジョブ管理プロセス103は、ジョブ起動
条件受信手段131によって、ジョブ要求のあった起動
条件、すなわちコマンドライン、環境変数、などを受け
取る。ジョブプロセス生成手段132ではこのジョブ起
動条件受信手段131で得たジョブ起動条件に従ってジ
ョブプロセス104を起動することになる。ジョブ起動
条件で標準入出力ファイルやエラー出力ファイルがデバ
イス端末だった場合、あるいは標準入力ファイルがレギ
ュラーファイルであった場合は、仮想端末に強制的に書
換える。
The job management process 103 receives, by the job activation condition receiving means 131, the activation condition requested by the job, that is, the command line, environment variables, and the like. The job process generating means 132 starts the job process 104 according to the job starting conditions obtained by the job starting condition receiving means 131. If the standard input / output file or error output file is a device terminal or if the standard input file is a regular file, the job is forcibly rewritten to a virtual terminal.

【0025】次にジョブ管理プロセス待ち合わせ手段1
33を起動し、生成したジョブプロセス104からの終
了通知、あるいは仮想端末への出力、あるいは通信プロ
セス102の行う入力データ送信手段126によって送
信されるジョブプロセス104への入力要求を同時に待
ち合わせる。
Next, job management process waiting means 1
33, and simultaneously waits for an end request from the generated job process 104, output to the virtual terminal, or an input request to the job process 104 transmitted by the input data transmitting unit 126 performed by the communication process 102.

【0026】このジョブ管理プロセス待ち合わせ手段1
33によって、通信プロセス102から出された入力デ
ータを受信した場合、データ入力手段134によって、
ジョブプロセス104にデータを入力する。ジョブプロ
セス104は、標準入力ファイルからこの入力データを
受取る。
This job management process waiting means 1
33, when the input data output from the communication process 102 is received,
Data is input to the job process 104. Job process 104 receives this input data from the standard input file.

【0027】ジョブ管理プロセス待ち合わせ手段133
によって、ジョブプロセス104が標準/エラー出力フ
ァイルへ出力を行うと、仮想端末を経由して、出力デー
タを受取り、これを出力データ送信手段135を使っ
て、通信プロセス102へ送信する。
Job management process waiting means 133
When the job process 104 outputs to the standard / error output file, the output data is received via the virtual terminal and transmitted to the communication process 102 using the output data transmission means 135.

【0028】ジョブ管理プロセス待ち合わせ手段133
によって、ジョブプロセス104の終了コードを受取っ
た場合、終了コードを終了コード転送手段136を使っ
て、通信プロセス102に転送する。
Job management process waiting means 133
When the end code of the job process 104 is received, the end code is transferred to the communication process 102 using the end code transfer unit 136.

【0029】次に本発明の第2の実施例であるリモート
プロセス制御方式の動作について図面を参照して詳細に
説明する。
Next, the operation of the remote process control system according to the second embodiment of the present invention will be described in detail with reference to the drawings.

【0030】図1,図2および図3を参照すると、本発
明の第2の実施例において通信プロセス102は、ジョ
ブに対して計算機1上で発生するジョブ制御シグナルを
受信するジョブ制御シグナル獲得手段211と、該ジョ
ブ制御シグナルをジョブ管理プロセス103に転送する
ジョブ制御シグナル転送手段212と、ジョブプロセス
104のシグナル受信状態を受信するシグナル受信状態
受信手段213と、該受信手段213によって受信した
シグナル受信状態を通信プロセス102のエラー出力フ
ァイルに表示するシグナル受信状態表示手段214とを
有し、ジョブ管理プロセス103は、前記通信プロセス
102のジョブ制御シグナル転送手段212によって転
送されたジョブ制御シグナルを受信するジョブ制御シグ
ナル受信手段221と、該ジョブ制御シグナル受信手段
221で受信したジョブ制御シグナルをジョブプロセス
104に送出するシグナル送出手段222と、ジョブプ
ロセス104が受けたシグナルの受信状態を検知するシ
グナル受信状態検知手段223と、該シグナル受信状態
検知手段223によって検知したジョブプロセス104
のシグナル受信状態を通信プロセス102に送信するシ
グナル受信状態送信手段224とを含む。
Referring to FIGS. 1, 2 and 3, in the second embodiment of the present invention, the communication process 102 is a job control signal acquiring means for receiving a job control signal generated on the computer 1 for a job. 211, a job control signal transfer unit 212 that transfers the job control signal to the job management process 103, a signal reception state reception unit 213 that receives a signal reception state of the job process 104, and a signal reception received by the reception unit 213. The job management process 103 receives the job control signal transferred by the job control signal transfer unit 212 of the communication process 102. The signal reception status display unit 214 displays the status in an error output file of the communication process 102. Job control signal receiving means 22 A signal transmitting unit 222 for transmitting the job control signal received by the job control signal receiving unit 221 to the job process 104; a signal receiving state detecting unit 223 for detecting a reception state of the signal received by the job process 104; Job process 104 detected by signal reception state detection means 223
And a signal reception status transmitting unit 224 for transmitting the signal reception status of the communication process 102 to the communication process 102.

【0031】次に本発明の第2の実施例のリモートプロ
セス制御方式について図面を参照して詳細に説明する。
Next, a remote process control system according to a second embodiment of the present invention will be described in detail with reference to the drawings.

【0032】計算機1上の通信プロセス102は、計算
機2上のジョブプロセス104を制御するためのジョブ
制御シグナルを受信するジョブ制御シグナル獲得手段2
11を持つ。プロセスを強制終了させるためのシグナ
ル、プロセスをストップさせるためのシグナル、プロセ
スを続行させるためのシグナル等がこれにあたる。計算
機1上において通信プロセス102はジョブプロセス名
に自プロセスを変名し、あたかも計算機1上でジョブプ
ロセス104が存在するように見せ掛け、計算機1上の
利用者は変名した通信プロセス102に対して上記シグ
ナルを上げることができる。
The communication process 102 on the computer 1 is a job control signal acquisition means 2 for receiving a job control signal for controlling the job process 104 on the computer 2.
Has 11 This includes a signal for forcibly terminating the process, a signal for stopping the process, a signal for continuing the process, and the like. On the computer 1, the communication process 102 renames its own process to the job process name, and makes it appear as if the job process 104 exists on the computer 1, and the user on the computer 1 sends the signal to the renamed communication process 102. Can be raised.

【0033】ジョブ制御シグナル転送手段212では、
ジョブ制御シグナル獲得手段211で獲得したジョブ制
御シグナルを計算機2上のジョブ管理プロセス103に
転送する。転送に際しては、シグナルの種別に加えてジ
ョブ管理プロセス103側でログを取るためにタイムス
タンプなどの付加情報を同時に送信する。
In the job control signal transfer means 212,
The job control signal acquired by the job control signal acquisition means 211 is transferred to the job management process 103 on the computer 2. At the time of the transfer, additional information such as a time stamp is simultaneously transmitted in order to log on the job management process 103 side in addition to the signal type.

【0034】計算機2上のジョブ管理プロセス103は
通信プロセス102から送信されたジョブ制御シグナル
を受信するジョブ制御シグナル受信手段221を持つ。
この手段によってシグナル種別を受信するのと同時にタ
イムスタンプなどの付加情報を同時に得る。さらにシグ
ナル送出手段222ではジョブプロセス104に対して
前記ジョブ制御シグナル受信手段221で受信したシグ
ナルコードをジョブプロセス104に対して送出する。
The job management process 103 on the computer 2 has a job control signal receiving means 221 for receiving the job control signal transmitted from the communication process 102.
By this means, the additional information such as the time stamp is obtained at the same time when the signal type is received. Further, the signal sending means 222 sends the signal code received by the job control signal receiving means 221 to the job process 104 to the job process 104.

【0035】またジョブ管理プロセス103が生成した
ジョブプロセス104が、シグナル受信時に異常終了、
あるいは処理中断などへの状態変化がある場合、親プロ
セスであるジョブ管理プロセス103にシグナルを送出
するが、ジョブ管理プロセス103は、これをシグナル
受信状態検知手段223によって受取り、ここで受取っ
た情報をシグナル受信状態送信手段224によって通信
プロセス102に送信する。
The job process 104 generated by the job management process 103 ends abnormally when a signal is received,
Alternatively, if there is a state change due to processing interruption or the like, a signal is sent to the parent process, the job management process 103. The job management process 103 receives this signal by the signal reception state detection means 223, and receives the received information. The signal is transmitted to the communication process 102 by the signal reception state transmission unit 224.

【0036】通信プロセス102では、ジョブ管理プロ
セス103のシグナル受信状態送信手段223で送信さ
れたシグナル受信ステータスをシグナル受信状態受信手
段213によって受信する。さらにシグナル受信状態表
示手段214によって通信プロセス102のエラー出力
ファイルに表示する。
In the communication process 102, the signal reception status transmitted by the signal reception status transmission unit 223 of the job management process 103 is received by the signal reception status reception unit 213. Further, it is displayed on the error output file of the communication process 102 by the signal reception state display means 214.

【0037】次に本発明の第1および第2の実施例を除
いた他の実施例に共通した構成について図4を参照して
説明する。
Next, a configuration common to the other embodiments except the first and second embodiments of the present invention will be described with reference to FIG.

【0038】図4を参照すると、N個の計算機は計算機
1−M(1≦M≦N)で示され、各々高速通信路5で接
続されている。各計算機1−Mは分散ファィルシステム
7を有する。分散ファイルシステム7は、二次記憶媒体
にファイルをキャッシュするエリアを持つことを特徴と
しているものである。これら計算機群と高速通信路5と
で計算機プール4が構成される。計算機20も、分散フ
ァイルシステム7を有し、計算機プール4とは、低速通
信路6とで接続されている。
Referring to FIG. 4, N computers are represented by computers 1-M (1.ltoreq.M.ltoreq.N), each of which is connected by a high-speed communication path 5. Each computer 1-M has a distributed file system 7. The distributed file system 7 is characterized in that a secondary storage medium has an area for caching files. A computer pool 4 is composed of the computer group and the high-speed communication path 5. The computer 20 also has a distributed file system 7, and is connected to the computer pool 4 via the low-speed communication path 6.

【0039】次に本発明の第3の実施例について図面を
参照して詳細に説明する。
Next, a third embodiment of the present invention will be described in detail with reference to the drawings.

【0040】図4,図5および図6を参照すると、本発
明の第3の実施例において、計算機プール4は複数の計
算機1−1から計算機1−NのN台の計算機と、該計算
機を接続する高速通信路5とで構成され、計算機20は
該計算機プール4と低速通信路6で接続され、計算機プ
ール4内の計算機と計算機20は、ファイル位置透過な
分散ファイルシステム7を有する分散処理システムであ
って、計算機20は通信プロセス102を有し、通信プ
ロセス102は、計算機プール4内の計算機1−M(0
≦M≦N)にジョブ処理に必要な要件を伴ったジョブサ
ーバの決定要求を送信する決定要求送信手段321と、
計算機1−Mが決定した結果を受信する決定受信手段3
22とを有し、計算機1−Mは、計算機プール4内の各
計算機から計算機状態を一定時間ごとに受信し、計算機
状態表301に記録する状態監視手段311と、決定要
求送信手段321によって送信されたジョブサーバ決定
要求を受信する決定要求受信手段312と、ジョブ処理
に必要な要件をもとにジョブを実行する計算機を計算機
プール4内から決定するジョブサーバ決定手段313
と、決定した結果を通信プロセス102に通知する決定
通知手段314とを有する。
Referring to FIG. 4, FIG. 5, and FIG. 6, in the third embodiment of the present invention, the computer pool 4 includes N computers from a plurality of computers 1-1 to 1-N, and A computer 20 is connected to the computer pool 4 by a low-speed communication path 6, and the computers in the computer pool 4 and the computers 20 are distributed processing having a distributed file system 7 that is transparent in file position. In the system, the computer 20 has a communication process 102, and the communication process 102 is a computer 1-M (0
≦ M ≦ N), a decision request transmitting unit 321 for transmitting a job server determination request accompanied by requirements for job processing;
Decision receiving means 3 for receiving the result determined by computer 1-M
22. The computer 1-M receives the computer status from each computer in the computer pool 4 at regular intervals, and transmits it by the status monitoring unit 311 that records it in the computer status table 301 and the determination request transmission unit 321. A decision request receiving unit 312 for receiving the job server determination request, and a job server determining unit 313 for determining a computer to execute a job from within the computer pool 4 based on requirements necessary for job processing.
And a notifying unit 314 for notifying the communication process 102 of the determined result.

【0041】次に本発明の第3の実施例の動作について
図面を参照して詳細に説明する。
Next, the operation of the third embodiment of the present invention will be described in detail with reference to the drawings.

【0042】図4,図5および図6を参照すると、本発
明の第3の実施例は、計算機1−Mの、状態監視手段3
11は各計算機から送出される状態通知信号を受信し、
その結果を計算機状態表301に記録する。各計算機が
通知する内容は、負荷状態およびファイルキャッシュ状
態である。
Referring to FIG. 4, FIG. 5 and FIG. 6, the third embodiment of the present invention relates to the state monitoring means 3 of the computer 1-M.
11 receives a status notification signal sent from each computer,
The result is recorded in the computer status table 301. The contents notified by each computer are a load state and a file cache state.

【0043】図6は、この計算機状態表301の一例が
示されている。
FIG. 6 shows an example of the computer status table 301.

【0044】負荷状態はこの例ではプロセッサの稼働率
を5段階で表している。稼働率が0%から20%未満は
1、20%から40%未満は2、40%から60%未満
は3、60%から80%未満は4、80%から100%
は5というように値を与えて、計算機状態表301に記
録しているが、プロセッサ稼働率をそのままパーセント
で記録しても良いし、またディスク稼働率とペアで記録
する方法もある。また、それまでの負荷状態の相加平均
をとる方法もある。
In this example, the load state indicates the operating rate of the processor in five stages. Occupancy rate is 0% to less than 20%, 1%, 20% to less than 40% is 2, 40% to less than 60% is 3, 60% to less than 80% is 4, 80% to 100%
Is given in a value such as 5 and recorded in the computer status table 301. Alternatively, the processor operation rate may be recorded as a percentage or may be recorded as a pair with the disk operation rate. There is also a method of taking an arithmetic average of the load state up to that time.

【0045】また、プロセッサ稼働率もカーネル実行率
やユーザ実行率など詳細に記録する方法もあるが、計算
機状態表301の大きさや、それら情報を通知する際の
ネットワーク負荷、さらには後述するジョブサーバ決定
手段313での決定アルゴリズムの複雑性などを考慮
し、決定される。また、各計算機が二次記憶媒体上にキ
ャッシュしているキャッシュファイルのエントリも記録
する。キャッシュしているすべてのファイルエントリを
通知、あるいは記録するには大きなオーバヘッドが生じ
るのでこの例では各計算機ごとにキャッシュしている容
量の大きい上位5エントリを報告させ、それを記録して
いる。従ってこの管理方法はファイル全体をキャッシュ
する場合だけでなく、ファイルを部分的にキャッシュす
る場合でも有効である。計算機属性はここではプロセッ
サの種類とメモリ容量とキャッシュファイル用ディスク
容量を最初の通信時に記録し、その後変更のあった場合
に更新される。
There is also a method of recording the processor operation rate in detail, such as the kernel execution rate and the user execution rate. However, the size of the computer status table 301, the network load when notifying such information, and the job server described later The decision is made in consideration of the complexity of the decision algorithm in the decision means 313 and the like. Also, the entry of the cache file that each computer has cached on the secondary storage medium is recorded. Since notifying or recording all the cached file entries causes a large overhead, in this example, the top five entries with the largest cached capacity are reported for each computer and recorded. Therefore, this management method is effective not only when caching the entire file but also when partially caching the file. Here, the computer attribute records the type of the processor, the memory capacity, and the disk capacity for the cache file at the time of the first communication, and is updated when there is a change thereafter.

【0046】計算機20内の通信プロセス102はジョ
ブを実行すべき計算機の決定を計算機1−Mに決定要求
送信手段321を使って委託する。通信プロセス102
は計算機1−Mが計算機プール4内の計算機状態管理を
行っていることを知っている場合は計算機プール4内の
通信局を介して直接計算機1−Mに要求する。後述する
決定通知手段314では計算機1−Mはまた通信局を介
して通信をすることになる。また、計算機20は単に通
信局にジョブサーバの決定要求を送信し、通信局が計算
機状態管理を行っている計算機1−Mを見つける、ある
いは知っておく、という方法もある。計算機1−Mを見
つける場合は計算機プール1内でブロードキャストを出
し、該計算機に応答させる、あるいは他の計算機に依頼
して探させる、といった方法がある。それらはすべてこ
の手段に含まれる。
The communication process 102 in the computer 20 entrusts the determination of the computer to execute the job to the computer 1-M by using the determination request transmitting means 321. Communication process 102
If it knows that the computer 1-M is managing the computer state in the computer pool 4, it makes a request directly to the computer 1-M via the communication station in the computer pool 4. In the determination notification means 314 described later, the computer 1-M communicates via the communication station. There is also a method in which the computer 20 simply transmits a job server determination request to the communication station, and finds or knows the computer 1-M in which the communication station manages the computer state. When finding the computer 1-M, there is a method of sending a broadcast in the computer pool 1 to make the computer respond or to request another computer to search. They are all included in this means.

【0047】決定要求送信手段321を起動する際、ジ
ョブの種類によって最適なジョブサーバが異なってくる
ため、この決定要求送信手段321ではジョブに必要な
要件である計算機属性やファイル情報を伴う。例えば、
自計算機で実行したいオブジェクトを生成するためのジ
ョブでは、計算機20のプロセッサ種類や、生成するた
めに必要なファイルパスをヒント情報として送るといっ
たことが考えられる。また、科学技術演算を行うジョブ
は、高速なプロセッサを有する計算機を見つけたいので
高速なプロセッサの種類とデータファイルのパス名をヒ
ントとして指定することが考えられる。ファイル情報は
ここでの説明では最大5ファイルの指定ができるものと
するが、これは説明の便宜からであり、本発明の範囲を
限定しているわけではない。
When activating the decision request transmitting means 321, the optimum job server differs depending on the type of job. Therefore, the decision request transmitting means 321 is accompanied by computer attributes and file information which are necessary for the job. For example,
In a job for generating an object to be executed by the own computer, it is conceivable that the type of processor of the computer 20 or a file path required for generation is transmitted as hint information. In addition, a job that performs a scientific and technical operation wants to find a computer having a high-speed processor, so it is conceivable to specify the type of the high-speed processor and the path name of the data file as a hint. In the description here, it is assumed that a maximum of five files can be specified, but this is for convenience of description and does not limit the scope of the present invention.

【0048】計算機1−Mは計算機20が送信したジョ
ブサーバ決定要求を決定要求受信手段312で受信す
る。決定要求受信手段312は受信した計算機属性やフ
ァイル情報をジョブサーバ決定手段313に渡す。
The computer 1-M receives the job server determination request transmitted from the computer 20 by the determination request receiving means 312. The determination request receiving unit 312 passes the received computer attributes and file information to the job server determining unit 313.

【0049】ジョブサーバ決定手段313は決定要求受
信手段312から渡された情報を基に計算機状態表30
1を使ってジョブサーバを決定する。決定アルゴリズム
には例えば次のようなものがある。
The job server determining means 313 uses the information passed from the determination request receiving means 312 as the
1 is used to determine the job server. For example, the decision algorithm includes the following.

【0050】まず、計算機属性、負荷、ファイルキャッ
シュ状態三項目について各々得点を計算する。得点は0
から1までの値とする。計算機属性としてプロセッサが
指定されてきた場合、それに一致するプロセッサを持た
ない場合、0を与える。また、プロセッサが一致した場
合、あるいはプロセッサの指定がない場合は、メモリ容
量やファイルキャッシュ用ディスク容量が大きいほど1
に近い値を与える。また、負荷は5段階で示される値の
逆数を使う。最後の項目のファイルキャッシュ状態のエ
ントリに指定されてきたファイルがすべてある場合は
1、1つかける場合は0.9、2つかける場合は0.
8、3つかける場合は0.7、4つかける場合は0.
6、ひとつもない場合は0.5と与える。これらの点数
の相乗平均をとり、最も高い得点を稼いだ計算機をジョ
ブサーバとして決定する。あるいはこれらの項目に重み
を表す比率を掛けた値の相乗平均をとる方法もある。こ
の場合、比率は一律にする方式と、計算機20が指定す
る方式が考えられる。
First, the score is calculated for each of the three items of the computer attribute, the load, and the file cache status. Score 0
From 1 to 1. If a processor is specified as a computer attribute, and there is no corresponding processor, 0 is given. If the processors match or the processor is not specified, the larger the memory capacity and the file cache disk capacity, the larger the value.
Give a value close to. The load uses the reciprocal of the value indicated in five stages. If there are all the files specified in the entry of the file cache state of the last item, it is 1, 0.9 if it is multiplied by 1, and 0 if it is multiplied.
8, 3 times 0.7, 4 times 0.
6. If there is no one, give 0.5. The geometric mean of these scores is calculated, and the computer that has the highest score is determined as the job server. Alternatively, there is a method of calculating a geometric mean of values obtained by multiplying these items by a ratio representing a weight. In this case, there are a method in which the ratio is uniform and a method in which the computer 20 specifies the ratio.

【0051】このように決定した計算機の識別子を決定
通知手段314によって計算機20に通知する。識別子
の一例としてネットワークアドレスがあげられる。計算
機20は決定受信手段322によってジョブサーバとし
て使うべき計算機の識別子を受信する。
The identifier of the computer thus determined is notified to the computer 20 by the determination notifying means 314. An example of the identifier is a network address. The computer 20 receives the identifier of the computer to be used as the job server by the decision receiving means 322.

【0052】次に本発明の第4の実施例について図面を
参照して詳細に説明する。
Next, a fourth embodiment of the present invention will be described in detail with reference to the drawings.

【0053】図7を参照すると本発明の実施例は、図5
に示される第3の実施例と比較して、計算機1−Mは、
計算機プール4内の各計算機に計算機状態を問い合わせ
る計算機状態問い合わせ手段411を備えたことを特徴
とする。
Referring to FIG. 7, an embodiment of the present invention is shown in FIG.
In comparison with the third embodiment shown in FIG.
A computer status inquiry means 411 for inquiring each computer in the computer pool 4 about the computer status is provided.

【0054】次に本発明第4の実施例の特徴的動作につ
いて図面を参照して説明する。
Next, the characteristic operation of the fourth embodiment of the present invention will be described with reference to the drawings.

【0055】図6および図7を参照すると、本発明の第
4の実施例における計算機1−Mが有する計算機状態問
い合わせ手段411は、能動的に計算機プール4内の計
算機に対して状態の問い合わせを行う。これにはブロー
ドキャストを行い、各計算機の計算機属性、ファイルキ
ャッシュ状態、負荷状態を通知させる。この結果を例え
ば計算機状態表301の形式にまとめておき、次のジョ
ブサーバ決定手段314にジョブサーバの決定を行う判
断材料として渡す。
Referring to FIGS. 6 and 7, the computer status inquiry means 411 of the computer 1-M according to the fourth embodiment of the present invention actively queries the status of the computers in the computer pool 4. Do. For this purpose, a broadcast is performed to notify the computer attributes, file cache status, and load status of each computer. This result is put into, for example, a computer status table 301 and passed to the next job server determining unit 314 as a determination factor for determining a job server.

【0056】次に本発明の第5の実施例について図面を
参照して詳細に説明する。
Next, a fifth embodiment of the present invention will be described in detail with reference to the drawings.

【0057】図2および図8を参照すると、本発明の第
5の実施例は第2の実施例においてジョブ先導プロセス
101は、転送すべきジョブプロセスをジョブ先導プロ
セス単位の情報として覚えておく個別転送ジョブ登録手
段511と、受け付けたジョブ要求が転送すべきジョブ
プロセスかをチェックする個別転送ジョブチェック手段
512とを有することを特徴とする。
Referring to FIGS. 2 and 8, the fifth embodiment of the present invention is different from the second embodiment in that the job leading process 101 stores the job process to be transferred as information on a job leading process unit basis. It has a transfer job registration unit 511 and an individual transfer job check unit 512 for checking whether the received job request is a job process to be transferred.

【0058】図8を参照すると本発明の第5の実施例で
ある第1の転送ジョブプロセス選択方式において、ジョ
ブ先導プロセス101は個別転送ジョブ登録手段511
によって、計算機プール4内のいずれかの計算機1−M
で実行するジョブプロセスをジョブ先導プロセス毎の情
報として記憶する。この一例として環境変数として記憶
する方法がある。環境変数名として、たとえばMIGR
ATIONJOBという変数名に、複数のジョブを:で
つなげて登録する方法がある。あるいは環境変数に転送
すべきジョブエントリを登録してあるファイルへのパス
を指定する方法もある。いずれにしてもこれらはジョブ
先導プロセス毎、あるいはセッション毎の情報として扱
われ、計算機20内の他のユーザには影響を及ぼさな
い。
Referring to FIG. 8, in the first transfer job process selection method according to the fifth embodiment of the present invention, the job leading process 101 includes an individual transfer job registration unit 511.
, Any one of the computers 1 -M in the computer pool 4
Is stored as information for each job leading process. An example of this is a method of storing as environment variables. As an environment variable name, for example, MIGR
There is a method of registering a job by connecting a plurality of jobs to a variable name of “ATIONJOB” by using “:”. Alternatively, there is a method of specifying a path to a file in which a job entry to be transferred is registered in an environment variable. In any case, these are handled as information for each job leading process or for each session, and do not affect other users in the computer 20.

【0059】次に、ジョブ先導プロセス101は、個別
転送ジョブチェック手段512によって、ジョブ要求が
入力された場合、先の個別転送ジョブ登録手段511に
よって登録したジョブ先導プロセス毎の転送ジョブ候補
のエントリをチェックし、今入力されたジョブ要求エン
トリと比較する。例えば環境変数として登録しておいた
場合、この環境変数に登録してあるジョブエントリとこ
の要求ジョブとを比較する。もし一致すると本発明の第
1の実施例のプロセス転送方式によってジョブを計算機
プール4内の計算機1−Mに転送し、処理を行わせる。
この計算機1−Mの選択にあたっては第3の実施例、ま
たは第4の実施例のジョブサーバ選択方式を利用する。
また随時第2の実施例のリモートプロセス制御方式によ
ってこれら処理をシグナル制御する。環境変数として転
送すべきジョブエントリの一覧を格納したファイルへの
パスが指定されている前記の例でも同様のことを行う。
Next, when a job request is input by the individual transfer job check unit 512, the job leading process 101 registers the transfer job candidate entry for each job leading process registered by the individual transfer job registering unit 511. Check and compare with the just entered job request entry. For example, if the job is registered as an environment variable, the job entry registered in the environment variable is compared with the requested job. If they match, the job is transferred to the computer 1-M in the computer pool 4 by the process transfer method according to the first embodiment of the present invention, where the job is processed.
In selecting the computer 1-M, the job server selection method of the third embodiment or the fourth embodiment is used.
In addition, these processes are signal-controlled at any time by the remote process control method of the second embodiment. The same applies to the above example where the path to the file storing the list of job entries to be transferred is specified as an environment variable.

【0060】次に本発明の第6の実施例について図面を
参照して詳細に説明する。
Next, a sixth embodiment of the present invention will be described in detail with reference to the drawings.

【0061】図9を参照すると、本発明の第6の実施例
は、第2の実施例に対し計算機20は、転送すべきジョ
ブプロセスを計算機単位の情報として登録しておく共通
転送ジョブ登録手段611を有し、ジョブ先導プロセス
101は、受付けたジョブ要求が転送すべきジョブプロ
セスかをチェックする共通転送ジョブチェック手段62
1を有することを特徴とする。
Referring to FIG. 9, the sixth embodiment of the present invention is different from the second embodiment in that the computer 20 has a common transfer job registering means for registering a job process to be transferred as computer unit information. 611, the job leading process 101 checks whether the received job request is a job process to be transferred.
1 is provided.

【0062】次に本発明の第6の実施例の動作について
図面を参照して詳細に説明する。
Next, the operation of the sixth embodiment of the present invention will be described in detail with reference to the drawings.

【0063】図9を参照すると、本発明の第6の実施例
における計算機20は共通転送ジョブ登録手段611に
よって、計算機プール4内のいずれかの計算機1−Mで
実行すべきジョブエントリを計算機20内に記憶する。
記憶箇所として、ファイル、共有メモリ、カーネル内な
ど複数のジョブ起動者から共通に参照できる箇所があげ
られる。カーネル内であればシステムコールを介して登
録情報にアクセスでき、共有メモリであればアタッチ
後、リードライトすれば良い。またファイルであれば通
常のファイルアクセスインタフェースで情報の更新、参
照が行える。この記憶箇所にジョブエントリを記憶す
る。この情報は計算機20内の全プロセスが参照でき
る。ジョブ先導プロセス101はジョブ要求が入力され
ると共通転送ジョブチェック手段621を起動し、入力
されたジョブ要求が先に共通転送ジョブ登録手段611
によって登録されているジョブエントリと比較する。も
し一致すると第1の実施例のプロセス転送方式によって
ジョブを計算機プール4内の計算機1−Mに転送し、処
理を行わせる。また随時第2の実施例のリモートプロセ
ス制御方式によってこれら処理をシグナル制御する。
Referring to FIG. 9, the computer 20 according to the sixth embodiment of the present invention uses the common transfer job registration unit 611 to store a job entry to be executed by any one of the computers 1-M in the computer pool 4. Remember in
The storage location includes a location that can be commonly referred to by a plurality of job launchers, such as a file, a shared memory, and a kernel. The registration information can be accessed through a system call in the kernel, and can be read and written after attachment in a shared memory. In the case of a file, the information can be updated and referenced using a normal file access interface. The job entry is stored in this storage location. This information can be referred to by all processes in the computer 20. When a job request is input, the job leading process 101 activates the common transfer job check unit 621, and the input job request is first input to the common transfer job registration unit 611.
Compare with the job entry registered by. If they match, the job is transferred to the computer 1-M in the computer pool 4 by the process transfer method of the first embodiment, and the job is processed. In addition, these processes are signal-controlled at any time by the remote process control method of the second embodiment.

【0064】次に本発明の第7の実施例について図面を
参照して詳細に説明する。
Next, a seventh embodiment of the present invention will be described in detail with reference to the drawings.

【0065】図10を参照すると本発明の第7の実施例
は、第2の実施例をもとに計算機20は、ジョブプロセ
ス702と、ジョブプロセス702が起動する複数のジ
ョブ子プロセス703−L(Lは自然数)とを有し、ジ
ョブ先導プロセス101は、複数のコマンドの組み合わ
せで記述されたスクリプトとして定義されたジョブ要求
と、ジョブプロセス702からの終了通知、あるいはユ
ーザからのジョブ転送指示を同時に待ち合わせるジョブ
先導プロセス待ち合わせ手段711と、ジョブを実行す
るジョブプロセスを生成するジョブプロセス起動手段7
12と、ジョブプロセス702に対して中断指示を送出
する中断指示手段713とを有する。
Referring to FIG. 10, according to a seventh embodiment of the present invention, based on the second embodiment, the computer 20 includes a job process 702 and a plurality of job child processes 703-L activated by the job process 702. (L is a natural number), and the job leading process 101 sends a job request defined as a script described by a combination of a plurality of commands, an end notification from the job process 702, or a job transfer instruction from the user. Job leading process waiting means 711 for waiting at the same time, and job process starting means 7 for generating a job process for executing a job
12 and an interruption instructing unit 713 for sending an interruption instruction to the job process 702.

【0066】ジョブプロセス702は、スクリプトを読
み込んでジョブ子プロセスを順次起動するジョブ子プロ
セス起動手段721と、ジョブプロセス702に対する
中断指示、あるいはジョブ子プロセス703−Lからの
完了通知を同時に待ち合わせるジョブプロセス待ち合わ
せ手段722と、ジョブ子プロセス703−Lからの完
了通知を受信した場合、次のスクリプト行を継続して実
行するか否かを判断する処理継続判断手段723と、該
処理継続判断手段723でジョブプロセス702を中断
するべきマークを検出した場合、ジョブプロセスを中断
するジョブプロセス中断手段724と、該ジョブプロセ
ス中断手段724でジョブプロセス702の中断処理が
完了したことを通知する中断完了通知手段725と、前
記処理継続判断723でスクリプトを終了すると判断し
た場合、ジョブ終了コードをジョブ先導プロセス101
に送信するジョブ終了コード送信手段726と、前記ジ
ョブプロセス待ち合わせ手段722で中断指示を受信し
た場合、中断指示をマークする中断指示マーク手段72
7とを有し、ジョブ子プロセス703−Lは、自身の処
理が完了したことを報告する完了通知手段731を有す
る。
The job process 702 reads a script and sequentially starts job child processes. The job process 702 is a job process that simultaneously waits for an instruction to suspend the job process 702 or a completion notification from the job child process 703-L. When receiving the completion notification from the waiting means 722 and the job child process 703-L, the processing continuation determining means 723 for determining whether to continue the next script line, and the processing continuation determining means 723 When a mark for interrupting the job process 702 is detected, a job process interrupting unit 724 for interrupting the job process, and an interrupt completion notifying unit 725 for notifying that the job process 702 has been interrupted by the job process interrupting unit 724. And the processing continuation determination 7 If it is determined to exit the script at 3, job leading process 101 a job end code
And a job end code transmitting unit 726 for transmitting the job completion code to the job process waiting unit 722.
7, and the job child process 703-L includes a completion notifying unit 731 for reporting that its own process has been completed.

【0067】以下第7の実施例から第10の実施例の動
作の前提として必要なものを説明する。
Hereinafter, what is necessary as a premise of the operation of the seventh to tenth embodiments will be described.

【0068】以下の説明の中で、ジョブ先導プロセス1
01に対するジョブ要求の一例として、コマンドライン
があげられる。ユーザから要求されるジョブは単一のコ
マンドの場合や複数のコマンドを組み合わせたスクリプ
トの形式で与えられる場合がある。頻繁に使われるスク
リプトはファイルにつくられ、そのファイルに実行権を
あたえて直接起動したり、スクリプトを解釈するコマン
ド(UNIXではシェルコマンド)に通すことで実現す
る。
In the following description, the job leading process 1
An example of a job request for 01 is a command line. The job requested by the user may be given in the form of a single command or a script in which a plurality of commands are combined. Frequently used scripts are created in a file, and are executed by giving the execution right to the file and directly starting the script, or by passing a script interpreting command (a shell command in UNIX).

【0069】他の例として、ジョブにあらかじめ識別子
を与えることでその識別子をジョブキューに載せる方法
がある。しかし、いずれジョブ識別子に対応してジョブ
スクリプトが対応するので、ここでは上記スクリプトを
解釈するコマンドを使った例で説明を進める。
As another example, there is a method of assigning an identifier to a job in advance and placing the identifier in a job queue. However, since a job script corresponds to a job identifier in the near future, the description will be given here using an example using a command for interpreting the script.

【0070】次に本発明の第7の実施例の動作について
図面を参照して詳細に説明する。
Next, the operation of the seventh embodiment of the present invention will be described in detail with reference to the drawings.

【0071】ジョブ先導プロセス101は、ジョブ先導
プロセス待ち合わせ手段711によって、複数のコマン
ドの組み合わせで記述されたスクリプトとして定義され
たジョブ要求と、ジョブの中断指示、あるいはジョブ終
了コード送信手段726によって送信される終了通知を
同時に待ち合わせる。ジョブ要求を受付けた場合、ジョ
ブプロセス起動手段712を起動してジョブプロセス7
02を計算機20内に生成起動しジョブ要求処理にあた
らせる。ジョブ要求がフォァグランドでの実行要求であ
れば、ジョブ先導プロセス待ち合わせ手段711で次の
ジョブ要求を抑止する。ジョブ実行途中にフォアグラン
ド実行要求からバックグランド実行要求への変更、ある
いはその逆の変更も、ジョブ先導プロセス待ち合わせ手
段711でのジョブ要求受付け抑止の変更によって制御
できる。このジョブプロセス702の終了は、後述する
ジョブ終了コード送信手段726によって送信される終
了コード通知で受ける。
The job leading process 101 is transmitted by the job leading process waiting means 711 by a job request defined as a script described by a combination of a plurality of commands, a job interruption instruction, or a job end code transmitting means 726. Waiting for the end notification at the same time. When a job request is accepted, the job process starting unit 712 is started to
02 is generated and started in the computer 20 to cause it to perform job request processing. If the job request is an execution request in the foreground, the next job request is suppressed by the job leading process waiting means 711. The change from the foreground execution request to the background execution request during the execution of the job, and vice versa, can also be controlled by changing the job request acceptance suppression by the job leading process queuing means 711. The end of the job process 702 is received by an end code notification transmitted by a job end code transmission unit 726 described later.

【0072】ジョブ先導プロセス101がジョブ先導プ
ロセス待ち合わせ手段711によってジョブ起動者、あ
るいはシステム管理者から中断指示を受信した場合、中
断指示手段713によって、ジョブプロセス702に中
断指示を行う。
When the job leading process 101 receives an interruption instruction from the job initiator or the system administrator by the job leading process waiting unit 711, the interruption instruction unit 713 gives an interruption instruction to the job process 702.

【0073】ジョブ先導プロセス101がジョブ先導プ
ロセス待ち合わせ手段711によって中断完了通知を受
信した場合、第1の実施例のプロセス転送方式を用い
て、まだ実行されていないスクリプト部分の実行を計算
機プール4内の計算機1−Mにおこなわせ、また第2の
実施例のリモートプロセス制御方式によってその実行を
制御する。これはスクリプトの実行が終了した行番号を
付加情報としてプロセス転送方式のジョブ起動要求受付
手段111に与え、計算機1−M上でジョブ継続実行を
行う際、該スクリプト終了行の次のラインから実行させ
ることで実現できる。ジョブの実行にあたる計算機の選
択は第3の実施例あるいは第4の実施例のジョブサーバ
選択方式によって決定できる。
When the job leading process 101 receives the interruption completion notice by the job leading process waiting means 711, the execution of the script part that has not been executed is executed in the computer pool 4 by using the process transfer method of the first embodiment. And execution is controlled by the remote process control method of the second embodiment. In this case, the line number at which the execution of the script has been completed is given as additional information to the job start request receiving means 111 of the process transfer method. It can be realized by doing. The selection of a computer for executing a job can be determined by the job server selection method according to the third embodiment or the fourth embodiment.

【0074】一方、ジョブプロセス702は、ジョブ子
プロセス起動手段721によってスクリプトを順次読み
込んで字句を解析しプロセスを生成する必要がある場
合、ジョブ子プロセス703−Lを生成し起動する。ス
クリプト中、組み込み型のコマンド行は自身で実行す
る。
On the other hand, the job process 702 generates and starts the job child process 703-L when it is necessary to sequentially read the scripts by the job child process starting means 721, analyze the lexical data, and generate a process. In the script, execute the built-in command line by itself.

【0075】ジョブ子プロセス703−Lを起動した場
合、このジョブ子プロセス703−Lからの完了通知手
段731で通知される完了通知とジョブ先導プロセス1
01から中断指示手段713による中断指示を同時に待
ち合わせるためにジョブプロセス待ち合わせ手段722
を起動する。完了通知を受け取った場合、処理継続判断
手段723を起動し、中断指示がマークされているかを
確認する。中断指示がされていない場合でかつ次のスク
リプト行が存在する場合、ジョブ子プロセス起動手段7
21を起動してそのスクリプト行の実行を行う。また、
次のスクリプト行がない場合、あるいは中断指示がされ
ていても次のスクリプト行がexitなどのスクリプト
終了を指示するものだった場合、ジョブ終了コード送信
手段726を起動して、ジョブ要求が完了したことをジ
ョブ終了コードとともに送信して伝える。
When the job child process 703 -L is activated, the completion notification notified by the completion notifying means 731 from the job child process 703 -L and the job leading process 1
In order to simultaneously wait for the interruption instruction from the interruption instruction unit 713 from the job process queuing unit 722,
Start When the completion notice is received, the processing continuation determining means 723 is activated, and it is confirmed whether or not the interruption instruction is marked. If the interruption instruction has not been issued and the next script line exists, the job child process activation unit 7
21 is executed to execute the script line. Also,
If there is no next script line, or if the next script line instructs the end of the script such as exit even if the interruption instruction is given, the job end code transmission unit 726 is activated and the job request is completed. This is transmitted and transmitted together with the job end code.

【0076】処理継続判断手段723で、中断指示がな
されていてかつ次に実行するスクリプト行が存在する場
合、ジョブプロセス中断手段724によってジョブプロ
セス702の処理を中断する。この中断に関わる処理が
完了した段階で中断完了通知手段725を起動しジョブ
先導プロセス101にジョブプロセス702の中断が完
了したことを知らせると同時に、中断したスクリプト行
数や内部保持変数値を転送する。
If the processing continuation judging means 723 has instructed the interruption and there is a script line to be executed next, the job process interrupting means 724 interrupts the processing of the job process 702. When the processing related to the interruption is completed, the interruption completion notifying unit 725 is activated to notify the job leading process 101 that the interruption of the job process 702 has been completed, and at the same time, the number of the interrupted script lines and the internally held variable value are transferred. .

【0077】このジョブプロセス待ち合わせ手段722
で中断通知をジョブ先導プロセス101から受信した場
合、中断指示マーク手段727によって中断指示があっ
たことをマークする。
This job process waiting means 722
When the interruption notification is received from the job leading process 101, the interruption instruction marking means 727 marks the interruption instruction.

【0078】ジョブ子プロセス起動手段721で、内部
組み込みコマンドの実行をジョブプロセス702自身が
行った場合、処理継続判断手段723をジョブプロセス
待ち合わせ手段722を介さず、直接コールする。
When the job process 702 itself executes the internal built-in command in the job child process starting means 721, the processing continuation determining means 723 is directly called without passing through the job process waiting means 722.

【0079】ジョブ子プロセス703−Lは、処理が完
了した段階で完了通知手段731を使って完了した旨、
終了コードを伴ってジョブプロセス702に通知する。
The job child process 703-L uses the completion notifying means 731 when the processing is completed,
The job process 702 is notified with an end code.

【0080】次に本発明の第8の実施例について図面を
参照して詳細に説明する。
Next, an eighth embodiment of the present invention will be described in detail with reference to the drawings.

【0081】図11を参照すると、本発明の第8の実施
例は、第7の実施例に基いて計算機20は、二次記憶上
のファイルキャッシュに対するキャッシュミスヒットを
プロセスのグループごとに管理するキャッシュミスヒッ
トカウント手段801を有し、ジョブ先導プロセス10
1は、前記ジョブ先導プロセス待ち合わせ手段711に
おいてジョブ要求を受付けた場合、転送すべきジョブと
して登録されているジョブをチェックする転送ジョブチ
ェック手段811と、前記ジョブ先導プロセス待ち合わ
せ手段711において中断完了通知を受信した場合、該
スクリプト名を登録する転送ジョブ登録手段812とを
有し、ジョブプロセス702は、該ジョブプロセス70
2自身が実行することでジョブプロセス702が起動し
たジョブプロセス702を含むプロセスの積算ミスヒッ
トカウントがしきい値を超えていないかをチェックする
ミスヒットカウントチェック手段821を有し、ジョブ
子プロセス703−Lは、ジョブプロセス702が起動
したジョブプロセス702を含むプロセスの積算キャッ
シュミスヒットカウントがしきい値に達しているかをチ
ェックするしきい値チェック手段831と、ジョブプロ
セス702に対して中断指示を送出する中断指示手段7
13とを有する、次に本発明の第8の実施例の転送ジョ
ブプロセス選択方式の動作/図面を参照して詳細に説明
する。
Referring to FIG. 11, according to an eighth embodiment of the present invention, based on the seventh embodiment, the computer 20 manages cache misses for the file cache on the secondary storage for each process group. Job leading process 10 having cache miss count means 801
When a job request is received by the job leading process waiting unit 711, a transfer job checking unit 811 that checks a job registered as a job to be transferred, and an interruption completion notification is sent to the job leading process waiting unit 711. And a transfer job registration unit 812 for registering the script name when receiving the script name.
The job child process 703 includes a mishit count checking unit 821 that checks whether the accumulated mishit count of a process including the job process 702 activated by the job process 702 by itself has not exceeded a threshold value. -L is a threshold value check unit 831 for checking whether the accumulated cache miss count of the process including the job process 702 started by the job process 702 has reached the threshold value, and an interruption instruction to the job process 702. Suspension instruction means 7 to send
Next, the operation of the transfer job process selection method according to the eighth embodiment of the present invention will be described in detail with reference to the drawings.

【0082】図11を参照すると、ジョブ先導プロセス
101がジョブ先導プロセス待ち合わせ手段711によ
ってジョブ要求を受付けた場合、転送ジョブチェック手
段811によってこのジョブ要求が後述する転送ジョブ
登録手段812により、転送すべきジョブとして登録さ
れているかをチェックする。登録されている場合、第1
請求項のプロセス転送方式を起動してジョブ転送し、第
2の実施例のリモートプロセス制御方式でシグナル制御
する。転送先の計算機は第3の実施例あるいは第4の実
施例のジョブサーバ決定方式を使って決定する。登録さ
れていない場合は、ジョブプロセス起動手段712でジ
ョブ要求を処理するジョブプロセス702を生成する。
Referring to FIG. 11, when the job leading process 101 receives a job request by the job leading process waiting means 711, the job request should be transferred by the transfer job checking means 811 by the transfer job registering means 812 described later. Check whether the job has been registered. If registered, the first
The job is transferred by activating the claimed process transfer method, and the signal is controlled by the remote process control method of the second embodiment. The transfer destination computer is determined using the job server determination method of the third embodiment or the fourth embodiment. If not registered, the job process activation unit 712 generates a job process 702 for processing the job request.

【0083】ジョブ先導プロセス101がジョブ先導プ
ロセス待ち合わせ手段711によって中断完了通知を受
信した場合、転送ジョブ登録手段812によってこのス
クリプトが転送して処理した方が効果的であることを登
録する。この登録はシステムにより自動的に行われるこ
とになる。この後、引き続き第1の実施例のプロセス転
送方式を用いて、まだ実行されていないスクリプト部分
の実行を計算機プール1内の計算機1−Mにおこなわ
せ、また第2の実施例のリモートプロセス制御方式によ
ってその実行を制御する。これはスクリプトの実行が終
了したことを行番号を付加情報としてプロセス転送方式
のジョブ起動要求受付手段111に与え、計算機1−M
上でジョブ継続実行を行う際、該スクリプト終了行の次
のラインから実行させることで実現できる。
When the job leading process 101 receives the interruption completion notification by the job leading process waiting unit 711, the transfer job registering unit 812 registers that it is more effective to transfer and process the script. This registration will be performed automatically by the system. Thereafter, using the process transfer method of the first embodiment, the script portion that has not been executed is executed by the computer 1-M in the computer pool 1, and the remote process control of the second embodiment is executed. The execution is controlled by the method. In this case, the fact that the execution of the script has been completed is given to the job transfer request receiving means 111 of the process transfer method with the line number as additional information, and the computer 1-M
When performing the job continuation execution above, this can be realized by executing from the line following the script end line.

【0084】一方、ジョブプロセス702は、ジョブ子
プロセス起動手段721によってスクリプトを順次読み
込んで字句を解析しプロセスを生成する必要がある場
合、ジョブ子プロセス703−Lを生成し起動する。ス
クリプト中、組み込み型のコマンド行は自身で実行す
る。この場合、処理中にミスヒットカウントチェック手
段821によってジョブプロセス702が生成し起動し
たジョブプロセス702を含むプロセスによるジョブ実
行中のキャッシュミスカウントがしきい値を超えていな
いかをチェックする。もし超えたら中断指示マーク手段
727を使って次のスクリプト行実行時に中断すること
をマークする。
On the other hand, the job process 702 generates and starts a job child process 703-L when it is necessary to sequentially read the script by the job child process starting means 721 and analyze the lexical data to generate a process. In the script, execute the built-in command line by itself. In this case, the mishit count checking unit 821 checks whether the cache miss count during job execution by a process including the job process 702 generated and started by the job process 702 during processing is not greater than a threshold value. If it exceeds, the interruption instruction marking means 727 is used to mark interruption when the next script line is executed.

【0085】ジョブ子プロセス703−Lは、実行中に
キャッシュミスが発生すると、ジョブプロセス702を
含むジョブプロセス702が生成し起動したプロセスの
積算キャッシュミスヒットカウントをチェックししきい
値を超えていないかをミスヒットカウントチェック手段
831でチェックする。この結果、しきい値を超えてい
たら中断指示手段713でジョブプロセス702に中断
をマークするよう指示し、自身は処理を続行する。そし
てジョブ子プロセス703−Lの処理が完了した段階で
完了通知手段731を使って完了した旨、終了コードを
伴ってジョブプロセス702に通知する。
When a cache miss occurs during execution, the job child process 703-L checks the accumulated cache miss hit count of the process generated and started by the job process 702 including the job process 702, and does not exceed the threshold value. Is checked by the miss hit count check means 831. As a result, if the threshold value is exceeded, the interruption instruction means 713 instructs the job process 702 to mark the interruption, and the processing itself continues. Then, when the processing of the job child process 703-L is completed, the job notification unit 731 notifies the job process 702 of the completion by using the completion notification unit 731 together with an end code.

【0086】最後にキャッシュミスヒットカウント手段
801を説明する。計算機20上の二次記憶媒体には分
散ファイルシステム7が管理するファイルキャッシュが
存在する。このファイルキャッシュ容量は限られている
のですべての必要なファイルをキャッシュして保持する
ことはできず、したがって計算機20上のプロセスが動
作中にキャッシュされていないファイル、あるいはその
部分にアクセスした場合、キャッシュミスヒットとし
て、計算機プール4中に存在するファイルサーバから必
要なファイル、あるいはその部分を転送しようとする。
このキャッシュミスに関わる動作はキャッシュを管理す
る手段で解決されるが、ここでは同時にキャッシュミス
の回数も保持する。また、プロセス単位のキャッシュミ
ス回数を個別に保持したり、プロセスをグループ管理し
て、グループ単位でキャッシュミス回数をカウントする
こともできる。ここでは、ジョブを処理する過程で発生
するキャッシュミスヒット数に着目し、グループ単位で
キャッシュミス回数を管理する。
Finally, the cache miss count means 801 will be described. The secondary storage medium on the computer 20 has a file cache managed by the distributed file system 7. Since this file cache capacity is limited, it is not possible to cache and hold all necessary files. Therefore, when a process on the computer 20 accesses a file that is not cached or a portion thereof during operation, As a cache miss, an attempt is made to transfer a necessary file or a part thereof from a file server existing in the computer pool 4.
The operation related to the cache miss is solved by means for managing the cache, but here, the number of cache misses is also held at the same time. In addition, the number of cache misses can be held individually for each process, or the process can be managed as a group, and the number of cache misses can be counted for each group. Here, paying attention to the number of cache misses occurring in the process of processing a job, the number of cache misses is managed for each group.

【0087】次に本発明の第9の実施例について図面を
参照して詳細に説明する。
Next, a ninth embodiment of the present invention will be described in detail with reference to the drawings.

【0088】図12を参照すると、本発明の第9の実施
について、二次記憶上のファイルキャッシュに対するキ
ャッシュミスヒット時にファイルサーバから転送するデ
ータ転送量をプロセスのグループごとに管理するデータ
転送量カウント手段901を有し、ジョブプロセス70
2は、該ジョブプロセス702自身が実行することでジ
ョブプロセス702が起動したジョブプロセス702を
含むプロセスの積算データ転送量がしきい値に達してい
るかをチェックする転送量カウントチェック手段921
を有し、ジョブ子プロセス703−Lは、ジョブプロセ
ス702が起動したジョブプロセス702を含むプロセ
スの積算データ転送量がしきい値に達しているかをチェ
ックする転送量カウントチェック手段931を有する。
Referring to FIG. 12, according to a ninth embodiment of the present invention, a data transfer amount count for managing a data transfer amount transferred from a file server when a cache mishit occurs in a file cache on a secondary storage for each process group. Means 901, the job process 70
Reference numeral 2 denotes a transfer amount count check unit 921 that checks whether the integrated data transfer amount of a process including the job process 702 activated by the job process 702 itself has reached a threshold value.
The job child process 703-L includes a transfer amount count check unit 931 for checking whether the integrated data transfer amount of a process including the job process 702 started by the job process 702 has reached a threshold value.

【0089】次に本発明の第9の実施例について図面を
参照して詳細に説明する。
Next, a ninth embodiment of the present invention will be described in detail with reference to the drawings.

【0090】本発明の第9の実施例の動作の特徴を図1
2を参照して第8の実施例の動作と異なる部分として詳
細に説明する。
FIG. 1 shows the operation of the ninth embodiment of the present invention.
The operation of the eighth embodiment will be described in detail with reference to FIG.

【0091】図12を参照すると、本発明の第9の実施
例では、まず、データ転送量カウント手段901を説明
する。キャッシュミスヒットを解決するコポーネントで
あるキャッシュ管理手段は前述のように、キャッシュミ
ス時に、計算機プール4中に存在するファイルサーバか
ら必要なファイル、あるいはその部分を転送しようとす
る。ここでキャッシュミス回数と同時にプロセス単位の
データ転送量を保持したり、プロセスをグループ管理し
て、グループ単位でキャッシュミス回数をカウントす
る。ここでは、ジョブを処理する過程で発生するデータ
転送量に着目し、グループ単位でデータ転送量を管理す
る。
Referring to FIG. 12, in the ninth embodiment of the present invention, the data transfer amount counting means 901 will be described first. As described above, the cache management means, which is a component for resolving a cache miss, attempts to transfer a necessary file or a part thereof from a file server existing in the computer pool 4 at the time of a cache miss. Here, the data transfer amount for each process is held at the same time as the number of cache misses, or the process is managed as a group, and the number of cache misses is counted for each group. Here, paying attention to the data transfer amount generated in the process of processing the job, the data transfer amount is managed on a group basis.

【0092】その他の特徴は、転送量カウントチェック
手段921と転送量カウントチェック手段931である
が、これらは各々しきい値のチェック対象をデータ転送
量に変更したものである。
The other features are a transfer amount count checking means 921 and a transfer amount count checking means 931. These are respectively changed threshold value check targets to data transfer amounts.

【0093】次に第10の実施例について図面を参照し
て詳細に説明する。
Next, a tenth embodiment will be described in detail with reference to the drawings.

【0094】図13を参照すると、本発明の第10の実
施例は、第7の実施例に基いて、ジョブプロセス702
は、資源監視プロセス1001を生成起動する資源監視
プロセス生成起動手段1011と、該資源監視プロセス
生成起動手段1011で生成した資源監視プロセス10
01を終了させる資源監視プロセス終了手段1012と
を有し、資源監視プロセス1001は、ジョブプロセス
702を親とするプロセスグループの消費資源を監視す
る資源監視手段1013と、該資源監視手段1013で
資源消費が著しいと判断した場合ジョブプロセス702
に中断指示を送出する中断指示手段713とを有する。
Referring to FIG. 13, a tenth embodiment of the present invention is based on the
Is a resource monitoring process generation and activation unit 1011 that generates and activates the resource monitoring process 1001, and the resource monitoring process 10 that is generated by the resource monitoring process generation and activation unit 1011.
01, the resource monitoring process 1001 monitors resource consumption of a process group having the job process 702 as a parent, and the resource monitoring process 1013 terminates resource consumption. If the job process 702 is determined to be remarkable,
And an interruption instruction means 713 for transmitting an interruption instruction to the CPU.

【0095】次に本発明の第10の実施例の動作につい
て図13を参照して詳細に説明する。
Next, the operation of the tenth embodiment of the present invention will be described in detail with reference to FIG.

【0096】本発明の第10の実施例の動作の特徴を図
13を参照して第7の実施例の動作と異なる部分として
以下に説明する。
The features of the operation of the tenth embodiment of the present invention will be described below with reference to FIG. 13 as parts different from the operation of the seventh embodiment.

【0097】図13を参照すると、本発明の第10の実
施例の特徴部分では、ジョブプロセス702は、資源監
視プロセス生成起動手段1011によって資源監視プロ
セス1001を生成起動する。
Referring to FIG. 13, in the characteristic portion of the tenth embodiment of the present invention, the job process 702 generates and starts the resource monitoring process 1001 by the resource monitoring process generation and start means 1011.

【0098】処理継続手段723によって、ジョブを中
断する必要があると判断した場合、資源管理プロセス終
了手段1012によって、資源監視プロセス1001を
終了させる。その後、直ちにジョブプロセス中断手段7
24を起動し、ジョブプロセスの中断処理に入る。
If the processing continuation unit 723 determines that the job needs to be interrupted, the resource monitoring process 1001 is terminated by the resource management process termination unit 1012. Then, immediately, the job process suspending means 7
24 to start the job process interruption processing.

【0099】また、処理継続手段723によってジョブ
が完了したと判断した場合、資源監視プロセス終了手段
1012によって、資源監視プロセス1001を終了さ
せる。その後、直ちにジョブ終了コード送信手段726
でジョブ終了コードをジョブ先導プロセス101に通知
する。
When the processing continuation unit 723 determines that the job has been completed, the resource monitoring process ending unit 1012 ends the resource monitoring process 1001. Then, immediately, the job end code transmitting unit 726
To notify the job leading process 101 of the job end code.

【0100】資源監視プロセス1001は、資源監視手
段1013を一定時間毎に起動する。この資源監視手段
1013はジョブプロセス702を親とするプロセスグ
ループの消費資源を監視する役割を果たす。消費資源と
して、CPU消費時間、メモリ消費量、ディスク使用率
など、プロセス毎の情報をプロセスグループ単位で積算
し、統計的にデータ保持する。本資源監視手段1013
では、このように収集した情報を解析し、長時間資源使
用率が著しく高い場合、計算機20での実行が非効率的
であり、より高い計算能力や計算機諸元を豊富に有する
計算機プール4内のいずれかの計算機1−Mを選択し、
残りのスクリプトを実行させるべく、ジョブプロセス7
02にジョブの中断要求を中断指示手段713を使って
送信する。この中断指示手段713には付加情報として
中断するべき、という判断に至った理由をつけて通知す
ることで、ジョブプロセス702の中断完了通知手段7
25はジョブ先導プロセス101にその情報を渡せる。
ジョブ先導プロセス101は中断理由を受取ると、プロ
セス転送方式内で使用するジョブサーバ選択方式でこの
中断理由に従ったサーバ選択が可能となる。例えば、メ
モリ過負荷が中断の理由であればメモリ実装が大きい計
算機を選択する際の条件にするなどである。
The resource monitoring process 1001 activates the resource monitoring means 1013 at regular intervals. The resource monitoring unit 1013 plays a role of monitoring the consumed resources of the process group having the job process 702 as a parent. Information on each process, such as CPU consumption time, memory consumption, disk usage rate, etc., is accumulated for each process group as consumption resources, and data is statistically held. Resource monitoring means 1013
Then, the information collected in this way is analyzed, and if the long-term resource utilization is extremely high, the execution on the computer 20 is inefficient, and the computer pool 4 having higher computational power and abundant computer specifications is provided. Select one of the calculators 1-M,
Job process 7 to execute the rest of the script
In step 02, a job interruption request is transmitted using the interruption instruction unit 713. The interruption instructing unit 713 is notified with a reason for determining that it should be interrupted as additional information.
25 can pass the information to the job leading process 101.
When the job leading process 101 receives the reason for interruption, it becomes possible to select a server according to the reason for interruption in the job server selection method used in the process transfer method. For example, if the memory overload is a reason for interruption, a condition for selecting a computer with a large memory implementation may be used.

【0101】[0101]

【発明の効果】本発明の効果として、ジョブの実行に必
要なファイルを有する計算機に対して弱い結合状態にあ
る計算機からのジョブ実行要求が、より強い結合状態に
ある計算機に対して自動的に依頼され実行されるため、
弱い結合状態にある計算機の通信ネックが緩和され、か
つジョブ実行が高速に行われることになる。また、利用
者にはジョブの実行がどの計算機で行われているかは透
過となり、分散ジョブサービスがあたかもローカルなマ
シン上で実行されるようなユーザビューを提供できる。
すなわち、ユーザはジョブ実行が行われている計算機を
意識する必要なく、透過的にジョブ実行する計算機が選
ばれ、ジョブ処理される。また、そのジョブ処理に際し
ても、ユーザはあたかも手元にある計算機でジョブが実
行しているかの使い勝手を享受でき、バッチ処理依頼と
いう手続きをふまなくて良い。また、これらジョブ処理
を会話的に進めることができ、必要に応じて処理をスト
ップさせたり、終了させることもできる。さらに、この
技術を使えば、ジョブ処理のための従来からあるコマン
ド群が無修正で使用でき、資産の有効利用を図ることが
できる。また、自計算機がジョブ実行に必要なだけの処
理性能を有しており、かつ、通信上のボトルネックが発
生しない場合は、ジョブを転送せず、自分自身で処理を
行うため、システム全体の負荷分散につながり、かつ高
速な計算機を有効に利用することができる。
As an effect of the present invention, a job execution request from a computer in a weak connection state to a computer having a file necessary for executing a job is automatically sent to a computer in a stronger connection state. To be requested and executed,
The communication bottleneck of a computer in a weakly connected state is alleviated, and job execution is performed at high speed. Further, it is transparent to the user on which computer the job is being executed, and it is possible to provide a user view as if the distributed job service is executed on a local machine.
That is, the user does not need to be aware of the computer on which the job is being executed, and the computer that executes the job transparently is selected and the job is processed. Also, in the job processing, the user can enjoy the usability as if the job is being executed on the computer at hand, and does not need to perform the procedure of batch processing request. In addition, these job processes can proceed interactively, and the processes can be stopped or terminated as necessary. Furthermore, if this technique is used, a conventional command group for job processing can be used without modification, and effective use of assets can be achieved. In addition, if the own computer has the processing performance necessary for job execution and there is no communication bottleneck, the job is not transferred and processing is performed by itself. It is possible to effectively utilize a high-speed computer which leads to load distribution.

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

【図1】本発明に適用されるシステムを示す図FIG. 1 is a diagram showing a system applied to the present invention;

【図2】本発明の第1の実施例を示す図FIG. 2 is a diagram showing a first embodiment of the present invention.

【図3】計算機状態表の一例を示す図FIG. 3 shows an example of a computer status table.

【図4】本発明の第2の実施例を示す図FIG. 4 is a diagram showing a second embodiment of the present invention.

【図5】本発明の第3の実施例を示す図FIG. 5 is a diagram showing a third embodiment of the present invention.

【図6】本発明の第4の実施例から第10の実施例に適
用される構成を示す図
FIG. 6 is a diagram showing a configuration applied to the fourth to tenth embodiments of the present invention.

【図7】本発明の第4の実施例を示す図FIG. 7 is a diagram showing a fourth embodiment of the present invention.

【図8】本発明の第5の実施例を示す図FIG. 8 is a diagram showing a fifth embodiment of the present invention.

【図9】本発明の第6の実施例を示す図FIG. 9 is a diagram showing a sixth embodiment of the present invention.

【図10】本発明の第7の実施例を示す図FIG. 10 is a diagram showing a seventh embodiment of the present invention.

【図11】本発明の第8の実施例を示す図FIG. 11 is a diagram showing an eighth embodiment of the present invention.

【図12】本発明の第9の実施例を示す図FIG. 12 is a diagram showing a ninth embodiment of the present invention.

【図13】本発明の第10の実施例を示す図FIG. 13 is a diagram showing a tenth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 計算機 2 計算機 3 通信路 4 計算機プール 5 高速通信路 6 低速通信路 7 分散ファイルシステム 1−1 計算機 1−2 計算機 1−M 計算機(1≦M≦N) 1−N 計算機 20 計算機 101 ジョブ先導プロセス 102 通信プロセス 103 ジョブ管理プロセス 104 ジョブプロセス 111 ジョブ起動要求受付手段 112 通信プロセス生成手段 113 ジョブ終了コード受信手段 121 ジョブ起動条件獲得手段 122 ジョブ管理プロセス生成手段 123 ジョブ起動条件送信手段 124 通信プロセス待ち合わせ手段 125 出力手段 126 入力データ送信手段 127 終了コード通信手段 131 ジョブ起動条件受信手段 132 ジョブプロセス生成手段 133 ジョブ管理プロセス待ち合わせ手段 134 データ入力手段 135 出力データ送信手段 136 終了コード転送手段 211 ジョブ制御シグナル獲得手段 212 ジョブ制御シグナル転送手段 213 シグナル受信状態受信手段 214 シグナル受信状態表示手段 221 ジョブ制御シグナル受信手段 222 シグナル送出手段 223 シグナル受信状態検知手段 224 シグナル受信状態送信手段 301 計算機状態表 311 状態監視手段 312 決定要求受信手段 313 ジョブサーバ決定手段 314 決定通知手段 321 決定要求送信手段 322 決定受信手段 411 計算機状態問い合わせ手段 511 個別転送ジョブ登録手段 512 個別転送ジョブチェック手段 611 共通転送ジョブ登録手段 612 共通転送ジョブチェック手段 702 ジョブプロセス 703−L ジョブ子プロセス 711 ジョブ先導プロセス待ち合わせ手段 712 ジョブプロセス起動手段 713 中断指示手段 721 ジョブ子プロセス起動手段 722 ジョブプロセス待ち合わせ手段 723 処理継続判断手段 724 ジョブプロスセ中断手段 725 中断完了通知手段 726 ジョブ終了コード送信手段 727 中断指示マーク手段 731 完了通知手段 801 キャッシュミスヒットカウント手段 811 転送ジョブチェック手段 812 転送ジョブ登録手段 821 ミスヒットカウントチェック手段 831 ミスヒットカウントチェック手段 901 データ転送量カウント手段 921 転送量カウントチェック手段 931 転送量カウントチェック手段 1001 資源監視プロセス 1011 資源監視プロセス生成起動手段 1012 資源監視プロセス終了手段 1013 資源監視手段 Reference Signs List 1 computer 2 computer 3 communication path 4 computer pool 5 high-speed communication path 6 low-speed communication path 7 distributed file system 1-1 computer 1-2 computer 1-M computer (1 ≦ M ≦ N) 1-N computer 20 computer 101 job leading Process 102 Communication process 103 Job management process 104 Job process 111 Job start request receiving means 112 Communication process generating means 113 Job end code receiving means 121 Job starting condition obtaining means 122 Job management process generating means 123 Job starting condition transmitting means 124 Communication process waiting Means 125 Output means 126 Input data transmission means 127 End code communication means 131 Job start condition receiving means 132 Job process generation means 133 Job management process waiting means 134 Data input means 13 Output data transmission means 136 End code transfer means 211 Job control signal acquisition means 212 Job control signal transfer means 213 Signal reception status reception means 214 Signal reception status display means 221 Job control signal reception means 222 Signal transmission means 223 Signal reception status detection means 224 Signal reception status transmission means 301 Computer status table 311 Status monitoring means 312 Decision request reception means 313 Job server determination means 314 Decision notification means 321 Decision request transmission means 322 Decision reception means 411 Computer status inquiry means 511 Individual transfer job registration means 512 Individual transfer Job check means 611 Common transfer job registration means 612 Common transfer job check means 702 Job process 703-L Job child process 711 Job destination Process waiting means 712 Job process starting means 713 Interruption instructing means 721 Job child process starting means 722 Job process waiting means 723 Processing continuation judging means 724 Job process interrupting means 725 Interruption completion notifying means 726 Job end code transmitting means 727 Interruption instructing mark means 731 Completion Notification means 801 Cache mishit count means 811 Transfer job check means 812 Transfer job registration means 821 Mishit count check means 831 Mishit count check means 901 Data transfer quantity count means 921 Transfer quantity count check means 931 Transfer quantity count check means 1001 Resources Monitoring process 1011 resource monitoring process generation and activation means 1012 resource monitoring process ending means 1013 resource Monitoring means

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1の計算機およびこの第1の計算機に
接続されたリモートの第2の計算機を含むシステムであ
って、 前記第1の計算機上の通信プロセス、ジョブ起動条件
を獲得するジョブ起動条件獲得手段と、 前記第2の計算機上にジョブ管理プロセスを生成するジ
ョブ管理プロセス生成手段と、 このジョブ管理プロセス生成手段で生成されたジョブ管
理プロセスに前記ジョブ起動条件獲得手段で獲得された
ジョブ起動条件を送信するジョブ起動条件送信手段と、 前記ジョブ管理プロセスからの出力データの受信,終了
コードの受信または自通信プロセスの標準入力ファイル
からの入力を待つ通信プロセス待ち合わせ手段と、 この通信プロセス待ち合わせ手段で標準入力ファイルか
らの入力を受信した場合、入力したデータをジョブ管理
プロセスに送信する入力データ送信手段とを含み、 前記第2の計算機上のジョブ管理プロセス、前記通信
プロセスから送信されるジョブ起動条件を受信するジョ
ブ起動条件受信手段と、 このジョブ起動条件受信手段で受信したジョブ起動条件
に基づいてジョブ実行のプロセスを生成起動するジョブ
プロセス生成手段と、 前記入力データ送信手段からの入力データの受信,ジョ
ブプロセスの終了コードの受信または該ジョブプロセス
の標準/エラー出力ファイルへの出力データの受信を待
つジョブ管理プロセス待ち合わせ手段と、 このジョブ管理プロセス待ち合わせ手段で前記入力デー
タ送信手段からの入力データを受信した場合、該入力デ
ータをジョブプロセスの標準入力ファイルに入力するデ
ータ入力手段と、 前記ジョブ管理プロセス待ち合わせ手段で標準/エラー
出力ファイルへの出力を受信した場合、受信したデータ
を前記通信プロセス待ち合わせ手段に送信する出力デー
タ送信手段と、 前記ジョブ管理プロセス待ち合わせ手段でジョブプロセ
スの終了コードを受信した場合、前記通信プロセス待ち
合わせ手段に該終了コードを転送する終了コード転送手
段とを含むことを特徴とする分散処理システム。
1. A first computer and the job be the first system including a computer connected to a second computer for remote communication process on the first computer, to obtain a job start conditions Start condition obtaining means; a job management process generating means for generating a job management process on the second computer; and a job management process generated by the job management process generating means obtained by the job start condition obtaining means. A job start condition transmitting unit for transmitting a job start condition; a communication process waiting unit for waiting for reception of output data from the job management process, reception of an end code, or input from a standard input file of the own communication process; When the input from the standard input file is received by the waiting means, the input data is Wherein the input data transmission means for transmitting to the process, the job management process on the second computer, and the job start condition receiving means for receiving the job start condition sent from the communication process, the job start condition receiving means A job process generating means for generating and starting a job execution process based on the job starting condition received in step 1, receiving input data from the input data transmitting means, receiving an end code of the job process, or standard / error of the job process A job management process queuing unit that waits for reception of output data to an output file; and when the job management process queuing unit receives input data from the input data transmission unit, inputs the input data to a standard input file of the job process. Data input means for executing the job management process. When the output to the standard / error output file is received by the job queuing means, the output data transmitting means for transmitting the received data to the communication process queuing means; and the job management process queuing means receives the end code of the job process. In a case, the distributed processing system includes an end code transfer unit that transfers the end code to the communication process waiting unit.
【請求項2】 前記通信プロセス、ジョブに対し前記
第1の計算機上で発生するジョブ制御シグナルを受信す
るジョブ制御シグナル獲得手段と、 このジョブ制御シグナル獲得手段で獲得されたジョブ制
御シグナルを前記ジョブ管理プロセスに転送するジョブ
制御シグナル転送手段と、 ジョブプロセスのシグナル受信状態を受信するシグナル
受信状態受信手段と、 このシグナル受信状態受信手段で受信したシグナル受信
状態を自通信プロセスのエラー出力ファイルに表示する
シグナル受信状態表示手段とを含み、 前記ジョブ管理プロセス、前記通信プロセスのジョブ
制御シグナル転送手段により転送されたジョブ制御シグ
ナルを受信するジョブ制御シグナル受信手段と、 このジョブ制御シグナル受信手段で受信したジョブ制御
シグナルをジョブプロセスに送出するシグナル送出手段
と、 前記ジョブプロセスが受けたシグナルの受信状態を検知
するシグナル受信状態を検知するシグナル受信状態検知
手段と、 このシグナル受信状態検知手段によって検知したジョブ
プロセスのシグナル受信状態を前記シグナル受信状態受
信手段に送信するシグナル受信状態送信手段とを含むこ
とを特徴とする請求項1記載の分散処理システム。
2. The communication process according to claim 1, wherein the communication process receives a job control signal generated on the first computer for the job, the job control signal acquiring means receiving the job control signal acquired by the job control signal acquiring means. job management and job control signals transfer means for transferring the process, and the signal reception state receiving means for receiving a signal reception state of the job process, error output file of its own communication process the signal reception state received in the signal receiving state receiving means and a signal receiving state display means for displaying the job management process, a job control signal receiving means for receiving the transferred job control signals by the job control signal transfer means of the communication process, the job control signal receiving means The job control signal received by A signal sending means for sending to the job process; a signal receiving state detecting means for detecting a signal receiving state for detecting a signal receiving state received by the job process; and a signal receiving state of the job process detected by the signal receiving state detecting means. 2. The distributed processing system according to claim 1, further comprising: a signal receiving state transmitting unit that transmits the signal receiving state to the signal receiving state receiving unit.
JP32713793A 1993-12-24 1993-12-24 Distributed processing system Expired - Fee Related JP2630239B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32713793A JP2630239B2 (en) 1993-12-24 1993-12-24 Distributed processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32713793A JP2630239B2 (en) 1993-12-24 1993-12-24 Distributed processing system

Publications (2)

Publication Number Publication Date
JPH07182295A JPH07182295A (en) 1995-07-21
JP2630239B2 true JP2630239B2 (en) 1997-07-16

Family

ID=18195733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32713793A Expired - Fee Related JP2630239B2 (en) 1993-12-24 1993-12-24 Distributed processing system

Country Status (1)

Country Link
JP (1) JP2630239B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4577343B2 (en) * 2007-09-13 2010-11-10 日本電気株式会社 Computer system and job step parallel processing method
JP6255926B2 (en) * 2013-11-13 2018-01-10 富士通株式会社 Monitoring control program, monitoring control method, and monitoring control apparatus

Also Published As

Publication number Publication date
JPH07182295A (en) 1995-07-21

Similar Documents

Publication Publication Date Title
EP3851956B1 (en) Method and apparatus for accelerating cold-starting of application
US8359595B2 (en) Generic application server and method of operation therefor
CN107729559B (en) Method, system, device and storage medium for database read and write asynchronous access
JP2021511588A (en) Data query methods, devices and devices
CN116048425B (en) A layered cache method, system and related components
US9390036B2 (en) Processing data packets from a receive queue in a remote direct memory access device
CN111190745A (en) A data processing method, apparatus and computer readable storage medium
US11836047B2 (en) Small file restore performance in a deduplication file system
JP4233635B2 (en) Apparatus and method for providing persistence to an application interface
WO2024037629A1 (en) Data integration method and apparatus for blockchain, and computer device and storage medium
WO2024007934A1 (en) Interrupt processing method, electronic device, and storage medium
US11829262B2 (en) File restore performance using a file handler to disassociate prefetch and read streams
WO2021164163A1 (en) Request processing method and apparatus, device and storage medium
CN115934316A (en) Database-based task processing method, device, equipment and storage medium
CN111737027A (en) Lookup processing method, system, terminal and storage medium of distributed storage system
CN113014608A (en) Flow distribution control method and device, electronic equipment and storage medium
JP2630239B2 (en) Distributed processing system
US11836054B2 (en) File restore performance in a deduplication file system using adaptive prefetching
CN111428171B (en) Interface call processing method and system
WO2025156807A1 (en) Task message transmission method and apparatus, and electronic device, storage medium and program product
CN117909087B (en) Data processing method and device, central processing unit and electronic equipment
CN117407183B (en) Inter-thread communication method and electronic device
US11841775B2 (en) File restore performance using adaptive prefetching and DDBoost application programming interfaces
CN110489358A (en) A kind of interaction control method and device systems
US20060242258A1 (en) File sharing system, file sharing program, management server and client terminal

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970304

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080418

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090418

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100418

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees