JPH03180930A - Automatic job starting system - Google Patents

Automatic job starting system

Info

Publication number
JPH03180930A
JPH03180930A JP32081289A JP32081289A JPH03180930A JP H03180930 A JPH03180930 A JP H03180930A JP 32081289 A JP32081289 A JP 32081289A JP 32081289 A JP32081289 A JP 32081289A JP H03180930 A JPH03180930 A JP H03180930A
Authority
JP
Japan
Prior art keywords
time
startup
starting
data
starting time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP32081289A
Other languages
Japanese (ja)
Inventor
Takenobu Ario
有尾 武信
Mitsuo Beppu
別府 三男
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP32081289A priority Critical patent/JPH03180930A/en
Publication of JPH03180930A publication Critical patent/JPH03180930A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To automatically starting plural jobs whose starting time is determined during the driving of a system by previously applying the starting time of plural jobs to a system with the automatically judgeable format. CONSTITUTION:When start processing starting reference time arrives, an extracting means 7 refers to a starting time registered data unit stored in a storage means 3 and extracts the starting time registered data units to be started at the start processing starting reference time. A starting time output means 9 rearranges the extracted starting time registered data in the starting time order and outputs the rearranged result. A starting means 11 decides whether the starting time deciding time data outputted from a deciding time output means 5 coincide with the starting time registered data outputted from the means 9 or not, and when the time indicated by the starting time registered data arrives, starts the job corresponding to the starting time registered data. Consequently, each job can be automatically started at the arrival of the starting time without using manual operation.

Description

【発明の詳細な説明】 〔概 要〕 稼動中の起動時刻が確定している複数のジョブの、それ
ら起動時刻を予め登録し、各起動時刻の到来を自動的に
判定して起動時刻の到来したジョブを自動的に起動する
ジョブ自動起動方式に関し、稼動中における起動時刻が
確定している複数のジョブの自動起動を行なうことを目
的とし、時計を有し、稼動中における起動時刻の確定し
ている複数のジョブの起動を要するデータ処理システム
において、各ジョブ毎の起動時刻登録データ単位を記憶
する記憶手段と、時計の出力を参照して起動時刻判定用
時刻データを出力する判定用時刻出力手段と、起動処理
開始基準時の到来のとき記憶手段の起動時刻登録データ
単位を参照し、そのうちの該起動処理開始基準時におい
て起動対象となっている起動時刻登録データ単位を抽出
する抽出手段と、抽出した起動時刻登録データを昇順の
時刻順序に並び替えて出力する起動時刻出力手段と、起
動時刻判定用時間データが起動時刻出力手段からの起動
時刻判定用時間データとなるとき、起動時刻判定用時間
データ対応のジョブを起動させる起動手段とを設けて構
成した。
[Detailed Description of the Invention] [Summary] The startup times of a plurality of running jobs whose startup times have been determined are registered in advance, the arrival of each startup time is automatically determined, and the arrival of the startup time is determined. Regarding the job automatic startup method that automatically starts jobs that have been started, the purpose is to automatically start multiple jobs whose startup time is fixed during operation. In a data processing system that requires starting a plurality of jobs, a storage means stores a start time registration data unit for each job, and a judgment time output outputs time data for judgment of start time by referring to the output of a clock. means, and an extraction means for referencing the start time registration data units in the storage means when the reference time for starting the start processing has arrived, and extracting the start time registration data units that are to be started at the reference time for starting the start processing. , startup time output means for rearranging and outputting the extracted startup time registration data in ascending time order; and startup time determination when the time data for startup time determination becomes the time data for startup time determination from the startup time output means. The present invention is configured by providing a starting means for starting a job corresponding to the time data.

〔産業上の利用分野〕[Industrial application field]

本発明は、稼動中の起動時刻が確定している複数のジョ
ブの、それら起動時刻を予め登録し、各起動時刻の到来
を自動的に判定して起動時刻の到来したジョブを自動的
に起動するジョブ自動起動方式に関する。
The present invention registers in advance the startup times of a plurality of running jobs whose startup times have been determined, automatically determines the arrival of each startup time, and automatically launches the job whose startup time has arrived. Regarding automatic job startup method.

計算機システムで遂行されるジョブを大別すると、非定
型ジョブと定型ジョブとに大別される。
Jobs executed by computer systems can be broadly classified into non-routine jobs and routine jobs.

