JPH02253352A - Data base update controller - Google Patents

Data base update controller

Info

Publication number
JPH02253352A
JPH02253352A JP1075393A JP7539389A JPH02253352A JP H02253352 A JPH02253352 A JP H02253352A JP 1075393 A JP1075393 A JP 1075393A JP 7539389 A JP7539389 A JP 7539389A JP H02253352 A JPH02253352 A JP H02253352A
Authority
JP
Japan
Prior art keywords
processing
data
update
database
batch
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
JP1075393A
Other languages
Japanese (ja)
Inventor
Katsuhiro Nishi
西 克洋
Yoshinori Onishi
大西 祥道
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.)
KANSAI NIPPON DENKI SOFTWARE KK
Original Assignee
KANSAI NIPPON DENKI SOFTWARE KK
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 KANSAI NIPPON DENKI SOFTWARE KK filed Critical KANSAI NIPPON DENKI SOFTWARE KK
Priority to JP1075393A priority Critical patent/JPH02253352A/en
Publication of JPH02253352A publication Critical patent/JPH02253352A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To keep the input received from a terminal equipment in a non-stop state without stopping an on-line process by deciding the executing time required for update of a data base of the on-line process based on a batch process. CONSTITUTION:A state holding means 23 receives the start/end information on a batch processor 11 and holds an executing or unexecuting state of a batch process. An information means 22 receives the batch process executing state from the means 23 and holds and stores the information received from an input means 13 to an update means 15 for an instruction of execution. Thus the executing time can be automatically controlled for update of the data base of an on-line process based on the batch process. As a result, an operator is not required to decide the executing state of the batch process nor to stop the on-line process. At the same time, the input received from a terminal equipment 12 can be kept in a non-stop state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データベース更新制御装置、特にオンライン
システムにおけるバッチ処理との並行データベース更新
処理の実行に適したデータベース更新制御装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database update control device, and particularly to a database update control device suitable for executing parallel database update processing with batch processing in an online system.

〔従来の技術〕[Conventional technology]

従来の装置を、第3図を参照して、説明する。 A conventional device will be explained with reference to FIG.

一般に、オンライン処理とバッチ処理との併行実行では
、オンライン処理からの複数の更新はランダムに発生す
る。このため、バッチ処理での加工の間、すなわち読み
出しから書き込みまでの間にデータベースの内容が更新
されている。
Generally, when online processing and batch processing are executed in parallel, multiple updates from online processing occur randomly. Therefore, the contents of the database are updated during batch processing, that is, between reading and writing.

第3図に示すバッチ処理装置において、データベース9
からデータを一括に読み出す読み出し手段17と、読み
出し手段17が読み出しデータに処理を施すデータ加工
手段18およびデータ加工手段18により処理されたデ
ータを一括に書き込む書き込み手段1つの実行中にオン
ライン処理装置10によりデータベース9の内容が更新
されると、データ加工手段18にて施した処理に矛盾が
発生する場合には、バッチ処理における読み出し4から
書き込み6の間でオンライン処理装置10を人の判断に
より停止させている。
In the batch processing apparatus shown in FIG.
When one of the reading means 17 for reading out data in a batch from the online processing device 10, the data processing means 18 for processing the read data by the reading means 17, and the writing means for writing the data processed by the data processing means 18 in a batch is executed, the online processing device 10 When the contents of the database 9 are updated, if an inconsistency occurs in the processing performed by the data processing means 18, the online processing device 10 may be stopped by human judgment between reading 4 and writing 6 in batch processing. I'm letting you do it.

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

このため、バッチ処理にて読み込処理、データ加工処理
、書き出し処理が、別工程にて処置する場合、人が判断
しオンライン処理を停止させている。
For this reason, when reading processing, data processing processing, and writing processing are handled in separate processes in batch processing, a person makes a judgment and stops the online processing.

