[go: up one dir, main page]

JP2000081986A - Job management method for client / server type business processing system and recording medium storing the program - Google Patents

Job management method for client / server type business processing system and recording medium storing the program

Info

Publication number
JP2000081986A
JP2000081986A JP10251715A JP25171598A JP2000081986A JP 2000081986 A JP2000081986 A JP 2000081986A JP 10251715 A JP10251715 A JP 10251715A JP 25171598 A JP25171598 A JP 25171598A JP 2000081986 A JP2000081986 A JP 2000081986A
Authority
JP
Japan
Prior art keywords
job
client
execution
processing
jobs
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
JP10251715A
Other languages
Japanese (ja)
Inventor
Toru Matsuura
松浦  徹
Yorio Ishikawa
頼雄 石川
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.)
Hitachi Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP10251715A priority Critical patent/JP2000081986A/en
Publication of JP2000081986A publication Critical patent/JP2000081986A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【課題】クライアント・サーバ型システムでデータベー
ス・アクセスを伴うバッチ処理を効率的に処理できるジ
ョブ管理方法を実現する。 【解決手段】サーバ20は、起動要求されたジョブを処
理性能によりクラス分けし、第1クラスのジョブは即時
起動し、第2クラスのジョブは実行待ちキュー34,3
5に一旦登録し、ジョブ実行管理システム30により順
次、複数ジョブ同時実行させ、第3クラスのジョブはサ
ーバ20に予め設定された実行スケジュール表に基づい
てジョブ起動させる。ジョブ実行管理システム30は、
ジョブ実行状況表示機能、実行状況問合せ機能、ジ
ョブ実行順序変更機能(11)(12)を備えている。
(57) [Summary] [PROBLEMS] To realize a job management method capable of efficiently processing batch processing involving database access in a client-server type system. A server (20) classifies jobs requested to be activated according to processing performance, a first-class job is activated immediately, and a second-class job is executed in an execution queue.
5, and a plurality of jobs are sequentially executed simultaneously by the job execution management system 30. The job of the third class is started based on an execution schedule table preset in the server 20. The job execution management system 30
It has a job execution status display function, an execution status inquiry function, and a job execution order change function (11) (12).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、クライアント・サ
ーバ型業務処理システムにおけるジョブ管理方法に関
し、特に、大量データの一括処理(バッチ処理)をクラ
イアント・サーバ型システムで実行する場合に、全体と
しての処理性能を安定的に確保することができるジョブ
管理方法およびそのプログラムを格納した記録媒体に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a job management method in a client-server type business processing system, and more particularly, to a case where batch processing (batch processing) of a large amount of data is executed in the client-server type system. The present invention relates to a job management method capable of stably ensuring processing performance and a recording medium storing the program.

【0002】[0002]

【従来の技術】従来では、主に大型汎用コンピュータシ
ステムにより大量データに対する各種の業務処理を行っ
ていたが、近年、小型コンピュータ(パソコン)の性能
向上と、パソコン用オペレーティングシステム(パソコ
ン用OS)およびデータベース管理用ソフトウェアの機
能の充実が顕著になってきたため、これを背景にダウン
サイジング化が行われている。すなわち、複数台の小型
コンピュータをネットワークで相互に接続してクライア
ント・サーバ型システムが実用化され、このシステムに
より各種の業務処理を行うようになってきた。クライア
ント・サーバ型システムにより、複数のバッチジョブを
計画的かつ効率的に実行する技術としては、例えば特開
平9−16521号公報に記載の並列バッチ処理方式が
ある。上記方式では、複数のクライアント端末を接続し
たサーバ端末が、複数のバッチジョブを個々のクライア
ント端末に割り当てるとともに、各バッチジョブの走行
条件およびその実行予定時刻を含むスケジュール情報を
生成し、そのスケジュール情報をクライアント端末毎の
実行管理テーブルに格納しておき、クライアント端末に
実行させるようにしている。一方、各クライアント端末
は、実行管理制御部とジョブ実行部とを備え、サーバ端
末の実行管理テーブルに格納された自端末宛のバッチジ
ョブをその走行条件等に従って並列的に自動実行する。
この場合、データベースを保持し、管理しているのは、
サーバ端末である。
2. Description of the Related Art Conventionally, various business processes for large amounts of data have been mainly performed by a large general-purpose computer system. In recent years, however, the performance of small computers (PCs) has been improved, and operating systems for PCs (PC OSs) and Because the functions of database management software have become more prominent, downsizing has been performed against this background. In other words, a client-server type system has been put to practical use by connecting a plurality of small computers to each other via a network, and this system has been used to perform various business processes. As a technique for executing a plurality of batch jobs systematically and efficiently by a client-server system, there is, for example, a parallel batch processing method described in Japanese Patent Application Laid-Open No. 9-16521. In the above method, a server terminal connected to a plurality of client terminals allocates a plurality of batch jobs to individual client terminals, generates schedule information including running conditions of each batch job and scheduled execution time, and generates the schedule information. Are stored in an execution management table for each client terminal, and are executed by the client terminal. On the other hand, each client terminal includes an execution management control unit and a job execution unit, and automatically executes a batch job addressed to its own terminal stored in the execution management table of the server terminal in parallel according to its running conditions and the like.
In this case, the database is maintained and managed by
It is a server terminal.