ここに、非定型ジョブとはその起動時刻が一定していな
いジョブを言い、定型ジョブとはその起動時刻が一定し
ているジョブを言う。定型ジョブには、処理データを一
時退避しておくバックアップ処理を行なうジョブ、シス
テムの起動及び停止を行なうジョブ等がある。
Here, an atypical job is a job whose startup time is not constant, and a regular job is a job whose startup time is constant. Typical jobs include jobs that perform backup processing to temporarily save processing data, jobs that start and stop the system, and the like.

〔従来の技術〕[Conventional technology]

前述の非定型ジョブは、任意の起動時刻での起動となる
ので、通常人手を介してその起動を行なっている。又、
定型ジョブも従来、非定型ジョブと同様、人手を介して
その起動が行なわれている。
Since the above-mentioned non-routine job is started at an arbitrary start time, it is normally started manually. or,
Conventionally, routine jobs have been started manually like non-routine jobs.

〔発明が解決しようとする課題) しかしながら、計算機システムに装備されている定型ジ
ョブには、複数あって、その複数の定型ジョブの各々は
、その起動時刻を異にしているばかりでなく、その起動
周期をも異にすることが多い。このような複数のジョブ
の起動を前述のように人手を介してその起動を行なおう
とすると、その起動に掛かる人的負担が大きいし、又そ
の起動忘れによるデータ処理上にも、極めて大きな影響
、例えば必要なデータの復旧処理という、面倒にして人
手の掛かる作業を誘発させてしまう。単に、起動が人手
を介して行なっていると言うだけで前述のような不具合
をシステム運用に招いてしまっている。
[Problem to be Solved by the Invention] However, there are a plurality of routine jobs installed in a computer system, and each of the plurality of routine jobs not only has a different start time, but also has a different startup time. They often have different cycles. If you try to start such multiple jobs manually as described above, it will impose a large human burden, and if you forget to start them, it will have an extremely large impact on data processing. , for example, inducing troublesome and labor-intensive work such as necessary data recovery processing. Simply saying that startup is done manually leads to problems like the ones mentioned above in system operation.

本発明は、斯かる問題点に鑑みて創作されたもので、稼
動中における起動時刻が確定している複数のジョブの自
動起動を行ない得るジョブ自動起動方式を提供すること
をその目的とする。
The present invention was created in view of such problems, and an object of the present invention is to provide an automatic job starting method that can automatically start a plurality of jobs whose starting times are determined during operation.

[課題を解決するための手段] 第1図は本発明の原理ブロック図を示す。この図に示す
ように、本発明は、時計1を有し、稼動中における起動
時刻の確定している複数のジョブの起動を要するデータ
処理システムにおいて、各ジョブ毎の起動時刻登録デー
タ単位を記憶する記憶手段3と、前記時計1の出力を参
照して起動時刻判定用時間データを出力する判定用時刻
出力手段5と、起動処理開始基準時の到来のとき前記記
憶手段3の起動時刻登録データ単位を参照し、そのうち
の該起動処理開始基準時において起動対象となっている
起動時刻登録データ単位を抽出する抽出手段7と、抽出
した起動時刻登録データを昇順の時刻順序に並び替えて
出力する起動時刻出力手段9と、前記起動時刻判定用時
刻データが前記起動時刻出力手段9からの起動時刻登録
データとなるとき、該起動時刻登録データ対応のジョブ
を起動させる起動手段11とを設けて構成した。
[Means for Solving the Problems] FIG. 1 shows a block diagram of the principle of the present invention. As shown in this figure, the present invention has a clock 1 and stores a start time registration data unit for each job in a data processing system that requires starting a plurality of jobs whose start times are fixed during operation. a determination time output means 5 that refers to the output of the clock 1 and outputs time data for determining the startup time; and a determination time output device 5 that outputs startup time determination time data by referring to the output of the clock 1; Extracting means 7 that refers to the units and extracts the startup time registration data unit that is the startup target at the startup processing start reference time, and rearranges the extracted startup time registration data in ascending time order and outputs it. It is configured by providing a start time output means 9 and a start means 11 for starting a job corresponding to the start time registration data when the start time determination time data becomes start time registration data from the start time output means 9. did.

〔作 用〕[For production]