したがって、本発明の目的は、バッチ処理からオンライ
ン処理のデータベース更新の実行時間を判断しオンライ
ン処理を停止させる必要をなくし、端末装置からの入力
を無停止の状態に保つことが可能なデータベース更新制
御装置を提供することである。
Therefore, an object of the present invention is to provide database update control that eliminates the need to stop online processing by determining the execution time of database update from batch processing to online processing, and that can maintain input from a terminal device in an uninterrupted state. The purpose is to provide equipment.

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

本発明によれば、 「データベースと、端末装置から入力されるデータを受
け付ける入力手段と、前記入力手段からのデータにもと
ずき加工処理をする更新データ処理手段と、前記更新デ
ータ処理手段で加工されたデータを蓄える更新データ蓄
積ファイルと、前記更新データ蓄積ファイルから更新デ
ータを抽出しデータベースを更新する更新手段とを有す
るオンライン処理装置と、 バッチ処理開始指示をうけて前記データベースからデー
タを一括して読み出す読み出し手段と、前記読み出し手
段により読み出されたデータに必要な処理を施すデータ
加工手段と、前記データ加工手段にて処理されたデータ
を一括してデータベースに書き込む書き込み手段とを有
するデータベース更新制御装置において、 前記バッチ処理装置の開始・終了の情報をうけてバッチ
処理が実行中か未実行中かの状態を保持する保持手段と
、前記状態保持手段からバッチ処理実行中の状態を受け
て前記入力手段からの更新手段への実行指示の通知を保
留・蓄積する通知手段とを備えることを特徴とするデー
タベース更新制御装置」 が得られる。
According to the present invention, "a database, an input means for receiving data input from a terminal device, an update data processing means for processing data based on the data from the input means, and the update data processing means" an online processing device having an update data accumulation file for storing processed data; and an update means for extracting update data from the update data accumulation file and updating the database; a data processing means for performing necessary processing on the data read by the reading means; and a writing means for writing the data processed by the data processing means into the database all at once. The update control device includes a holding unit that receives information on start and end of the batch processing device and holds a status of whether batch processing is being executed or not, and a holding unit that receives the status of batch processing from the status holding unit. and notification means for suspending and accumulating notifications of execution instructions from the input means to the update means.

〔実施例〕〔Example〕

次に、本発明の一実施例を示した図面を参照して、本発
明をより詳細に説明する。
Next, the present invention will be described in more detail with reference to the drawings showing one embodiment of the present invention.

第1図を参照すると、本発明の一実施例は、データベー
ス9と、オンライン処理装置10と、バッチ処理装置1
1と、端末装置12と、入力装置13と、更新データ処
理装置14と、更新装置15と、開始指示手段16と、
読み出し手段17と、データ加工手段18と、書き込み
手段19と、終了通知手段20と、更新データ蓄積ファ
イル21と、通知手段22と、状態保持手段23とから
構成されている。
Referring to FIG. 1, one embodiment of the present invention includes a database 9, an online processing device 10, and a batch processing device 1.
1, a terminal device 12, an input device 13, an update data processing device 14, an update device 15, a start instruction means 16,
It is composed of a reading means 17, a data processing means 18, a writing means 19, an end notification means 20, an update data accumulation file 21, a notification means 22, and a state holding means 23.

次に、本実施例の動作について、第1図および第2図を
参照して説明する。
Next, the operation of this embodiment will be explained with reference to FIGS. 1 and 2.