【0003】[0003]

【発明が解決しようとする課題】このように、クライア
ント・サーバ型業務処理システムは、業務処理担当者の
操作端末として使用されるクライアント端末と、業務処
理に必要なデータを蓄積したデータベースとそのデータ
ベースを管理するシステムと各業務処理プログラムを格
納するメモリとその実行を管理するシステムとを備えた
サーバ端末とから構成されるのが一般的である。ところ
で、業務処理プログラムは大別して、瞬間的に仕事を実
行できる問合わせ応答型処理と、データベースに蓄積さ
れた大量データを、例えば集計処理するような一括処理
(バッチ処理)とに分けられる。バッチ処理は大量デー
タの一括処理であって、データベースへのアクセスが頻
繁に実行される特性を持っている。そのため、バッチ処
理の実行効率は、その処理中で行われるデータベース・
アクセス処理の効率が大きなウェイトを占めている。前
述の公報に記載された処理方式では、バッチ処理をサー
バ端末以外のクライアント端末にその実行処理を振り分
けていたため、各クライアント端末で実行されるバッチ
処理は、その実行処理過程中、データベースを保持・管
理しているサーバ端末との間でデータのやリ取りを頻繁
に行うことになるため、1つのクライアント端末がサー
バ端末を占有できる時間が短かくなってしまい、結局は
処理時間がかかってしまい、期待する処理性能が得られ
なくなるという問題がある。
As described above, the client-server type business processing system includes a client terminal used as an operation terminal of a business processing person, a database storing data necessary for business processing, and the database. Generally comprises a server terminal provided with a system for managing the business processing programs, a memory for storing each business processing program, and a system for managing its execution. By the way, business processing programs are roughly classified into an inquiry response type process capable of executing work instantaneously, and a batch process (batch process) for, for example, totalizing a large amount of data accumulated in a database. The batch process is a batch process of a large amount of data, and has a characteristic that the database is frequently accessed. Therefore, the efficiency of batch processing is limited by the database
Access processing efficiency occupies a large weight. In the processing method described in the above-mentioned publication, the batch processing is distributed to the client terminals other than the server terminal, so that the batch processing executed at each client terminal holds the database during the execution processing. Since data is frequently exchanged with the managed server terminal, the time that one client terminal can occupy the server terminal becomes short, and eventually the processing time is increased. However, there is a problem that expected processing performance cannot be obtained.