起動処理開始基準時が到来したとき、抽出手段7は、記
憶手段3の起動時刻登録データ単位を参照してそのうち
の該起動処理開始基準時において起動対象となっている
起動時刻登録データ単位を抽出する。起動時刻出力手段
9は、抽出された起動時刻登録データを昇順の時刻順序
に並び替えて出力する。起動手段11は、判定用時刻出
力手段5が出力している起動時刻判定用時刻データが起
動時刻出力手段9からの起動時刻登録データとなってい
るか否かを判定し、該起動時刻登録データに示す時刻が
到来したとき、その起動時刻登録データ対応のジョブを
起動させる。
When the startup processing start reference time arrives, the extraction means 7 refers to the startup time registration data units in the storage means 3 and extracts the startup time registration data unit that is the startup target at the startup processing start reference time. do. The startup time output means 9 rearranges the extracted startup time registration data in ascending time order and outputs the rearranged data. The starting means 11 determines whether or not the starting time determination time data output by the determining time outputting means 5 is the starting time registration data from the starting time outputting means 9, and determines whether or not the starting time determination time data output by the determining time outputting means 5 is the starting time registration data. When the indicated time arrives, the job corresponding to the start time registration data is started.

従って、各ジョブは、人手を少しも介することなしに、
起動時刻の到来で自動的に起動される。
Therefore, each job can be completed without any human intervention.
It will start automatically when the start time arrives.

〔実施例〕〔Example〕

第2図、第3図及び第4図を参照して、本発明の一実施
例を説明する。第2図は本発明を実施する計算機システ
ムを示す。この図において、8はタイマー、10は中央
演算装置(CPU)、12は主メモリ、14はディスク
装置、16はデイスプレィ装置である。これら装置10
.12.14.16はバス18を介して接続される。デ
イスプレィ装置16にば、キーボード17が装備されて
いる。第3図は、計算機システムが稼動される場合に、
その主メモリ12のメモリ領域の使用態様例を示す。そ
の20はO3で使用する領域、22は領域20内の一時
的な記憶領域、24は、例えば34個から威るレジスタ
R1,R2,・・・、R34の領域、28は、第4図に
示す処理フローを実行するプログラムを格納する領域、
26.27は、領域28内に設けられる起動対象数カウ
ンタ、実行カウンタである。30はユーザが使用する領
域をそれぞれ示す。領域28に記憶されるプログラムは
、ディスク装置14に格納されており、本発明の処理を
行なうのに先立って領域28に呼び込まれる。又、ユー
ザが使用するプログラムも又同様である。なお、本発明
との関連において、ディスク装置14から主メモリ12
のデータ転送単位は、例えば後述のようなディスク装置
14内のテーブルに登録された起動時刻レコードとする
An embodiment of the present invention will be described with reference to FIGS. 2, 3, and 4. FIG. 2 shows a computer system implementing the present invention. In this figure, 8 is a timer, 10 is a central processing unit (CPU), 12 is a main memory, 14 is a disk device, and 16 is a display device. These devices 10
.. 12, 14, and 16 are connected via bus 18. The display device 16 is equipped with a keyboard 17. Figure 3 shows that when the computer system is operated,
An example of how the memory area of the main memory 12 is used is shown. 20 is an area used by O3, 22 is a temporary storage area within area 20, 24 is an area for registers R1, R2, . An area to store a program that executes the processing flow shown in
Reference numerals 26 and 27 are an activation target number counter and an execution counter provided in the area 28. 30 each indicates an area used by the user. The program stored in area 28 is stored in disk device 14, and is called into area 28 prior to performing the processing of the present invention. The same applies to programs used by users. Note that in connection with the present invention, data from the disk device 14 to the main memory 12
The unit of data transfer is, for example, a startup time record registered in a table in the disk device 14 as described later.

この起動時刻レコードには起動時刻データ等がセットさ
れている。
This startup time record has startup time data and the like set therein.

第2図及び第3図において、ディスク装置14、主メモ
リ12は、第1図の記憶手段に対応し、レジスタa、C
PUl01主メモリ12、第4図のステップ312の実
行するプログラムは、第1図の判定用時刻出力手段5に
対応する。レジスタa、レジスタbルジスタc、CPU
l01主メモリ12、第4図のステップS1乃至SlO
を実行するプログラムは、第1図の抽出手段7に対応し
、レジスタa、CPUl01主メモリ12、第4図のス
テップSllの実行するプログラムは、第1図の起動時
刻出力手段9に対応する。CPUIO3主メモリ12、
実行カウンタ27、第4図のステップSllの実行する
プログラムは、第1図の起動手段11に対応する。
In FIGS. 2 and 3, the disk device 14 and main memory 12 correspond to the storage means in FIG.
The program executed by the PU101 main memory 12 and step 312 in FIG. 4 corresponds to the determination time output means 5 in FIG. Register a, register b register c, CPU
101 main memory 12, steps S1 to S1O in FIG.
The program that executes this corresponds to the extracting means 7 in FIG. 1, and the program that executes the register a, the main memory 12 of the CPU 101, and the step Sll of FIG. 4 corresponds to the startup time output means 9 of FIG. CPUIO3 main memory 12,
The program executed by the execution counter 27 and step Sll in FIG. 4 corresponds to the starting means 11 in FIG.

