JPH04188234A - No response supervisory system in multi-job system - Google Patents

No response supervisory system in multi-job system

Info

Publication number
JPH04188234A
JPH04188234A JP2316948A JP31694890A JPH04188234A JP H04188234 A JPH04188234 A JP H04188234A JP 2316948 A JP2316948 A JP 2316948A JP 31694890 A JP31694890 A JP 31694890A JP H04188234 A JPH04188234 A JP H04188234A
Authority
JP
Japan
Prior art keywords
job
response
time
packet
child
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.)
Granted
Application number
JP2316948A
Other languages
Japanese (ja)
Other versions
JP2919057B2 (en
Inventor
Yoshio Kariya
刈谷 善雄
Akira Takahashi
明 高橋
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP2316948A priority Critical patent/JP2919057B2/en
Publication of JPH04188234A publication Critical patent/JPH04188234A/en
Application granted granted Critical
Publication of JP2919057B2 publication Critical patent/JP2919057B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To judge the no response of an opposite job at optimum time and to make a whole system efficient by permitting a job on a supervising side to judge no response with elapse time as a reference by means of considering the state of a supervised job at the same time. CONSTITUTION:A job supervisory means 21 which exists in a slave job 2 and which supervises the job state of the slave job 2 including a transmission waiting state from a master job 1 and a transmission preparing state for the master job 1, and packet transmission/reception means 11 and 24 transmitting/receiving data between the jobs 1 and 2 are included. A response transmission means 25 existing in the slave job 2 and transmitting the job state of the slave job 2, the job name of the slave job 2 and a sequence number to the master job 1 after prescribed time which is uniquely decided in the program elapses after the transmission/reception of a packet is included. Furthermore, the system is composed by including a termination notice means 23 transmitting the packet of processing termination notice when a processing terminates and a no response supervisory means 14 which exists in the master job 1 and which judges no response from time which is uniquely decided in the program and from the job state of the slave job 2 included in the transmission packet from the slave job 2. Thus, no response judgement time can be judged in optimum time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複数のジョブが相互に関連して同時に動作し
て一つのシステムを構成するマルチジョブシステムにお
ける無応答監視方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a non-response monitoring method in a multi-job system in which a plurality of jobs operate simultaneously in relation to each other to constitute one system.

〔従来の技術〕[Conventional technology]

従来、この種のマルチジョブシステムにおける無応答監
視方式は、親ジョブが子ジョブがら応答を返してくれる
かをチエツクし、応答を返さなくてはならない状態なら
ば、直前に対応するジョブとの間で送受信があった時刻
と現在の時刻とを比べ、族ジョブ起動時に設定した無応
答判定時間が過ぎていれば、無応答と判断する方式をと
っている。
Conventionally, the non-response monitoring method in this type of multi-job system has been to check whether the parent job returns a response from its child jobs, and if it is in a state where a response must be returned, the connection with the previous corresponding job is The system compares the time of transmission and reception with the current time and determines that there is no response if the non-response determination time set at the time of starting the family job has passed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述したように、従来のマルチジョブシステムにおける
無応答監視方式は、親ジョブが勝手に無応答を決定して
しまうので、子ジョブが利用者の応答待ちや、外部ファ
イルの入出力待ちといった外部に依存している状態と、
自ジョブ内でループ処理状態に陥ってしまったような異
常な状態とを同じ判断基準で無応答の判断を行なってい
る。そのため、無応答判断時間を多めにとると、自ジョ
ブがループ処理に陥ってしまった場合長い時間そのこと
に気がつかず無駄が多く、また無応答判断時間を短めに
とると、外部処理に依存している場合や利用者に制御が
渡ってなかなか返ってこない場合に、正常処理中なのに
無応答にされてしまったりするという不都合が生ずると
いう欠点がある。
As mentioned above, in the non-response monitoring method in conventional multi-job systems, the parent job automatically decides to not respond. the state of dependence,
No-response is determined using the same criteria as for abnormal conditions such as loop processing within the job itself. Therefore, if the non-response judgment time is set too long, if the own job falls into a loop process, it will not notice it for a long time and there will be a lot of waste, and if the non-response judgment time is set too short, it will depend on external processing. There is a drawback that if the control is handed over to the user and the control is not returned for a long time, there will be an inconvenience that no response will be made even though normal processing is in progress.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマルチジョブシステムにおける無応答監視方式
は、複数のジョブが一つの機能を実現するために相互に
関連して動作し、一定の期間において監視する側の親ジ
ョブと監視される側の子ジョブに分かれるマルチジョブ
システムにおける無応答監視方式において、子ジョブ内
に存在し少なくとも親ジョブからの送信待ち状態および
親ジョブへの送信準備中状態を含む子ジョブのジョブ状
態を監視するジョブ監視手段と、ジョブ間のデータの送
受信を行うパケット送受信手段と、子ジョブ内に存在し
パケットの送受信後プログラム内で一意に決定される一
定の時間の経過後に自動的に制御が渡され子ジョブのジ
ョブ状態と子ジョブのジョブ名とシーケンス番号とを親
ジョブに送信する応答送信手段と、子ジョブ内に存在し
処理の終了時に処理終了通知のパケットを送信する終了
通知手段と、親ジョブ内に存在しプログラム内で一意に
決めた時間および子ジョブからの送信パケットに含まれ
る子ジョブのジョブ状態から無応答の判断を行う無応答
監視手段とを有することにより構成される。
In the non-response monitoring method in the multi-job system of the present invention, a plurality of jobs operate in conjunction with each other to realize one function, and a parent job on the monitoring side and a child job on the monitored side operate in a fixed period of time. In a non-response monitoring method in a multi-job system divided into jobs, job monitoring means exists in a child job and monitors job states of the child job including at least a state of waiting for transmission from a parent job and a state of preparing for transmission to the parent job. , a packet transmitting/receiving means for transmitting and receiving data between jobs, and a packet transmitting/receiving means that exists in a child job and controls the job status of the child job by automatically passing control after a certain period of time uniquely determined within the program after transmitting and receiving packets. a response sending means that sends the job name and sequence number of the child job to the parent job; a completion notification means that exists in the child job and sends a processing end notification packet when processing ends; The non-response monitoring means is configured to determine non-response based on a time uniquely determined within the program and the job status of the child job included in the packet sent from the child job.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成図で、マルチジョブシ
ステムが無応答を監視する親ジョブ1と無応答を監視さ
れる子ジョブ2との二つのジョブにより構成されている
場合を示している。ジョブ状態監視手段21は子ジョブ
2の状態の変化時にジョブ状態情報格納エリア22の内
容を更新する手段である。終了通知手段23はパケット
にジョブ識別子と終了通知情報とをセットして、パケッ
ト送受信手段24によって親ジョブ1にパケットを送信
させる手段であるニパケット送受信手段11および24
はどのジョブからも書込み可能なジョブに付随している
エリアで、そのエリアに書込まれるとそのエリアを持っ
ているジョブに書込まれた旨が通知されるジョブ間のメ
ールボックスを利用したパケットの送信/受信を行なう
手段である。応答送信手段25は子ジョブがその初期処
理段階で、応答準備中状態の無応答判定基準時間b1よ
り大きく、かつ利用者処理中状態と外部入出山中状態と
の無応答判定基準時間b2より小さい適当な時間e、を
定め、時間e1が経過すると他の処理の途中で制御が渡
され、子ジョブのジョブ名とシーケンス番号とジョブ状
態情報格納エリア22から読取ったジョブ状態とをパケ
ット送受信手段24を介して親ジョブ1へ送信する手段
である。最終応答時刻格納エリア12は子ジョブ2から
最後にパケットの受信があった時刻を記憶するエリアで
あり、ジョブ状態情報格納エリア13は、子ジョブ2か
らジョブ状態を含むパケットを受信したときに、そのジ
ョブ状態に従って更新し格納しておくエリアである。無
応答監視手段14は子ジョブのパケット送信動作とは非
同期に動作する親ジョブが、親ジョブ内で一意に設定さ
れた時間e2間隔で呼出され、子ジョブのジョブ状態と
最終のパケット受信時刻とから無応答のチエツクを行な
う手段で、無応答の判断基準はパラメータ入力され、応
答準備中状態に対して応答準備中の無応答判定基準時間
blが用いられ、利用者処理中または外部入出山中状態
に対してはこの両状態のための無応答判定基準時間b2
が用いられる。
FIG. 1 is a configuration diagram of an embodiment of the present invention, showing a case where a multi-job system is composed of two jobs: a parent job 1 that monitors non-responses, and a child job 2 that monitors non-responses. ing. The job status monitoring means 21 is a means for updating the contents of the job status information storage area 22 when the status of the child job 2 changes. The end notification means 23 sets a job identifier and end notification information in a packet, and causes the packet transmission and reception means 24 to send the packet to the parent job 1.
is an area attached to a job that can be written to by any job, and when data is written to that area, a packet using a mailbox between jobs is notified that the job that owns that area has been written to. It is a means for transmitting/receiving information. The response transmitting means 25 is configured so that the child job, at its initial processing stage, is set to an appropriate time that is larger than the non-response judgment reference time b1 in the response preparation state and smaller than the non-response judgment reference time b2 in the user processing state and the external entry/exit mountaineering state. After time e1 has elapsed, control is passed in the middle of another process, and the job name, sequence number, and job status read from the job status information storage area 22 of the child job are sent to the packet transmitting/receiving means 24. This is means for transmitting to the parent job 1 via the parent job 1. The last response time storage area 12 is an area for storing the time when a packet was last received from the child job 2, and the job status information storage area 13 is an area for storing the time when a packet including the job status was received from the child job 2. This area is updated and stored according to the job status. The non-response monitoring means 14 is configured so that the parent job, which operates asynchronously with the packet transmission operation of the child job, is called at an interval e2 uniquely set within the parent job, and the job status of the child job and the last packet reception time are monitored. This is a means of checking for non-response from the system.The criterion for determining non-response is input as a parameter, and the non-response judgment criterion time bl is used for the response-preparing state. For these two states, the non-response judgment reference time b2
is used.

第2図は無応答監視手段14の処理のフローチャートで
、第2図を参照して無応答監視手段14の処理について
説明を進める。この手段はあるタイミングから一定時間
e2を経過すると、親ジョブの処理の途中でも自動的に
制御が渡され、本手段の終了時にまた元の処理に戻るサ
ブルーチンである。ステップ■からステップ■までジョ
ブ状態情報格納エリア13により子ジョブの状態をチエ
ツクし、応答作業中であればステップ■がらステップ■
で最終送受信時刻から現時刻までに一定時間す、が経過
しているがどうがをチエツクし、経過していればステッ
プ■で”無応答である”のジョブ状況をエリアRに格納
する。親ジョブはエリアRを参照し親ジョブの処理に従
った無応答処理を実施する。また、子ジョブのジョブ状
態が利用者処理中または外部入出力中であれば、ステッ
プ■以降で最終送受信時刻がら現時刻までで−゛定時間
す、が経過しているがどうがをチエツクし、経過してい
ればステップ■で”無応答である”のジョブ状況をエリ
アRに格納する。ステップ■で時間が経過していないな
らばステップ■で“無応答でない′とジョブ状況をエリ
アRに格納する。最後に、ステップ[相]で再度この手
順がコールされるようにコール時間e2をシステムに宣
言する。
FIG. 2 is a flowchart of the processing of the no-response monitoring means 14, and the processing of the no-response monitoring means 14 will be explained with reference to FIG. This means is a subroutine in which control is automatically handed over even during the processing of the parent job when a certain time e2 has elapsed from a certain timing, and when the means ends, the original processing returns again. The status of the child job is checked in the job status information storage area 13 from step ■ to step ■, and if response work is in progress, step ■ returns to step ■.
Then, it is checked whether a certain period of time has elapsed from the last transmission/reception time to the current time, and if it has elapsed, the job status of "no response" is stored in area R at step (2). The parent job refers to area R and performs no-response processing according to the processing of the parent job. Also, if the job status of the child job is in user processing or external input/output, check whether a certain amount of time has elapsed from the last sending/receiving time to the current time after step ①. , if it has elapsed, the job status of "no response" is stored in area R at step (3). If the time has not elapsed in step ■, the job status is stored in area R as “No response” in step ■.Finally, in step [phase], the call time e2 is set so that this procedure is called again. Declare to the system.

第3図は応答送信手段25の処理のフローチャートで、
第3図を参照して応答送信手段25の動作について説明
を進める。この手段はあるタイミングから一定時間e】
経過すると、子ジョブの処理の途中でも自動的に制御が
渡され、本手段の終了時に愛な元の処理に戻るサブルー
チンで、子ジョブ2のジョブ状態を親ジョブ1に送信す
ることによって、子ジョブ2が異常終了せずに動作中で
あることを通知するものである。まず、ステップ■で送
信用パケットにジョブ状態情報格納エリア22からジョ
ブ状態情報をセットし、ステップ@で子ジョブのジョブ
名とシーケンス番号とをパケットの識別子としてセット
し、ステップ■でパケット送受信手段をコールしてパケ
ットを送信する。最後に、ステップ[株]で再度この手
段がコールされるように、コール時間e1をセットする
FIG. 3 is a flowchart of the processing of the response transmitting means 25.
The operation of the response transmitting means 25 will be explained with reference to FIG. This method is used for a certain period of time e]
When the time has elapsed, control is automatically passed even during the processing of the child job, and in the subroutine that returns to the original processing at the end of this means, the job status of child job 2 is sent to parent job 1. This is to notify that job 2 is running without abnormally ending. First, in step ■, job status information is set in the transmission packet from the job status information storage area 22, in step @, the job name and sequence number of the child job are set as the packet identifier, and in step ■, the packet transmitting/receiving means is set. call and send a packet. Finally, the call time e1 is set so that this means is called again in step [stock].

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