【0004】そこで、本発明の目的は、このような従来
の課題を解決し、データベース・アクセスを伴うバッチ
処理を効率的に処理でき、サーバの処理効率を向上でき
るクライアント・サーバ型業務処理システムのジョブ管
理方法およびそのプログラムを格納した記録媒体を提供
することにある。
Accordingly, an object of the present invention is to provide a client-server type business processing system capable of solving such a conventional problem, efficiently processing batch processing involving database access, and improving server processing efficiency. An object of the present invention is to provide a job management method and a recording medium storing the program.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明によるクライアント・サーバ型業務処理シス
テムのジョブ管理方法では、複数のジョブを同時に実行
する時、ジョブ制御の仕組を3種類に分類し、サーバの
処理時間が最も短い問合せ型処理(数秒〜数十秒)(以
下、第1クラス)と、比較的処理時間が長く、クライア
ントから随時の処理結果を求められる随時バッチ処理
(数分〜数十分)(以下、第2クラス)と、処理スケジ
ュールが確定しているか、あるいは大量データ処理とな
るため実行スケジュール表を作成して、その下で実行さ
れる純バッチ処理(数時間〜数十時間)(以下、第3ク
ラス)とに分けることにより、クラス毎に異なる方法で
ジョブ処理を実行する。クライアントからのジョブ起動
要求を上記分類に従って分類し、必要な情報をバッチジ
ョブ管理データベースに実行ジョブとして登録する。サ
ーバ上で起動しているジョブ実行管理システムは、バッ
チジョブ管理データベースへのジョブの登録状況と先行
するジョブの終了状況を見ることにより、待ち状態にな
っているジョブに起動をかける。これにより、クライア
ントからの起動要求を制限しなくても、サーバを有効に
稼動させることができ、かつ全体として公平な処理を得
ることができ、しかも必要最小限の処理を行ってサーバ
の処理効率を向上することができる。
In order to achieve the above object, in a job management method for a client-server type business processing system according to the present invention, when a plurality of jobs are executed simultaneously, job control mechanisms are classified into three types. In addition, the query type processing (several seconds to several tens of seconds) (hereinafter, the first class) in which the processing time of the server is the shortest, and the ad hoc batch processing (several minutes (Several ten minutes) (hereinafter referred to as the second class), and a processing schedule is determined or a large amount of data processing is performed. An execution schedule table is created, and pure batch processing (several hours to By dividing the job into several tens of hours (hereinafter, a third class), job processing is executed in a different manner for each class. A job activation request from a client is classified according to the above classification, and necessary information is registered as an execution job in a batch job management database. The job execution management system running on the server starts the waiting job by checking the registration status of the job in the batch job management database and the end status of the preceding job. As a result, the server can be operated effectively without restricting startup requests from the client, and fair processing can be obtained as a whole, and the processing efficiency of the server is reduced by performing the minimum necessary processing. Can be improved.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明の一実施例を示す
クライアント・サーバ型業務処理システムの概略構成図
である。本実施例では、サーバ20内に、通常の業務シ
ステム用データベース32の他に、クライアント11,
12,・・・からのジョブ起動要求を登録管理するため
のバッチジョブ管理データベース31を設ける。また、
このバッチジョブ管理データベース31を管理するため
のジョブ実行管理システム(プログラム)が設けられ
る。以下、このジョブ実行管理システムの機能動作につ
いて述べる。サーバ20は、クライアント11,12,
・・からのジョブ起動要求を受け付けると、そのジョブ
の処理特性から次の3種類のクラスに分類することによ
り、それぞれの分類に従って別個の処理を行う。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a schematic configuration diagram of a client-server type business processing system according to an embodiment of the present invention. In this embodiment, in addition to the normal business system database 32, the client 11,
, A batch job management database 31 for registering and managing the job activation requests from. Also,
A job execution management system (program) for managing the batch job management database 31 is provided. Hereinafter, the functional operation of the job execution management system will be described. The server 20 includes clients 11, 12,
When a job activation request is received from the job, the job is classified into the following three classes based on the processing characteristics of the job, and separate processing is performed according to each classification.

【0007】ジョブがサーバでの処理時間が短い(数秒
〜数十秒)問合せ型処理の場合には、これを第1クラス
に分類して、直ちにこれを実行し、即時に回答をクライ
アントに送る。例えば、自治体用業務処理システムの場
合、第1クラスに該当する業務処理には、住民記録デー
タの照会処理、転入転出処理、住民票発行処理、印鑑証
明書発行処理、各種税の納税状況照会処理、納税証明書
発行処理、各種手当給付状況照会処理等がある。ジョブ
がサーバでの処理時間が比較的長い(数分〜数十分)随
時バッチ処理の場合には、これを第2のクラスに分類し
て、バッチジョブ管理データベース31に登録する。そ
して、ジョブキューを設定して、順次これらを実行する
ことにより、全体として公平な処理を行う。なお、第2
クラスに該当する業務処理には、住民記録の人口異動統
計処理、各種税納付データの収納消し込み処理、各種税
の納付状況に関する統計資料作成処理等がある。ジョブ
が、事前に作成された実行スケジュールに従って大量デ
ータ処理(数時間〜数十時間)を行う純バッチ処理の場
合には、これを第3クラスに分類して、直ちにスケジュ
ールを生成し、それに沿って実行を開始する。この第3
クラスに該当するものとしては、日々のデータベース・
バックアップ処理、各種税の口座振替えデータ作成等の
月次処理、年度当初に実施する各種税の賦課処理等があ
る。
If the job is a query type process in which the processing time in the server is short (several seconds to several tens of seconds), it is classified into the first class, executed immediately, and an answer is immediately sent to the client. . For example, in the case of a local government business processing system, business processing corresponding to the first class includes inhabitant record data inquiry processing, transfer-in / out processing, resident certificate issuance processing, seal certificate issuance processing, tax payment status inquiry processing for various taxes , Tax payment certificate issuance processing, various benefits payment status inquiry processing, and the like. If the job is a batch process at any time where the processing time in the server is relatively long (several minutes to several tens of minutes), the job is classified into the second class and registered in the batch job management database 31. Then, a job queue is set, and the job queue is sequentially executed to perform fair processing as a whole. The second
The business process corresponding to the class includes a demographic change statistical process of a resident record, a process of storing and deleting various tax payment data, a process of creating statistical materials relating to the status of various tax payments, and the like. If the job is a pure batch process in which a large amount of data processing (several hours to several tens of hours) is performed according to an execution schedule created in advance, the job is classified into a third class, and a schedule is generated immediately. To start execution. This third
Classes include daily databases
There are monthly processing such as backup processing, creation of fund transfer data for various taxes, and various tax levy processings performed at the beginning of the fiscal year.

【0008】図3は、本発明の一実施例を示すジョブ実
行管理システムの分類毎の処理方針およびスケジュール
表を示す図である。クライアントからサーバにジョブ起
動要求が入力されると、ジョブ実行管理システム30は
これらジョブの処理の長さによって、第1クラス,第2
クラスおよび第3クラスに分類する。すなわち、サーバ
での処理時間が短い問合せ型処理の場合には第1クラ
ス、サーバでの処理時間が比較的長い、随時型バッチ処
理の場合には第2クラス、事前に作成した実行スケジュ
ールに基づいて大量データの処理を行う純バッチ処理の
場合には第3クラスにそれぞれ分類する。そして、第1
クラス(問合せ型処理)の場合には、リアルタイム性が
強い業務処理であるので、クライアントからサーバへの
処理要求に対してサーバは即時に該当する処理プログラ
ムを起動し、実行してその結果を回答する。また、第2
クラス(随時型バッチ処理)の場合には、後述の図2に
示すように、さらにこれを処理時間によりサブクラスに
分類して、ジョブキューにつないで待機させる。さら
に、第3クラス(純バッチ処理)の場合には、図3に示
すスケジュール表36に登録し、サーバ内蔵の時計機構
を用いて自動起動する。これに該当する処理は、日次処
理、月次処理のような予めその処理実行スケジュールが
確定しており、比較的長い処理時間を必要とするものが
多い。このために、図3に示すように、ジョブAは8月
5日の16時に開始し、19時に終了する。ジョブBは
それが終了してから、8月6日の9時に開始し、8月1
0日の12時に終了する。ジョブCは8月10日の13
時に開始し、17時に終了する。というように、順次、
ジョブ名、処理番号、スケジュールを登録して、これを
管理することにより、サーバ内蔵の時計機構により該当
するジョブのプログラムを起動して実行させる。そし
て、終了時刻にプログラムを終了させる。
FIG. 3 is a diagram showing a processing policy and a schedule table for each classification of the job execution management system according to an embodiment of the present invention. When a job start request is input from the client to the server, the job execution management system 30 determines the first class, the second class,
Classify into class and third class. That is, based on the first class in the case of the query type processing in which the processing time in the server is short, the second class in the case of the relatively long processing time in the server, and in the case of the ad hoc batch processing, based on the execution schedule created in advance. In the case of pure batch processing for processing a large amount of data, the data is classified into the third class. And the first
In the case of a class (inquiry type processing), since the processing is a business processing with a strong real-time property, the server immediately starts the corresponding processing program in response to a processing request from the client to the server, executes the processing program, and answers the result I do. Also, the second
In the case of a class (ad-hoc batch processing), as shown in FIG. 2 to be described later, it is further classified into sub-classes according to the processing time, and connected to a job queue for standby. Further, in the case of the third class (pure batch processing), it is registered in the schedule table 36 shown in FIG. 3 and is automatically started using a clock mechanism built in the server. For the processing corresponding to this, the processing execution schedule such as daily processing and monthly processing is determined in advance, and many processing requires a relatively long processing time. For this purpose, as shown in FIG. 3, job A starts at 16:00 on August 5 and ends at 19:00. Job B starts at 9:00 on August 6 and ends on August 1
It ends at 12:00 on day 0. Job C is 13 on August 10
Starts at 17:00 and ends at 17:00. And so on,
By registering and managing the job name, process number, and schedule, the program of the corresponding job is started and executed by a clock mechanism built in the server. Then, the program is ended at the end time.

【0009】図2は、本発明の一実施例を示す第2クラ
スのジョブ管理方法の動作説明図である。図2におい
て、11,12はジョブ起動要求を行うクライアント、
20はジョブ起動要求を受け付けて、これを実行するサ
ーバ、30はジョブを分類した後、その分類に従ってク
ラス毎に処理を実行するジョブ実行管理システム、31
はジョブを登録・管理するバッチジョブ管理データベー
ス、34は比較的短い処理時間を持つジョブ(サブクラ
ス1のジョブ)を待機させるジョブキュー1、35は比
較的長い処理時間を持つジョブ(サブクラス2のジョ
ブ)を待機させるジョブキュー2である。なお、〜
,(11),(12)はその動作順序を示す番号である。ジョブ
実行管理システム30は、図3に示すように、クライア
ント11,12からジョブ起動要求を受けると、第1ク
ラス、第2クラスおよび第3クラスに分類し、第1クラ
スのジョブは直ちに実行して回答をクライアントに返送
する。また、第3クラスのジョブはスケジュール表36
に登録して時計機構により自動的に起動と終了を行う。
さらに、第2クラスのジョブに対しては、予想処理時間
でサブクラスに分類する。
FIG. 2 is a diagram for explaining the operation of a second class job management method according to an embodiment of the present invention. In FIG. 2, reference numerals 11 and 12 denote clients that issue a job start request.
Reference numeral 20 denotes a server that receives and executes a job start request, 30 denotes a job execution management system that classifies jobs and executes processing for each class according to the classification, 31
Is a batch job management database for registering and managing jobs; 34 is a job queue 1 for holding jobs having a relatively short processing time (jobs of subclass 1); and 35 is a job having a relatively long processing time (jobs of subclass 2). ) Is a job queue 2 for waiting. Note that ~
, (11) and (12) are numbers indicating the operation order. As shown in FIG. 3, when the job execution management system 30 receives a job activation request from the clients 11 and 12, the job execution management system 30 classifies the job into a first class, a second class, and a third class, and immediately executes the first class job. To send the answer back to the client. The job of the third class is the schedule table 36.
And automatically start and end by the clock mechanism.
Further, the jobs of the second class are classified into subclasses based on the estimated processing time.

【0010】(実行ジョブの登録)第2クラスに分類さ
れたジョブは、さらにサブクラス1(処理時間が数分の
オーダである小型随時バッチ処理)と、サブクラス2
(処理時間が数十分のオーダである中大規模随時バッチ
処理)に分類される。これらのサブクラス1,2のサブ
クラス識別キーと、起動要求したクライアントのユーザ
IDと、登録した随時バッチ処理の名称と、登録番号
と、ジョブの実行条件(実行パラメータ、データ等)
を、バッチジョブ管理データベース31に付随したジョ
ブキュー(1)34およびジョブキュー(2)35に登
録する。このジョブキュー34,35は、サブクラス
1,2毎にそれぞれ設けられており、ジョブキュー
(1)34にはサブクラス1対応のジョブを、ジョブキ
ュー(2)35にはサブクラス2対応のジョブを、それ
ぞれ登録する(ステップ)。なお、図2の場合には、
現在、ジョブキュー(1)34には実行中ジョブ1と実
行待ちジョブ3がつながれており、ジョブキュー(2)
35には実行中ジョブ2のみがつながれている。その時
点で、クライアント11から要求されたジョブ4および
クライアント12から要求されたジョブ5が、ジョブキ
ュー(1)34につながれ、待機状態となっている。
(Registration of execution job) Jobs classified into the second class are further classified into subclass 1 (small random batch processing whose processing time is on the order of minutes) and subclass 2
(Medium and large-scale random batch processing in which the processing time is on the order of tens of minutes). The subclass identification keys of these subclasses 1 and 2, the user ID of the client that has requested activation, the name of the registered batch process, the registration number, and the job execution conditions (execution parameters, data, etc.)
Is registered in the job queue (1) 34 and the job queue (2) 35 attached to the batch job management database 31. The job queues 34 and 35 are provided for each of the subclasses 1 and 2. The job queue (1) 34 stores jobs corresponding to the subclass 1, the job queue (2) 35 stores jobs corresponding to the subclass 2, Register each (step). In the case of FIG. 2,
Currently, the running job 1 and the waiting job 3 are connected to the job queue (1) 34, and the job queue (2)
35, only the running job 2 is connected. At this time, the job 4 requested by the client 11 and the job 5 requested by the client 12 are connected to the job queue (1) 34 and are in a standby state.

【0011】(ジョブ実行管理システムによるジョブ起
動処理)サーバ20上では、ジョブ実行管理システム3
0を常時稼動状態にして、ジョブ実行管理システム30
が予め定められた時間間隔でバッチジョブ管理データベ
ース31中のジョブキュー34,35を参照し、登録時
間順に登録ジョブを検索して、実行待ちジョブの有無と
実行中ジョブの有無を確認し、実行待ちジョブに起動を
かける。ジョブキュー34,35に登録されたジョブが
実行待ちで、かつ、先行する実行中のジョブがない場合
には、ジョブ実行管理システム30は実行待ちのジョブ
に起動をかける(ステップ)。その時、登録しておい
たジョブの実行条件(実行パラメータ、データ等)を実
行ジョブに引き渡す。また、バッチジョブ管理データベ
ース31の該当エリア33に実行中のフラグをセットす
る(ステップ)。
(Job Execution Process by Job Execution Management System) On the server 20, the job execution management system 3
0 is always in the operating state, and the job execution management system 30
Refers to the job queues 34 and 35 in the batch job management database 31 at predetermined time intervals, searches for registered jobs in order of registration time, confirms whether there is a job waiting to be executed and whether there is a job being executed, and executes Start the waiting job. If the jobs registered in the job queues 34 and 35 are waiting to be executed and there is no preceding job being executed, the job execution management system 30 activates the waiting job (step). At this time, the execution conditions (execution parameters, data, etc.) of the registered job are transferred to the execution job. In addition, the execution flag is set in the corresponding area 33 of the batch job management database 31 (step).

【0012】このジョブキュー34,35を参照し、ジ
ョブを起動する処理は、ジョブキュー(1)34、ジョ
ブキュー(2)35のそれぞれに対して行い、同時に複
数のジョブを起動し実行させる。しかし、同時に起動、
実行するジョブ数については、システム管理者が予めコ
マンドで設定した『同時実行ジョブ数』の範囲内で、ジ
ョブを起動するようにジョブ実行管理システムがジョブ
起動の度に、『同時実行ジョブ数』を参照し、チェック
する処理を行う。また、この『同時実行ジョブ数』は、
システム管理者のコマンド操作により任意の時点で設定
変更が可能である。なお、図2では、ジョブキュー
(1)の実行中ジョブ1とジョブキュー(2)の実行中
ジョブ2とが同時並行して実行されており、現在の同時
実行ジョブ数は2であるが、例えば、クライアントから
数分と数十分の間の処理時間を持つ新しいジョブNの起
動要求があり、これが一定期間続行するような場合に
は、ジョブキュー(3)を新たに設定し、ここに新しい
ジョブNを格納して、起動をかけることによりジョブ
1,2,Nの3つのジョブを同時並行して実行させるこ
とができる。さらに、任意の時点で同時実行ジョブ数を
3から2に設定替えすることもできる。
Referring to the job queues 34 and 35, processing for starting a job is performed for each of the job queue (1) 34 and the job queue (2) 35, and a plurality of jobs are started and executed simultaneously. But start at the same time,
Regarding the number of jobs to be executed, within the range of the “number of concurrently executed jobs” set in advance by the command by the system administrator, the job execution management system sets the “number of concurrently executed jobs” And perform a check process. Also, this "number of concurrently executed jobs"
The setting can be changed at any time by a command operation of the system administrator. In FIG. 2, the running job 1 of the job queue (1) and the running job 2 of the job queue (2) are being executed simultaneously in parallel, and the current number of concurrently executing jobs is 2. For example, if there is a request from a client to start a new job N having a processing time of several minutes to tens of minutes, and this request continues for a certain period of time, a new job queue (3) is set, and By storing a new job N and starting it, three jobs 1, 2, and N can be executed concurrently. Further, the number of concurrently executing jobs can be changed from 3 to 2 at any time.

【0013】(ジョブ実行管理システムによる実行ジョ
ブ完了処理)実行中のジョブは、処理が終了した時点で
終了マクロ(通知)を発行する(ステップ)。この終
了マクロがバッチジョブ管理データベース31の該当エ
リアの実行中フラグ33を終了にして(ステップ)、
終了時の情報(終了時刻等)を書き込む(ステップ
)。実行中ジョブ1から実行完了通知が発行された
ならば、ジョブ実行管理システム30は直ちに次の待機
中の実行待ちジョブ3を起動させる(ステップ)。同
じようにして、ジョブ3の実行が完了したならば、次に
ジョブ4が起動され、次にジョブ5が起動されることに
なる。ジョブ実行管理システム30は、上記手順(ステ
ップ〜)による随時バッチ処理の実行管理機能の他
に、クライアント11,12およびサーバ20からのジ
ョブ実行状況問合わせ(ステップ)に対して、ジョブ
実行状況を表示する機能(ステップ)と、実行待ちジ
ョブキュー(1)34、(2)35に登録されているジ
ョブの実行順序変更(ステップ(11))、またはジョブ削
除(ステップ(12))を行うジョブキュー修正機能も備えて
いる。
(Execution Job Completion Processing by Job Execution Management System) The job being executed issues a termination macro (notification) when the processing is completed (step). This end macro ends the running flag 33 of the corresponding area of the batch job management database 31 (step),
The end information (end time and the like) is written (step). When the execution completion notification is issued from the running job 1, the job execution management system 30 immediately starts the next waiting execution waiting job 3 (step). Similarly, when the execution of the job 3 is completed, the job 4 is started next, and the job 5 is started next. In addition to the execution management function of the batch processing at any time according to the above-described procedures (steps to), the job execution management system 30 also sends a job execution status to a job execution status inquiry (step) from the clients 11, 12 and the server 20. The job to change the execution order (step (11)) or delete the job (step (12)) of the functions to be displayed (steps) and the jobs registered in the waiting job queues (1) 34 and (2) 35 It also has a queue modification function.

【0014】なお、図2および図3に示すジョブ実行管
理システム30が行うクラス分けや、スケジュール表へ
の登録、ジョブキューへの登録と順次実行の各動作ステ
ップを、プログラムに変換し、変換されたプログラムを
CD ROM等の記録媒体に格納すれば、その記録媒体
の内容を任意のパソコンにローディングすることによ
り、任意のパソコンをクライアント・サーバ型業務処理
システムを実現することができ、本発明によるジョブ管
理方法を簡単に実行することができる。
Each operation step of class classification, registration in a schedule table, registration in a job queue, and sequential execution performed by the job execution management system 30 shown in FIGS. 2 and 3 is converted into a program and converted. If the program is stored in a recording medium such as a CD ROM, the contents of the recording medium can be loaded into an arbitrary personal computer, thereby realizing a client-server type business processing system using the arbitrary personal computer. A job management method can be easily executed.

【0015】以上のように、本実施例においては、起動
要求された全てのジョブをデータベースシステムを保持
・管理しているサーバ20側で実行し、また、ジョブを
その処理特性に応じてクラス分けし、第1クラスは即時
実行し回答を返し、第3クラスはスケジュール表に登録
して管理し、第2クラスはそのサブクラス毎に実行待ち
キューを設けて、順次、ジョブを起動するようにしてい
る。その場合、システム管理者が設定した『同時実行ジ
ョブ数』の範囲内で複数のジョブが同時実行されるの
で、サーバ20の処理能力に応じて無駄のない、効率的
なジョブ処理が実行できる。また、ジョブ実行管理シス
テム30に、ジョブ実行状況の表示機能と、ジョブキュ
ー登録ジョブの変更機能とを設けたため、システム管理
者がこれらの機能を使用して臨機応変にジョブの実行を
制御することが可能となり、システム全体を効率よく運
用することが可能となる。
As described above, in this embodiment, all the jobs requested to be started are executed by the server 20 which holds and manages the database system, and the jobs are classified according to their processing characteristics. The first class immediately executes and returns an answer, the third class is registered and managed in a schedule table, and the second class is provided with an execution waiting queue for each of its subclasses and sequentially starts jobs. I have. In this case, since a plurality of jobs are simultaneously executed within the range of “the number of concurrently executed jobs” set by the system administrator, efficient and efficient job processing can be executed according to the processing capacity of the server 20. Further, since the job execution management system 30 is provided with a function for displaying a job execution status and a function for changing a job queue registration job, the system administrator can use these functions to flexibly control job execution. And the entire system can be operated efficiently.

【0016】[0016]

【発明の効果】以上説明したように、本発明によれば、
サーバ上で稼動するジョブをその処理時間の長短やサー
バ処理能力に応じて制御するので、クライアントから
の起動要求を制限しなくてもサーバを有効に稼動させる
ことができ、ジョブキューを設定することで、全体と
して公平な処理が得られ、ジョブの実行状況表示、実
行条件や優先順位の変更を行うことで、必要最小限の処
理を行えることになってサーバの処理効率をさらに向上
することができる。
As described above, according to the present invention,
Jobs running on the server are controlled according to the processing time and the server processing capacity, so that the server can be operated effectively without restricting startup requests from clients, and a job queue can be set. Therefore, fair processing can be obtained as a whole, and by executing the job execution status display and changing the execution conditions and priorities, it is possible to perform the minimum necessary processing, thereby further improving the processing efficiency of the server. it can.

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

【図1】本発明の一実施例を示すクライアント・サーバ
型業務処理システムの概略構成図である。
FIG. 1 is a schematic configuration diagram of a client-server type business processing system according to an embodiment of the present invention.

【図2】本発明の一実施例を示す第2クラスに対するジ
ョブ実行管理システムの動作説明図である。
FIG. 2 is a diagram illustrating an operation of a job execution management system for a second class according to an embodiment of the present invention.

【図3】本発明の一実施例を示すジョブ実行管理システ
ムの役割とスケジュール表の図である。
FIG. 3 is a diagram showing a role and a schedule table of a job execution management system according to an embodiment of the present invention.

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

11,12…クライアント、13…バス、20…サー
バ、31…バッチジョブ管理データベース、32…業務
システム用データベース、30…ジョブ実行管理システ
ム、34,35…ジョブキュー(1)(2)、33…フ
ラグエリア、36…スケジュール表。
11, 12 ... client, 13 ... bus, 20 ... server, 31 ... batch job management database, 32 ... business system database, 30 ... job execution management system, 34, 35 ... job queue (1) (2), 33 ... Flag area, 36 ... Schedule table.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B085 AC03 AC12 AC13 BG07 5B098 AA10 CC02 CC10 GA02 GA03 GA08 GB01 GB14 GB15 GB16 GC01 GC08 GC14 GD02 GD14 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B085 AC03 AC12 AC13 BG07 5B098 AA10 CC02 CC10 GA02 GA03 GA08 GB01 GB14 GB15 GB16 GC01 GC08 GC14 GD02 GD14

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のクライアント装置に接続されたサ
ーバ装置は、クライアントから起動要求されたジョブを
該ジョブの処理特性により、ジョブを即時起動させる第
1のクラスと、複数の実行待ちジョブキューに一旦登録
し、順次、該複数ジョブキューから取り出して、複数ジ
ョブを同時に実行させる第2のクラスと、該サーバ装置
に予め設定された実行スケジュール表に登録した後、該
スケジュール表に基づいてジョブ起動させる第3のクラ
スに分類し、 該クライアント装置からの問合わせによりジョブ実行状
態を表示したり、該クライアント装置からの指示により
登録されたジョブ実行順序を変更することを特徴とする
クライアント・サーバ型業務処理システムのジョブ管理
方法。
1. A server device connected to a plurality of client devices stores a job requested to be started by a client in a first class for immediately starting the job according to the processing characteristics of the job, and in a plurality of job queues waiting for execution. Once registered, sequentially extracted from the plurality of job queues, and executed in a second class for simultaneously executing a plurality of jobs, and registered in an execution schedule table set in advance in the server device, and then a job is started based on the schedule table. A client-server type characterized by displaying a job execution state by an inquiry from the client device or changing a registered job execution order by an instruction from the client device. Job management method for business processing system.
【請求項2】 前記サーバ装置により同時に実行させる
ジョブ数を、システム管理者により予め設定された『同
時実行ジョブ数』の範囲内で任意に変更できるようにし
たことを特徴とする請求項1に記載のクライアント・サ
ーバ型業務処理システムのジョブ管理方法。
2. The system according to claim 1, wherein the number of jobs simultaneously executed by the server device can be arbitrarily changed within a range of “the number of concurrently executed jobs” preset by a system administrator. The job management method of the client / server type business processing system described in the above.
【請求項3】 前記ジョブのクラス分けは、該ジョブの
処理時間の長さにより分類し、 前記第2のクラスに分類されたジョブは、さらにその処
理時間の長さにより複数のサブクラスに分類し、分類毎
にそれぞれに実行待ちジョブキューを設けて、該サブク
ラスの数のジョブを同時実行させることを特徴とする請
求項1または2に記載のクライアント・サーバ型業務処
理システムのジョブ管理方法。
3. The job classification is performed by classifying the jobs according to the processing time length, and the jobs classified into the second class are further classified into a plurality of subclasses according to the processing time lengths. 3. The job management method for a client-server type business processing system according to claim 1, wherein an execution waiting job queue is provided for each classification, and the number of jobs of the subclass is simultaneously executed.
【請求項4】 請求項1〜3のいずれかに記載のジョブ
管理方法の動作をプログラムに変換し、変換されたプロ
グラムを格納したことを特徴とするプログラム読み出し
可能な記録媒体。
4. A program readable recording medium, wherein the operation of the job management method according to claim 1 is converted into a program, and the converted program is stored.
JP10251715A 1998-09-07 1998-09-07 Job management method for client / server type business processing system and recording medium storing the program Pending JP2000081986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10251715A JP2000081986A (en) 1998-09-07 1998-09-07 Job management method for client / server type business processing system and recording medium storing the program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10251715A JP2000081986A (en) 1998-09-07 1998-09-07 Job management method for client / server type business processing system and recording medium storing the program

Publications (1)

Publication Number Publication Date
JP2000081986A true JP2000081986A (en) 2000-03-21

Family

ID=17226920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10251715A Pending JP2000081986A (en) 1998-09-07 1998-09-07 Job management method for client / server type business processing system and recording medium storing the program

Country Status (1)

Country Link
JP (1) JP2000081986A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344419A (en) * 2000-03-31 2001-12-14 Yasuda Fire & Marine Insurance Co Ltd User-oriented processing execution device, recording medium, and user-oriented processing execution method
JP2008090798A (en) * 2006-10-05 2008-04-17 Fujitsu Ltd Data processing system backup control apparatus and system
JP2008282297A (en) * 2007-05-14 2008-11-20 Ize:Kk Client/server system, program for web os and execution method for web os
JP2008310695A (en) * 2007-06-15 2008-12-25 Ntt Docomo Inc Mobile communication terminal
JP2012247885A (en) * 2011-05-26 2012-12-13 Hitachi Systems Ltd Schedule management system, control method for schedule management system and program
JP2017004121A (en) * 2015-06-05 2017-01-05 キヤノン株式会社 Information processing system and control method for the same
KR101915945B1 (en) * 2018-06-27 2018-11-08 주식회사 애포샤 A Method for processing client requests in a cluster system, a Method and an Apparatus for processing I/O according to the client requests
KR101915944B1 (en) * 2017-05-08 2018-11-08 주식회사 애포샤 A Method for processing client requests in a cluster system, a Method and an Apparatus for processing I/O according to the client requests
JP2019144902A (en) * 2018-02-21 2019-08-29 富士通株式会社 Information processing apparatus, job status display method, and job status display program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344419A (en) * 2000-03-31 2001-12-14 Yasuda Fire & Marine Insurance Co Ltd User-oriented processing execution device, recording medium, and user-oriented processing execution method
JP2008090798A (en) * 2006-10-05 2008-04-17 Fujitsu Ltd Data processing system backup control apparatus and system
JP2008282297A (en) * 2007-05-14 2008-11-20 Ize:Kk Client/server system, program for web os and execution method for web os
WO2008139993A1 (en) * 2007-05-14 2008-11-20 Ize Co., Ltd. Client server system, web os program, and web os execution method
JP2008310695A (en) * 2007-06-15 2008-12-25 Ntt Docomo Inc Mobile communication terminal
JP2012247885A (en) * 2011-05-26 2012-12-13 Hitachi Systems Ltd Schedule management system, control method for schedule management system and program
JP2017004121A (en) * 2015-06-05 2017-01-05 キヤノン株式会社 Information processing system and control method for the same
KR101915944B1 (en) * 2017-05-08 2018-11-08 주식회사 애포샤 A Method for processing client requests in a cluster system, a Method and an Apparatus for processing I/O according to the client requests
JP2019144902A (en) * 2018-02-21 2019-08-29 富士通株式会社 Information processing apparatus, job status display method, and job status display program
KR101915945B1 (en) * 2018-06-27 2018-11-08 주식회사 애포샤 A Method for processing client requests in a cluster system, a Method and an Apparatus for processing I/O according to the client requests

Similar Documents

Publication Publication Date Title
US7898679B2 (en) Method and system for scheduling jobs in a computer system
US9740522B2 (en) Controlled interruption and resumption of batch job processing
CN110806933B (en) Batch task processing method, device, equipment and storage medium
US7761556B2 (en) Performance monitoring within an enterprise software system
US20120101866A1 (en) Service level agreement design and enforcement for outsourced call center
US20040010499A1 (en) Database system with improved methods for asynchronous logging of transactions
CN109978392B (en) Agile software development management method, apparatus, electronic equipment, storage medium
JP2000081986A (en) Job management method for client / server type business processing system and recording medium storing the program
CN113793166A (en) Promotion task processing method and device, storage medium and electronic device
CN113849286A (en) Reconciliation data import method, system, device and computer-readable storage medium
US6782535B1 (en) Dynamic queue width system and method
US7797484B2 (en) Managing access to disk storage
WO2002063485A1 (en) Load balancing system and method
CN101145165A (en) Work stream data persistence processing method, device and work flow system
JP3844933B2 (en) Database server processing method
CN119376897A (en) A resource scheduling method, resource scheduling device and computer storage medium
JP2008192042A (en) Management analysis processing method, apparatus and program
CN110413643A (en) Data query method and device
CN117149381A (en) Distributed task management method, system, computing device and storage medium
US20060271929A1 (en) Method and system for providing job forecasting in a computer system
WO2022206054A1 (en) Material incremental processing method and apparatus, electronic device, and computer storage medium
JPH0844670A (en) File management method, computer system using the same, and operating method of the computer system
CN114218469B (en) Resource policy processing method, computing device, and storage medium
CN120658758A (en) Order synchronization method, order synchronization device, computer equipment and storage medium
JP2024120655A (en) Personnel allocation system, personnel allocation program, and personnel allocation method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040413