前述システム構成における本発明の処理を以下に説明す
る。なお、後述するレジスタa、b、cは、レジスタR
1,R2,R3を使用するとする。
The processing of the present invention in the above system configuration will be described below. Note that registers a, b, and c, which will be described later, are register R.
1, R2, and R3.

又、第4図に示す処理フローを実行するジョブ自動起動
プログラム、及び各定型ジョブについての各起動時刻レ
コードは、予めディスク装置14内に入力されているも
のとする。そのプログラムの入力は、計算機システムに
設けられているローディング手段〔図示せず)によって
為され、又起動時刻レコードの入力は、計算機システム
が稼動された後に、又はその稼動前の計算機システム稼
動中において、デイスプレィ装置16のキーボード17
が操作されて各定型ジョブについての各起動時刻レコー
ドが人力される。それらの各起動時刻レコードはディス
ク装置14内の起動時刻レコード登録域にテーブル形式
で登録される(その登録例を第5図に示す。)。第5図
において、第1カラムは起動判定条件、第2カラムは起
動時刻、第2カラム以降は、起動対象ジョブを示す。第
1カラムにセットされる曜日コードのO乃至6は、それ
ぞれ日曜日乃至土曜日に対応する。曜日コードの7は毎
日を表す。
Further, it is assumed that the job automatic startup program that executes the processing flow shown in FIG. 4 and each startup time record for each regular job are input into the disk device 14 in advance. The program is input by a loading means (not shown) provided in the computer system, and the startup time record is input after the computer system is activated or while the computer system is in operation before the computer system is activated. , keyboard 17 of display device 16
is operated and each startup time record for each routine job is entered manually. Each of these startup time records is registered in a table format in the startup time record registration area in the disk device 14 (an example of the registration is shown in FIG. 5). In FIG. 5, the first column shows the startup determination conditions, the second column shows the startup time, and the second and subsequent columns show the startup target jobs. Day of the week codes O through 6 set in the first column correspond to Sunday through Saturday, respectively. The day of the week code 7 represents every day.

このようなジョブ自動起動プログラムのローディング、
そして起動時刻レコードの登録後であって、計算機シス
テム稼動中のプログラム処理適時に、例えば毎週の計算
機システムの稼働開始時にディスク装置14からジョブ
自動起動プログラムが主メモリ12へ読み込まれてその
処理が開始されると、先ず、タイマー8から現時刻(例
えば、093000)を読み取って(第4図の31参照
)レジスタaにセットし、又現日付(例えば、8909
19)を読み取って(第4図のS2参照)レジスタbに
セットする。このレジスタbのデータ(0 を用いて曜日コード(前記段剥では、火曜日となる。)
を抽出しく第4図のS3参照)、レジスタCに曜日コー
ドとして2をセットする。このようにして、後述する起
動判定条件は、第5図に示すように、日時 9月19日
 9時30900秒火曜日として設定される。
Loading a job autostart program like this,
After the startup time record is registered, the job automatic startup program is read into the main memory 12 from the disk device 14 and the processing starts at the appropriate time for program processing while the computer system is operating, for example, when the computer system starts operating every week. Then, first read the current time (for example, 093000) from the timer 8 and set it in register a (see 31 in Figure 4), and then read the current time (for example, 8909).
19) is read (see S2 in FIG. 4) and set in register b. This register b data (0) is used to code the day of the week (in the above step, it is Tuesday).
(see S3 in FIG. 4) and set 2 in register C as the day of the week code. In this way, the activation determination condition, which will be described later, is set as Tuesday, September 19th, 9:30900 seconds, as shown in FIG.