以上説明したように本発明は、相互に関連して機能を実
現し、監視する側のジョブと監視される側のジョブとが
存在するマルチジョブシステムにおいて、監視されるジ
ョブの状態も同時に考慮に入れて、監視する側のジョブ
が経過時間を基準に無応答の判断をしているので、子ジ
ョブが単独に動作するものでなく利用者とインタフェー
スをもって動作していたり、子ジョブが外部ファイルの
入出力に多くの時間がかかる処理をもっていても、最適
な時間で相手ジョブの無応答を判断でき、システム全体
の効果率が図られる効果がある。
As explained above, the present invention realizes functions in relation to each other, and in a multi-job system in which a job on the monitoring side and a job on the monitored side exist, the status of the job to be monitored is also taken into consideration at the same time. The job on the monitoring side judges whether there is no response based on the elapsed time, so the child job does not operate independently but with an interface with the user, or the child job is connected to an external file. Even if there is a process that requires a lot of time for input/output, it is possible to determine whether the other job is not responding in an optimal time, and this has the effect of increasing the efficiency of the entire system.

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

第1図は本発明の一実施例の構成図、第2図は第1図の
無応答監視手段の処理のフローチャート、第3図は第1
図の応答送信手段の処理のフローチャートである。 1・・・親ジョブ、2・・・子ジョブ、11.24・・
・パケット送受信手段、12・・・最終応答時刻格納エ
リア、13.22・・・ジョブ状態情報格納エリア、1
4・・・無応答監視手段、21・・・ジョブ状態監視手
段、23・・・終了通知手段、25・・・応答送信手段
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart of the processing of the non-response monitoring means of FIG. 1, and FIG.
It is a flowchart of the process of the response transmission means of a figure. 1... Parent job, 2... Child job, 11.24...
-Packet transmitting/receiving means, 12...Last response time storage area, 13.22...Job status information storage area, 1
4... Non-response monitoring means, 21... Job status monitoring means, 23... End notification means, 25... Response sending means.