バッチ処理装置11において、バッチ処理の開始にあた
り、開始指示手段16により、状態保持手段23をバッ
チ処理実行中の状態に設定した後、読み出し手段8にて
、−括してデータベース9から読み出したデータを、デ
ータ加工手段18にて加工処理を施し、書き込み手段1
9にて一括してデータベースに書き込み、バッチ処理が
終了すれば、終了通知手段20により状態保持手段23
をバッチ処理未実行の状態に設定する。すなわち、状態
保持手段23の状態は、開始指示手段16により、バッ
チ処理実行中に、終了通知手段20によりバッチ処理未
実行に変遷し、バッチ処理の実行状態を保持することと
なる。
In the batch processing device 11, at the start of batch processing, the start instructing means 16 sets the state holding means 23 to a state in which the batch processing is being executed, and then the reading means 8 reads the data read out from the database 9 all at once. is processed by the data processing means 18 and written to the writing means 1.
9, when the batch processing is completed, the state holding means 23 is sent by the completion notification means 20.
Set to batch processing not executed. That is, the state of the state holding means 23 is changed by the start instruction means 16 to batch processing not being executed by the end notification means 20 while the batch processing is being executed, and the execution state of the batch processing is maintained.

一方、オンライン処理装置19においては、端末袋W1
からの入力データを入力手段13が受け付け、更新デー
タ処理手段14に入力データを引き渡すとともに、更新
データの発生を更新手段15に知らせるよう、通知手段
22に指示する。
On the other hand, in the online processing device 19, the terminal bag W1
The input means 13 receives the input data from the update data processing means 14, and instructs the notification means 22 to notify the update means 15 of the occurrence of update data.

入力手段13から入力データを渡された更新データ処理
手段3では、入力データ加工処理を施して更新データを
作成し、更新データ蓄積ファイル21に格納する。
The update data processing means 3 that receives the input data from the input means 13 processes the input data to create update data and stores it in the update data accumulation file 21.

入力手段13から更新データの発生を知らされた通知手
段22では、状態保持手段23にて、バッチ処理の実行
状態を参照し、バッチ処理未実行の状態であれば、即時
に更新処理の実行指示を更新手段15へ通知し、バッチ
処理実行中の状態であれば、更新処理の実行指示を更新
手段15に通知することを保留し、状態保持手段23の
状態がバッチ処理未実行の状態に変遷後に更新手段15
へ更新処理の実行指示を通知する0通知手段22により
更新処理の実行指示を通知された更新手段15は、更新
データ蓄積ファイル21から更新データを抽出し、デー
タベース9に実際に更新する。
The notification means 22, which is notified of the occurrence of update data from the input means 13, refers to the execution state of the batch process in the state holding means 23, and immediately issues an instruction to execute the update process if the batch process is not yet executed. is notified to the updating means 15, and if the batch processing is being executed, the notification of the update processing execution instruction to the updating means 15 is suspended, and the state of the state holding means 23 is changed to the state where the batch processing is not executed. Later update means 15
The updating means 15, which has been notified of the instruction to execute the update processing by the notification means 22, extracts the update data from the update data accumulation file 21 and actually updates it in the database 9.

このようにすれば、第2図におけるバッチ処理の読み出
し4から書き込み6までの間にオンライン処理にて発生
した更新は、更新が保留され、時期8に更新されること
となり、バッチ処理での加工5に矛盾は発生しない。す
なわち、本実施例のデータベース更新制御装置が、オン
ライン処理のデータベース更新の実行時期を自動制御す
るので、人がバッチ処理の実行状態を判断したオンライ
ン処理の停止をする必要がなく、合わせて端末装置から
の入力の無停止の状態を保つことができる。
In this way, updates that occur in online processing between read 4 and write 6 in batch processing in Figure 2 will be suspended and updated at time 8, and processing in batch processing will be suspended. No contradiction occurs in 5. In other words, since the database update control device of this embodiment automatically controls the execution timing of database update for online processing, there is no need for a person to stop online processing after determining the execution status of batch processing, and the terminal device It is possible to maintain an uninterrupted state of input from.

なお、本発明は、オンライン処理とバッチ処理とが別装
置で処理される場合に限らず、例えば−装置内での実現
されているシステムでも有効である。
Note that the present invention is effective not only in a case where online processing and batch processing are performed in separate devices, but also in a system in which online processing and batch processing are implemented within a device, for example.