次に、ディスク装置14の起動時刻レコード登録域から
各起動時刻レコードを1つの起動時刻レコードずつ読み
出しては(第4図の84参照)、起動対象条件を満たし
ている否かの判定を行なう(第4図の85参照)。ここ
に、起動対象条件とは、例えば起動時刻レコードが正規
の記述形式か、及び第1カラムにセットされているデー
タがコメント定義か否かの条件である。これを第5図に
示す起動時刻レコード登録例について説明すると、次の
ようになる。
Next, each startup time record is read out one by one from the startup time record registration area of the disk device 14 (see 84 in FIG. 4), and it is determined whether the startup target conditions are satisfied ( (See 85 in Figure 4). Here, the activation target conditions include, for example, whether the activation time record is in a regular description format and whether the data set in the first column is a comment definition. This will be explained with reference to the startup time record registration example shown in FIG. 5 as follows.

ディスク装置14内の起動時刻レコード登録域から主メ
モリ12への起動時刻レコードの転送は、その先頭起動
時刻レコードから順次に行なわれるが、その順次に主メ
モリ12へ読み込まれる起動時刻レコードの内、起動時
刻レコードの乃至■ば、前述の起動対象条件を満たさな
い。それは、いずれも正規の記述形式を満たすが、各起
動時刻レコードは、先頭起動時刻レコード■の第1カラ
ムのデータが、コメント定義(起動対象外の事項)であ
り、起動時刻レコード■の第1カラムの起動定義日を月
曜日としており、起動時刻レコード■の第1カラムに、
毎日、20日の起動定義を置いているからである。そし
て、前述の起動対象条件を満たさない起動時刻レコード
の乃至■に対するステップS5の判定はNとなるから、
読み出した起動時刻レコードが最後の起動時刻レコード
となったか否かの判定を行なう(第4図の36参照)。
Transfer of the startup time records from the startup time record registration area in the disk device 14 to the main memory 12 is performed sequentially starting from the first startup time record. Among the startup time records that are sequentially read into the main memory 12, If the activation time record is 1 to 2, the above-mentioned activation target conditions are not satisfied. All of them satisfy the regular description format, but in each startup time record, the data in the first column of the first startup time record ■ is a comment definition (matters that are not subject to startup), and the data in the first column of the first startup time record ■ The startup definition date of the column is Monday, and the first column of the startup time record ■ is
This is because the activation definition for the 20th is placed every day. Then, the determination in step S5 is N for the startup time records to () that do not satisfy the startup target conditions described above.
It is determined whether the read startup time record is the last startup time record (see 36 in FIG. 4).

このレコード最終判定は、ディスク装置14に通常ファ
イルされるときに用いられるファイル終了マークEOF
を用いる。まだ、最後の起動時刻レコードの読み出しに
至っていないならば(第4図のS6のN参照)、次の起
動時刻レコードの読み出しに入るが、最後の起動時刻レ
コードであるならば、ステップSllの処理に進む。
This final determination of the record is based on the file end mark EOF, which is used when the file is normally filed in the disk device 14.
Use. If the last startup time record has not yet been read (see N in S6 in FIG. 4), reading of the next startup time record begins; however, if it is the last startup time record, the process of step Sll is performed. Proceed to.

これに対して、起動時刻レコード■乃至■は前述の起動
対象条件を満たす。これは、各起動時刻レコード■が正
規の記述形式を満たし、起動時刻レコード■及び■の第
1カラムは起動定義日を毎日とし、起動時刻レコード■
の第1カラムは起動定義日を火曜日としているからであ
る。従って、処理は以下に述べる処理へ進む。
On the other hand, activation time records (1) to (2) satisfy the above-mentioned activation target conditions. This means that each startup time record ■ satisfies the regular description format, the first column of startup time records ■ and ■ has a startup definition date of every day, and the startup time record ■
This is because the start definition date in the first column is Tuesday. Therefore, the process proceeds to the process described below.

前述の如く、起動時刻レコード■乃至■は起動対象とな
るから(第4図の35のY参照)、それらの各起動時刻
レコードが読み出れる毎に、領域28の起動対象数カウ
ンタ26を1だけカウントアツプして(第4図のS7参
照)該読み出した起動時刻レコードを主メモリ12に書
き込む(第4図のS8参照)。その主メモリ12に書き
込まれた起動時刻レコードを第6図に示す。そして、次
の起動時刻レコードの読み込み処理に入るが(第4図の
39参照)、その際に読み出された対象とされた起動時
刻レコードが最後の起動時刻レコードであるか否かの判
定を為し、そうでないときには(第4図のSIOのN参
照)、次の起動時刻し3 コードの読み込み処理に入る(第4図の34参照) 前述のような起動時刻レコードの読み込み処理が繰り返
されて行き、遂いには、ディスク装置14に登録済の全
起動時刻レコードの読み出しが終了したならば(第4図
のS6及びSIOのY参照)、起動対象となっている起
動時刻レコードを時刻について昇順となる順序の起動時
刻レコード列を生成してこれを主メモリ12内の記憶域
に一時蓄える処理に入る(第4図の311参照)。その
主メモリー2に書き込まれた起動時刻レコードを第7図
に示す。
As mentioned above, since the activation time records (1) to (2) are the activation targets (see 35 Y in FIG. 4), each time each of these activation time records is read, the activation target number counter 26 in the area 28 is set to 1. (see S7 in FIG. 4) and writes the read startup time record into the main memory 12 (see S8 in FIG. 4). The startup time record written in the main memory 12 is shown in FIG. Then, the next startup time record reading process begins (see 39 in Figure 4), but it is determined whether or not the target startup time record read at that time is the last startup time record. If this is not the case (see SIO N in Figure 4), the next startup time is determined and the 3 code reading process begins (see 34 in Figure 4).The above-mentioned startup time record reading process is repeated. Finally, when all the startup time records registered in the disk device 14 have been read out (see S6 and SIO Y in FIG. 4), the startup time record that is the target of startup is changed to the time A process of generating a startup time record string in ascending order for each time and temporarily storing it in a storage area in the main memory 12 begins (see 311 in FIG. 4). The startup time record written in the main memory 2 is shown in FIG.

この処理終了で、起動対象となっている起動時刻データ
対応のジョブの起動処理に入る。
Upon completion of this process, the job starting process corresponding to the start time data to be started starts.

タイマー8から現時刻を予め決められた時間(例えば、
1分)経過毎に読み出してレジスタaにセットする(第
4図の312参照)。その都度、主メモリー2に一時蓄
えられている昇順となる順序の起動時刻レコード列を読
み出して(第4図の313参照)その各起動時刻レコー
ドと、レジス4 タaにセットされた現時刻とを比較しく第4図の314
参照)、一致していないならば(第4図の314のN参
照)待ち合わせ処理に入る(第4図の315参照)。こ
の待ち合わせ処理は、計算機システムのスーパバイザに
対し前記レジスタaの比較対象時刻になったなら当該比
較対象時刻についてのジョブの起動を生せしめる依頼を
行なう処理である。
The timer 8 changes the current time to a predetermined time (for example,
1 minute) and sets it in register a (see 312 in FIG. 4). Each time, the sequence of startup time records temporarily stored in main memory 2 in ascending order is read out (see 313 in Figure 4), and each startup time record is combined with the current time set in register 4 data a. For comparison, 314 in Figure 4
(see 315 in FIG. 4), if they do not match (see 314 N in FIG. 4), a waiting process is entered (see 315 in FIG. 4). This waiting process is a process of requesting the supervisor of the computer system to start a job for the comparison target time when the comparison target time in the register a has arrived.