Claims (1)

【特許請求の範囲】[Claims] 複数のジョブが一つの機能を実現するために相互に関連
して動作し、一定の期間において監視する側の親ジョブ
と監視される側の子ジョブに分かれるマルチジョブシス
テムにおける無応答監視方式において、子ジョブ内に存
在し少なくとも親ジョブからの送信待ち状態および親ジ
ョブへの送信準備中状態を含む子ジョブのジョブ状態を
監視するジョブ監視手段と、ジョブ間のデータの送受信
を行うパケット送受信手段と、子ジョブ内に存在しパケ
ットの送受信後プログラム内で一意に決定される一定の
時間の経過後に自動的に制御が渡され子ジョブのジョブ
状態と子ジョブのジョブ名とシーケンス番号とを親ジョ
ブに送信する応答送信手段と、子ジョブ内に存在し処理
の終了時に処理終了通知のパケットを送信する終了通知
手段と、親ジョブ内に存在しプログラム内で一意に決め
た時間および子ジョブからの送信パケットに含まれる子
ジョブのジョブ状態から無応答の判断を行う無応答監視
手段とを有することを特徴とするマルチジョブシステム
における無応答監視方式。
In a non-response monitoring method in a multi-job system, where multiple jobs work in conjunction with each other to achieve a single function, and are divided into a parent job on the monitoring side and a child job on the monitored side during a certain period of time, job monitoring means that exists in the child job and monitors the job status of the child job including at least a state of waiting for transmission from the parent job and a state of preparing for transmission to the parent job; and a packet transmitting and receiving means that transmits and receives data between jobs. , control is automatically passed to the parent job after a certain period of time that is uniquely determined within the program after the packet is sent and received within the child job, and the job status of the child job and the job name and sequence number of the child job are transferred to the parent job. a completion notification means that exists in the child job and sends a processing end notification packet when processing ends; 1. A non-response monitoring method in a multi-job system, comprising a non-response monitoring means for determining non-response based on the job status of a child job included in a transmitted packet.
JP2316948A 1990-11-21 1990-11-21 Non-response monitoring method in multi-job system Expired - Lifetime JP2919057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2316948A JP2919057B2 (en) 1990-11-21 1990-11-21 Non-response monitoring method in multi-job system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2316948A JP2919057B2 (en) 1990-11-21 1990-11-21 Non-response monitoring method in multi-job system