また、本発明はバッチ処理装置の機能ブロックの構成に
おいて、データベースからの読み出し手段とデータベー
スへの書き込み手段との実行時間が異なる場合、その間
に処理されることなく有効である。
Further, the present invention is effective in the configuration of functional blocks of a batch processing device, when the execution time of the means for reading from the database and the means for writing to the database are different, without any processing being performed between them.

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

以上説明したように、本発明によれば、バッチ処理より
オンライン処理のデータベース更新の実行時間を自動的
制御可能にすることにより、人がバッチ処理の実行状態
を判断し、オンライン処理を停止させる必要をなくし、
合わせて端末装置からの入力を無停止の状態に保つこと
を可能にしな。
As explained above, according to the present invention, by making it possible to automatically control the execution time of database update for online processing rather than batch processing, it is no longer necessary for a person to judge the execution status of batch processing and stop online processing. Eliminate the
It also makes it possible to maintain uninterrupted input from the terminal device.

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

第1図は本発明の一実施例のデータベース更新制御装置
の機能ブロック図、第2図は本実施例におけるオンライ
ン処理の併行処理でのデータベース更新の実行時期の説
明図、第3図は従来のデータベース更新制御装置の機能
ブロック図である。 1.2,3:オンライン処理によるデータベース更新時
期、4:バッチ処理によるデータベースがらの一括読み
出し時期、5:バッチ処理によるデータ加工の時間経過
、6:バッチ処理によるデータベースへの一括書き込み
時期、8:本発明により保、留された後、更新が実行さ
れる2に対するオンライン処理によるデータベース更新
時期、9:データベース、lOコオンライン処理装置、
11:バッチ処理装置、12:端末措置等のオンライン
入力装置、13:端末装置がらの入力を受ける入力装置
、14:入力データを加工する更新データ処理装置、1
4:データベースへ実際に更新をする更新手段、16:
バッチ処理装置の開始を示す開始指示手段、17:バッ
チ処理にてデータベースからデータを一括に読み出す読
み出し手段、18:バッチ処理に読み出しデータを加工
するデータ加工手段、19:バッチ処理にて加工したデ
ータを一括してデータベースへ書き込む書き込み手段、
20:バッチ処理装置の終了を示す終了通知手段、21
:オンライン処理にて入力データを加工した後のデータ
ベースへの更新データを蓄積する更新データ蓄積ファイ
ル、22:入力手段からの更新データ発生を更新手段へ
知らせる通知手段、23:バッチ処理の実行状態を保持
する状態保持手段。 代理人 弁理士  内 原  晋 あ 第 図
Fig. 1 is a functional block diagram of a database update control device according to an embodiment of the present invention, Fig. 2 is an explanatory diagram of execution timing of database update in parallel processing of online processing in this embodiment, and Fig. 3 is a diagram of a conventional database update control device. FIG. 2 is a functional block diagram of a database update control device. 1.2, 3: Timing of updating the database by online processing, 4: Timing of bulk reading of the database by batch processing, 5: Time elapse of data processing by batch processing, 6: Timing of bulk writing to the database by batch processing, 8: Database update timing by online processing for 2 in which update is executed after being retained according to the present invention; 9: Database; 1Oco online processing device;
11: Batch processing device, 12: Online input device for terminal processing, etc., 13: Input device that receives input from the terminal device, 14: Update data processing device that processes input data, 1
4: Update means for actually updating the database, 16:
17: reading means for reading out data from the database in batch processing in batch processing; 18: data processing means for processing read data in batch processing; 19: data processed in batch processing. A writing method that writes data to the database in bulk,
20: Termination notification means indicating termination of the batch processing device, 21
:Update data accumulation file for accumulating update data to the database after input data is processed by online processing; 22: Notification means for notifying the update means of generation of update data from the input means; 23: Indicating the execution status of batch processing. means for maintaining the state. Agent Patent Attorney Shina Uchihara Diagram