又、前記スーパバイザからの起動か、又は前記比較にお
いて一致が得られるならば(第4図の314のY参照)
、前記レジスタaの比較対象時刻についてのジョブの起
動を行なう(第4図の316参照)。例えば、タイマー
8から読み込んだ現時刻が093100であったとする
ならば、前述の待ち合わせ処理に入り、そしてタイマー
8が第7図に示す起動時刻レコード(3)が示す起動時
刻10時00分00秒を示すとき、スーパバイザによる
該起動時刻レコード(3)によって指定されるジョブが
起動される。
Also, if a match is obtained in the activation from the supervisor or in the comparison (see Y at 314 in FIG. 4)
, starts a job for the comparison target time of the register a (see 316 in FIG. 4). For example, if the current time read from the timer 8 is 093100, the above-mentioned waiting process is entered, and the timer 8 starts at the startup time indicated by the startup time record (3) shown in FIG. 7 at 10:00:00. , the job specified by the supervisor's activation time record (3) is activated.

このようなジョブの起動が為される度毎に、領域28の
実行カウンタ27の値に1を足す(第4図の316参照
)。実行カウンタ27の値と、起動対象数カウンタ26
の値とが一致していないならば現時刻の読み出し処理に
入る(第4図の318のN参照)。一致しているならば
(第4図の318のY参照)、当該日の起動処理を終了
する(第4図の319参照)。
Each time such a job is started, 1 is added to the value of the execution counter 27 in the area 28 (see 316 in FIG. 4). The value of the execution counter 27 and the number of activation targets counter 26
If they do not match, the current time reading process begins (see 318N in FIG. 4). If they match (see Y at 318 in FIG. 4), the activation process for that day ends (see 319 in FIG. 4).