Publications (2)

Publication Number Publication Date
JPH04188234A true JPH04188234A (en) 1992-07-06
JP2919057B2 JP2919057B2 (en) 1999-07-12

Family

ID=18082722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2316948A Expired - Lifetime JP2919057B2 (en) 1990-11-21 1990-11-21 Non-response monitoring method in multi-job system

Country Status (1)

Country Link
JP (1) JP2919057B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756749A (en) * 1993-08-17 1995-03-03 Nec Corp Job monitoring system
JP2003084870A (en) * 2001-09-07 2003-03-19 Sony Corp Information processing unit and information processing method
JP2008293204A (en) * 2007-05-23 2008-12-04 Toshiba Corp Information processing apparatus and error detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0756749A (en) * 1993-08-17 1995-03-03 Nec Corp Job monitoring system
JP2003084870A (en) * 2001-09-07 2003-03-19 Sony Corp Information processing unit and information processing method
JP2008293204A (en) * 2007-05-23 2008-12-04 Toshiba Corp Information processing apparatus and error detection method

Also Published As

Publication number Publication date
JP2919057B2 (en) 1999-07-12

Similar Documents

Publication Publication Date Title
US20040117679A1 (en) Apparatus and method for managing power in computer system
US7676610B2 (en) Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
JP2003030165A (en) Method for determining node state on network consisting of a plurality of connected data processing nodes, and/or method for determining node liveness
JPH04188234A (en) No response supervisory system in multi-job system
JP2730493B2 (en) Controlled station monitoring method
JP2001257688A (en) Network device
JP3239753B2 (en) Network control method and control server device
JPS60246148A (en) Data transmission control system
JPH10171769A (en) Composite computer system
JP3727466B2 (en) Network evaluation method, apparatus for implementing the same, and medium on which processing program is recorded
JP2889888B2 (en) Communication processing device
CN115001956B (en) Method, device, equipment and storage medium for running server cluster
JPH08329023A (en) Parallel electronic computer system
JP2669363B2 (en) Process switching control method and system for system call in cluster-coupled multiprocessor system
JPH1091467A (en) Multiplex system computer and its backup method
JPH113230A (en) Job information inquiry/display system
JP2508272B2 (en) Message response monitoring device
JPH11143839A (en) System and method for load distribution control
JP2669367B2 (en) LAN adapter
JPH09190417A (en) Multi-processor system
JPH04358228A (en) Process number control system
JPH02310755A (en) Health check system
JP2904243B2 (en) Exclusive control method in network management system
CN117896204A (en) CAN-based microwave power supply communication method and device, electronic equipment and storage medium
JP3368131B2 (en) Polling control method