Claims (1)

【特許請求の範囲】 データベースと、端末装置から入力されるデータを受け
付ける入力手段と、前記入力手段からのデータにもとず
き加工処理をする更新データ処理手段と、前記更新デー
タ処理手段で加工されたデータを蓄える更新データ蓄積
ファイルと、前記更新データ蓄積ファイルから更新デー
タを抽出しデータベースを更新する更新手段とを有する
オンライン処理装置と、 バッチ処理開始指示をうけて前記データベースからデー
タを一括して読み出す読み出し手段と、前記読み出し手
段により読み出されたデータに必要な処理を施すデータ
加工手段と、前記データ加工手段にて処理されたデータ
を一括してデータベースに書き込む書き込み手段とを有
するデータベース更新制御装置において、 前記バッチ処理装置の開始・終了の情報をうけてバッチ
処理が実行中か未実行中かの状態を保持する保持手段と
、前記状態保持手段からバッチ処理実行中の状態を受け
て前記入力手段からの更新手段への実行指示の通知を保
留・蓄積する通知手段とを備えることを特徴とするデー
タベース更新制御装置。
[Scope of Claims] A database, input means for receiving data input from a terminal device, update data processing means for processing data based on the data from the input means, and processing performed by the update data processing means. an online processing device having an update data storage file for storing updated data; and an update means for extracting update data from the update data storage file and updating the database; a data processing means for performing necessary processing on the data read by the reading means; and a writing means for writing the data processed by the data processing means into a database all at once. In the control device, a holding means receives start/end information of the batch processing device and holds a state of whether batch processing is being executed or not, and a holding means receives a state of batch processing being executed from the status holding means A database update control device comprising: notification means for suspending and accumulating notifications of execution instructions from the input means to the update means.
JP1075393A 1989-03-27 1989-03-27 Data base update controller Pending JPH02253352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1075393A JPH02253352A (en) 1989-03-27 1989-03-27 Data base update controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1075393A JPH02253352A (en) 1989-03-27 1989-03-27 Data base update controller

Publications (1)

Publication Number Publication Date
JPH02253352A true JPH02253352A (en) 1990-10-12

Family

ID=13574901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1075393A Pending JPH02253352A (en) 1989-03-27 1989-03-27 Data base update controller

Country Status (1)

Country Link
JP (1) JPH02253352A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348565A (en) * 1993-06-10 1994-12-22 Nec Corp Message batch processing system with message quantity administrating function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348565A (en) * 1993-06-10 1994-12-22 Nec Corp Message batch processing system with message quantity administrating function

Similar Documents

Publication Publication Date Title
JPH02253352A (en) Data base update controller
JPH04284548A (en) Data base exclusive controlling system
JP2570974B2 (en) Concurrent office business support equipment
CN106844025A (en) A kind of asynchronous interrupt processing method and interrupt control unit
JP2664197B2 (en) Synchronization assurance processing method for duplicated volumes
JPH0845805A (en) Production control system
JPS61229130A (en) Data processor
JPH0373893B2 (en)
JPH04256062A (en) Memory table restoration processing system
JPH01112448A (en) System for updating file
JP2712670B2 (en) Media issuing device
JPH1069413A (en) Data file processing state management system
JPH03282756A (en) Asynchronous input/output system
JPH04175830A (en) Rerun control system
JPH01311640A (en) System for recovering reception data
JPH03278144A (en) Managing system for file in magnetic tape
JPS6254347A (en) Processing system for fault of file
JPH04178731A (en) Reuse system for method cache information in object oriented processing system
JPS63255722A (en) Restarting method for work station
JPS59188702A (en) Programmable controller
JPS63298553A (en) Business fault processing system
JPH0844580A (en) Logical system switching system
JPS6254348A (en) Processing system for fault of file
JPH01158544A (en) Recording system for library fault
JPH04323758A (en) Interactive transaction processing system