なお、前記実施例においては、起動対象条件を正規の記
述形式及び第1カラムにセットされているデータがコメ
ント定義であるか否かに係わりしめている例について説
明したが、起動時刻レコードの数が多くなる場合には、
例えば毎日の内に起動すべきもののみに絞る条件を設定
してもよい。
In addition, in the above embodiment, an example was explained in which the activation target condition is related to the regular description format and whether the data set in the first column is a comment definition, but if the number of activation time records is If there are many
For example, you may set conditions to narrow down the list to only those that should be activated every day.

又、前述のようなスーパバイザへの起動依頼でなく、ジ
ョブ自動起動プログラムからの割り込みによって当該ジ
ョブの起動を行なうようにしてもよい。
Further, the job may be started by an interrupt from a job automatic start program instead of the above-mentioned start request to the supervisor.

又、複数のプロセッサが並列に動作されるシステム環境
の中においても、本発明を実施し得る。
The present invention can also be implemented in a system environment in which multiple processors operate in parallel.

■ 〔発明の効果〕 以上述べたところから明らかなように本発明によれば、
複数のジョブの起動時刻をシステムによる自動判定可能
な形式でシステムに予め与えて置くようにしたので、稼
動中における起動時刻が確定している複数のジョブの自
動起動を行なうことが出来る。従って、ジョブが多数に
昇るときの人手による煩雑さは無くなるし、その起動忘
れの防止も遠戚される。起動忘れによるシステム運用に
与える障害は無くなる。
■ [Effects of the invention] As is clear from the above, according to the present invention,
Since the start times of a plurality of jobs are given to the system in advance in a format that can be automatically determined by the system, it is possible to automatically start a plurality of jobs whose start times are fixed during operation. Therefore, when there are a large number of jobs, the hassle of manual work is eliminated, and the prevention of forgetting to start them is also far removed. There is no longer any problem with system operation caused by forgetting to start the system.

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

第1図は本発明の原理ブロック図、 第2図は本発明を実施する計算機システムを示す図、 第3図は主メモリの使用態様を示す図、第4図は本発明
の処理フローを示す図、第5図はテーブルへの起動時刻
レコードの登録例を示す図、 第6図はテーブル内の起動時刻レコードの中から7 抽出された起動対象の起動時刻レコードのみを示す図、 第7図は抽出された起動対象の起動時刻レコードを時間
について昇順に並べ直した起動時刻レコードの各々を示
す図である。 第1図乃至第3図において、 1は時計、 3は記憶手段(ディスク装置14、主メモリ12)、 5は判定用時刻出力手段(レジスタa、CPUl01主
メモリ12、第4図のステップS12の実行するプログ
ラム)、 7は抽出手段(レジスタa、レジスタb、レジスタc、
CPUl01主メモリ12、第4図のステップS1乃至
SIOを実行するプログラム)、9は起動時刻出力手段
(レジスタa、CPUl01主メモリ12、第4図のス
テップSllの実行するプログラム)、 11は起動手段(CPUIO1主メモリ12、実8 行カウンタ27、 第4図のステップSl lの実行 するプログラム) である。 不謄θHの原理フ゛o1,77図 第1図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a diagram showing a computer system implementing the present invention, Fig. 3 is a diagram showing how the main memory is used, and Fig. 4 is a diagram showing the processing flow of the present invention. Figure 5 is a diagram showing an example of registration of startup time records in the table, Figure 6 is a diagram showing only the startup time records of the startup targets extracted from the startup time records in the table, and Figure 7. 2 is a diagram showing each of the boot time records obtained by rearranging the boot time records of the extracted boot targets in ascending order of time. FIG. 1 to 3, 1 is a clock, 3 is a storage means (disk device 14, main memory 12), and 5 is a judgment time output means (register a, CPU101 main memory 12, step S12 in FIG. 4). 7 is an extraction means (register a, register b, register c,
CPU101 main memory 12, a program that executes steps S1 to SIO in FIG. 4), 9 a startup time output means (register a, CPU101 main memory 12, a program that executes step SLL in FIG. 4), 11 a startup device (CPUIO 1 main memory 12, real 8 row counter 27, program executed in step Sl I in FIG. 4). Principle of infallible θH Fig. 1, 77 Fig. 1

Claims (1)

【特許請求の範囲】[Claims] (1)時計(1)を有し、稼動中における起動時刻の確
定している複数のジョブの起動を要するデータ処理シス
テムにおいて、 各ジョブ毎の起動時刻登録データ単位を記憶する記憶手
段(3)と、 前記時計(1)の出力を参照して起動時刻判定用時刻デ
ータを出力する判定用時刻出力手段(5)と、 起動処理開始基準時の到来のとき前記記憶手段(3)の
起動時刻登録データ単位を参照し、そのうちの該起動処
理開始基準時において起動対象となっている起動時刻登
録データ単位を抽出する抽出手段(7)と、 抽出した起動時刻登録データを昇順の時刻順序に並び替
えて出力する起動時刻出力手段(9)と、前記起動時刻
判定用時刻データが前記起動時刻出力手段(9)からの
起動時刻データとなるとき、該起動時刻データ対応のジ
ョブを起動させる起動手段(11)とを設けたことを特
徴とするジョブ自動起動方式。
(1) In a data processing system that has a clock (1) and requires the startup of a plurality of jobs whose startup times are fixed during operation, a storage means (3) that stores startup time registration data units for each job. and judgment time output means (5) for outputting time data for judgment of starting time by referring to the output of the clock (1), and when the start processing start reference time arrives, the starting time of the storage means (3) is determined. an extracting means (7) that refers to the registered data units and extracts a startup time registration data unit that is a startup target at the startup processing start reference time, and arranges the extracted startup time registration data in ascending time order; a start time output means (9) for outputting the start time data instead of the start time data, and a start means for starting a job corresponding to the start time data when the start time determination time data becomes the start time data from the start time output means (9). (11) A job automatic starting method characterized by providing the following.
JP32081289A 1989-12-11 1989-12-11 Automatic job starting system Pending JPH03180930A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32081289A JPH03180930A (en) 1989-12-11 1989-12-11 Automatic job starting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32081289A JPH03180930A (en) 1989-12-11 1989-12-11 Automatic job starting system

Publications (1)

Publication Number Publication Date
JPH03180930A true JPH03180930A (en) 1991-08-06

Family

ID=18125510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32081289A Pending JPH03180930A (en) 1989-12-11 1989-12-11 Automatic job starting system

Country Status (1)

Country Link
JP (1) JPH03180930A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295875A (en) * 1994-04-22 1995-11-10 Sharp Corp Information retrieval device
WO2012117264A1 (en) * 2011-03-03 2012-09-07 パナソニック電工Sunx株式会社 Display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07295875A (en) * 1994-04-22 1995-11-10 Sharp Corp Information retrieval device
WO2012117264A1 (en) * 2011-03-03 2012-09-07 パナソニック電工Sunx株式会社 Display device

Similar Documents

Publication Publication Date Title
US4943915A (en) Apparatus and method for synchronization of a coprocessor unit in a pipelined central processing unit
JPH02277129A (en) Data processor
JPH03180930A (en) Automatic job starting system
JP2003316634A (en) Data base management method and device and processing program therefor
JPS6027949A (en) Automatic job class scheduling system
JPH027096B2 (en)
JPH0719311B2 (en) Data processing device
JPS626295A (en) Crt screen cyclic display system
JPS6148741B2 (en)
JP2001195286A (en) Automatic backup device and automatic backup method and recording medium with program for automatic backup
JP6403407B2 (en) Data update method, data update system, and terminal device
JPS59123944A (en) Interprogram synchronization system
JPH0594281A (en) Computer system
JPS59189452A (en) Queue structure for data processor
JPH02188858A (en) Job selecting process system
CN116385106A (en) Intelligent order ordering method after order point delay
JP2578862B2 (en) Keystroke warning correction method
JPH0462093B2 (en)
JPH05143245A (en) Floppy disk device control system
JPS61253526A (en) Automatic executing processor for interactive program
JPS63298442A (en) Application managing device
JPS63291107A (en) Automatic job activating system by time designation
JPH05241971A (en) Restoring method for data on memory
JPS62264346A (en) Data processor
JPS6286438A (en) Plural clocks control system in computer system