JPH04256141A - On-line processing system - Google Patents

On-line processing system

Info

Publication number
JPH04256141A
JPH04256141A JP3017314A JP1731491A JPH04256141A JP H04256141 A JPH04256141 A JP H04256141A JP 3017314 A JP3017314 A JP 3017314A JP 1731491 A JP1731491 A JP 1731491A JP H04256141 A JPH04256141 A JP H04256141A
Authority
JP
Japan
Prior art keywords
system side
file
main system
update
secondary system
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.)
Withdrawn
Application number
JP3017314A
Other languages
Japanese (ja)
Inventor
Yoshiharu Kasama
笠間 芳治
Kazumitsu 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.)
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 JP3017314A priority Critical patent/JPH04256141A/en
Publication of JPH04256141A publication Critical patent/JPH04256141A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To perform the batch processing without interrupting the on-line processing in en on-line processing system applying a duplex computer system consisting of a main system and a sub-system. CONSTITUTION:If a sub-system performs no batch processing during the on-line processing of a main system, the updated information obtained from the on-line processing is successively transferred to the sub-system from the main system. Based on this updated information, the synchronization is secured between both systems. When the sub-system starts the batch processing, the updated information obtained from the on-line processing is stored in the main system. This stored information is transferred to the sub-system when the batch processing is complete. Then the synchronization is recovered between both systems based on the updated information.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はオンライン処理方式に関
する。近年、コンピュータシステムによるオンライン処
理の普及とともに利用時間帯の延長、さらには無休稼働
が要求されるようになってきた。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to online processing systems. In recent years, with the spread of online processing using computer systems, there has been a demand for extended operating hours and even for round-the-clock operation.

【0002】0002

【従来の技術】オンライン処理は、コンピュータシステ
ムに内蔵されたマスタファイルを端末装置から送られて
きたデータをもとにリアルタイムで更新しながら行われ
るため、オンライン処理中にマスタファイルを他の目的
に用いることはできない。
[Prior Art] Online processing is performed by updating a master file built into a computer system in real time based on data sent from a terminal device, so the master file can be used for other purposes during online processing. It cannot be used.

【0003】しかしながら、オンライン処理システムに
おいても、一定期間ごとにマスタファイルの内容の一括
印刷あるいはマスタファイルの保守等のバッチ処理を行
う必要があり、この場合には、オンライン処理を一時中
断しなければならない。
However, even in online processing systems, it is necessary to perform batch processing such as batch printing of master file contents or maintenance of master files at regular intervals, and in this case, it is necessary to temporarily suspend online processing. It won't happen.

【0004】そこで、オンライン処理の中断期間短縮を
図るためマスタファイルを二重化し、一方のマスタファ
イルを用いてオンライン処理を行っている間に他方のマ
スタファイルを用いてバッチ処理を行う方式が用いられ
ている。しかし従来の方式では、バッチ処理が終了した
後、両方のマスタファイルの同期をとるためにいったん
オンライン処理を中断する必要があり、無休でオンライ
ン処理を行うことはできなかった。
[0004] Therefore, in order to shorten the interruption period of online processing, a method is used in which the master files are duplicated, and while online processing is performed using one master file, batch processing is performed using the other master file. ing. However, in the conventional method, after batch processing is completed, it is necessary to temporarily interrupt online processing in order to synchronize both master files, making it impossible to perform online processing 24/7.

【0005】[0005]

【発明が解決しようとする課題】従って従来は、なるべ
くオンライン処理業務に影響を与えないような時間帯に
中断期間を設定していた。そのため、中断期間は夜間あ
るいは休日等に限られてしまい作業者に大きな負担がか
かるという問題があった。
[Problems to be Solved by the Invention] Conventionally, therefore, the suspension period has been set at a time that does not affect online processing operations as much as possible. Therefore, the interruption period is limited to nighttime, holidays, etc., which poses a problem of placing a heavy burden on the worker.

【0006】そこで本発明は、オンライン処理を中断す
ることなくバッチ処理を行うことを目的とする。
[0006] Accordingly, an object of the present invention is to perform batch processing without interrupting online processing.

【0007】[0007]

【課題を解決するための手段】上記課題の解決は、主シ
ステムと副システムからなる二重化されたコンピュータ
システムにより無休でオンライン処理を行うオンライン
処理方式であって、上記主システムと副システムはそれ
ぞれマスタファイル1a、1b、更新ファイル2a、2
b、蓄積ファイル3a、3bを有し、主システム側でオ
ンライン処理中に生じた主システム側マスタファイル1
aの更新情報を主システム側更新ファイル2aに書き込
み、副システム側でバッチ処理が行われていない場合に
は、上記主システム側更新ファイル2aの内容を副シス
テム側更新ファイル2bに送り、副システム側では、上
記副システム側更新ファイル2bを用いて副システム側
マスタファイル1bを更新することにより主システム側
マスタファイル1aとの同期を保持し、上記オンライン
処理中に副システム側でバッチ処理が開始されると、主
システム側更新ファイル2aの内容を主システム側蓄積
ファイル3aに蓄積し、上記バッチ処理が終了すると、
上記主システム側蓄積ファイル3aの内容を副システム
側蓄積ファイル3bに転送するとともに上記バッチ処理
終了後のオンライン処理により生じた主システム側マス
タファイル1aの更新情報は主システム側更新ファイル
2aを介して副システム側更新ファイル2bに転送し、
副システム側では、上記副システム側更新ファイル2b
および副システム側蓄積ファイル3bを用いて副システ
ム側マスタファイル1bを更新することにより主システ
ム側マスタファイル1aとの同期を回復するようにした
ことを特徴とするオンライン処理方式によって達成され
る。
[Means for solving the problem] The solution to the above problem is an online processing method in which online processing is performed 24/7 by a redundant computer system consisting of a main system and a sub system, and each of the main system and sub system has a master system. Files 1a, 1b, update files 2a, 2
b. Master file 1 on the main system side that has accumulated files 3a and 3b and was generated during online processing on the main system side.
The update information of a is written to the main system side update file 2a, and if batch processing is not performed on the secondary system side, the contents of the main system side update file 2a are sent to the secondary system side update file 2b, and On the side, the secondary system side master file 1b is updated using the secondary system side update file 2b to maintain synchronization with the main system side master file 1a, and batch processing is started on the secondary system side during the above online processing. Then, the contents of the main system side update file 2a are accumulated in the main system side storage file 3a, and when the above batch processing is completed,
The contents of the main system side storage file 3a are transferred to the secondary system side storage file 3b, and update information of the main system side master file 1a generated by online processing after the above batch processing is completed is transferred via the main system side update file 2a. Transfer to the secondary system side update file 2b,
On the secondary system side, the above secondary system side update file 2b
This is achieved by an online processing method characterized in that the synchronization with the main system master file 1a is restored by updating the secondary system master file 1b using the secondary system storage file 3b.

【0008】[0008]

【作用】本発明では、主システム側でオンライン処理中
に生じた更新情報を順次主システム側更新ファイル2a
に書き込む。そしてオンライン処理中に副システム側で
バッチ処理が行われていない場合には、この主システム
側更新ファイル2aの内容を副システム側に転送し、副
システム側では、これを用いてマスタファイル1bの内
容を更新し主システム側マスタファイル1aとの内容の
同一性を保持するようにする。
[Operation] In the present invention, update information generated during online processing on the main system side is sequentially transferred to the main system side update file 2a.
write to. If batch processing is not being performed on the secondary system side during online processing, the contents of this main system side update file 2a are transferred to the secondary system side, and the secondary system side uses this to update the master file 1b. The content is updated to maintain the same content as the master file 1a on the main system side.

【0009】そして主システム側でオンライン処理中に
副システム側でバッチ処理が開始されると、副システム
側への更新情報の転送を中断し主システムと副システム
とを切り離すようにしているので、副システム側でバッ
チ処理に専念することができる。
[0009] When batch processing is started on the secondary system side during online processing on the main system side, the transfer of update information to the secondary system side is interrupted and the main system and the secondary system are separated. The secondary system can concentrate on batch processing.

【0010】一方、主システム側ではバッチ処理の有無
にかかわりなくオンライン処理を続行し、これによって
生じた更新情報は主システム側の蓄積ファイル3aに蓄
積しておく。
On the other hand, on the main system side, online processing continues regardless of whether or not batch processing is performed, and update information generated thereby is accumulated in the storage file 3a on the main system side.

【0011】そして副システム側でバッチ処理が終了す
ると、このバッチ処理期間中のオンライン処理によって
主システム側蓄積ファイル3aに蓄積された更新情報を
副システム側の蓄積ファイル3bに送るとともに、上記
バッチ処理終了後の更新情報は、前と同様に順次副シス
テム側へ転送するようにする。副システム側では、主シ
ステム側から送られてきたこれらの情報によってマスタ
ファイル1bを更新し主システム側マスタファイル1a
との内容の同一性を回復することができる。
When the batch processing is completed on the secondary system side, the update information accumulated in the main system side storage file 3a through online processing during this batch processing period is sent to the storage file 3b on the secondary system side, and the above batch processing is completed. After completion, the updated information is sequentially transferred to the secondary system side as before. On the secondary system side, the master file 1b is updated with this information sent from the main system side, and the master file 1a on the main system side is updated.
The content identity can be restored.

【0012】以上のように本発明では、バッチ処理の有
無にかかわりなく主システムと副システムのマスタファ
イルの内容の同一性を保持することができるので、オン
ライン処理を中断することなく実行できることになる。
As described above, according to the present invention, it is possible to maintain the same content of the master files of the main system and the subsystem regardless of whether or not batch processing is performed, so that online processing can be executed without interruption. .

【0013】[0013]

【実施例】図1は本発明の実施例を示すブロック図であ
り、同一構成の主システムと副システムとからなる。同
図において、1a、1bはマスタファイル、2a、2b
は更新ファイル、3a、3bは蓄積ファイル、4a、4
bは中央処理装置、5a、5bは通信制御装置、6、7
は端末装置である。 図2は本発明の実施例を示す流れ図である。以下、図1
および図2を参照して本発明の実施例について説明する
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention, which consists of a main system and a subsystem having the same configuration. In the same figure, 1a and 1b are master files, 2a and 2b
are update files, 3a and 3b are storage files, 4a and 4
b is a central processing unit, 5a, 5b are communication control devices, 6, 7
is a terminal device. FIG. 2 is a flow diagram illustrating an embodiment of the invention. Below, Figure 1
An embodiment of the present invention will be described with reference to FIG.

【0014】本実施例では、図1に示したようにオンラ
イン処理を行うために多数の端末装置6が主システム側
の中央処理装置4aに接続される。そして中央処理装置
4aは、端末装置6から送られてきたデータによってマ
スタファイル1aを更新しつつオンライン処理を実行す
る(S1)。このオンライン処理によって生じたマスタ
ファイル1aの更新内容は更新情報として更新ファイル
2aに順次書き込まれる(S2)。
In this embodiment, as shown in FIG. 1, a large number of terminal devices 6 are connected to the central processing unit 4a on the main system side in order to perform online processing. The central processing unit 4a then executes online processing while updating the master file 1a with the data sent from the terminal device 6 (S1). The update contents of the master file 1a caused by this online processing are sequentially written to the update file 2a as update information (S2).

【0015】一方、副システム側においてバッチ処理を
行うか否かは、オペレーターが端末装置7によって中央
処理装置4bに指示する(S3)。中央処理装置4bは
バッチ処理がない場合には通信制御装置5b、5aを介
して主システム側の中央処理装置4aに更新情報転送命
令を送り、バッチ処理がある場合には更新情報転送抑止
命令を送る。
On the other hand, the operator instructs the central processing unit 4b via the terminal device 7 whether or not to perform batch processing on the subsystem side (S3). The central processing unit 4b sends an update information transfer command to the central processing unit 4a on the main system side via the communication control devices 5b and 5a when there is no batch processing, and sends an update information transfer inhibition command when there is batch processing. send.

【0016】そして主システム側の中央処理装置4aで
は、更新情報転送命令が入力されている間は、更新ファ
イル2aの内容を順次副システム側更新ファイル2bに
転送する(S4)。副システム側中央処理装置4bは、
この更新ファイル2bの更新情報によってマスタファイ
ル1bの内容を更新する(S5)。これによって主シス
テム側マスタファイル1aと副システム側マスタファイ
ル1bの内容を同一に保持する。
The central processing unit 4a on the main system side sequentially transfers the contents of the update file 2a to the update file 2b on the subsystem side while the update information transfer command is being input (S4). The secondary system side central processing unit 4b is
The contents of the master file 1b are updated based on the update information of the update file 2b (S5). This keeps the contents of the master system master file 1a on the main system and the master file 1b on the secondary system the same.

【0017】副システム側でバッチ処理を行う場合には
、主システム側の中央処理装置1aに情報転送抑止命令
が送られる。中央処理装置1aでは、この命令を受けて
更新ファイル2aの内容を蓄積ファイル3aへ転送する
(S6)。この情報転送抑止命令は副システム側でバッ
チ処理が終了するまで中央処理装置1aに入力され、こ
の間、副システム側には更新情報は転送されず主システ
ムと切り離された状態でバッチ処理を行うことができる
When batch processing is performed on the subsystem side, an information transfer suppression command is sent to the central processing unit 1a on the main system side. In response to this command, the central processing unit 1a transfers the contents of the update file 2a to the storage file 3a (S6). This information transfer suppression command is input to the central processing unit 1a until batch processing is completed on the secondary system side, and during this time, updated information is not transferred to the secondary system side and batch processing is performed in a state separated from the main system. Can be done.

【0018】バッチ処理が終了すると、情報転送抑止命
令は情報転送命令に切り換えられる(S7)。ついで主
システム側蓄積ファイル3aに蓄積されていた更新情報
は副システム側蓄積ファイル3bに転送される(S8)
。それとともにバッチ処理終了後の更新情報は再び主シ
ステム側更新ファイル2aから副システム側更新ファイ
ル2bへ転送される(S9)。副システム側中央処理装
置4bはこれらの情報によってマスタファイル1bの内
容を更新し、主システム側マスタファイル1aとの同一
性を回復させる(S10)。
[0018] When the batch processing is completed, the information transfer inhibition command is switched to an information transfer command (S7). Next, the update information stored in the main system storage file 3a is transferred to the secondary system storage file 3b (S8).
. At the same time, the update information after the batch processing is completed is transferred again from the main system side update file 2a to the sub system side update file 2b (S9). The secondary system side central processing unit 4b updates the contents of the master file 1b using this information, and restores the sameness with the main system side master file 1a (S10).

【0019】本実施例では、主システム側でオンライン
処理中に副システム側でバッチ処理を行う方法について
述べたが、副システム側ではバッチ処理に限られること
なくハードやソフトの保守等の作業を行うこともでき、
この場合にも作業が終了した後はオンライン処理を中断
することなくマスタファイルの同期を回復することが可
能である。
In this embodiment, a method has been described in which batch processing is performed on the secondary system side while online processing is performed on the main system side. However, the secondary system side is not limited to batch processing, and can also perform work such as maintenance of hardware and software You can also do
In this case as well, after the work is completed, it is possible to restore synchronization of the master file without interrupting online processing.

【0020】[0020]

【発明の効果】以上のように本発明によれば、オンライ
ン処理を中断することなくバッチ処理や各種保守あるい
はデータベース管理を行うことができるので、オンライ
ン処理システムの利用分野の拡大、信頼性の向上を図る
上で有益である。
[Effects of the Invention] As described above, according to the present invention, batch processing, various types of maintenance, and database management can be performed without interrupting online processing, thereby expanding the field of use of online processing systems and improving reliability. It is useful for achieving this goal.

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

【図1】本発明の実施例を示すブロック図、FIG. 1 is a block diagram showing an embodiment of the present invention;

【図2】本
発明の実施例を示す流れ図、
FIG. 2 is a flow diagram illustrating an embodiment of the present invention;

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

1a、1b  マスタファイル、          
  4a、4b  中央処理装置、 2a、2b  更新ファイル、           
   5a、5b  通信制御装置、 3a、3b  蓄積ファイル、           
   6、7    端末装置、
1a, 1b master file,
4a, 4b central processing unit, 2a, 2b update file,
5a, 5b communication control device, 3a, 3b storage file,
6,7 Terminal device,

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主システムと副システムからなる二重
化されたコンピュータシステムにより無休でオンライン
処理を行うオンライン処理方式であって、上記主システ
ムと副システムはそれぞれマスタファイル(1a,1b
) 、更新ファイル(2a,2b) 、蓄積ファイル(
3a,3b) を有し、主システム側でオンライン処理
中に生じた主システム側マスタファイル(1a)の更新
情報を主システム側更新ファイル(2a)に書き込み、
副システム側でバッチ処理が行われていない場合には、
上記主システム側更新ファイル(2a)の内容を副シス
テム側更新ファイル(2b)に送り、副システム側では
、上記副システム側更新ファイル(2b)を用いて副シ
ステム側マスタファイル(1b)を更新することにより
主システム側マスタファイル(1a)との同期を保持し
、上記オンライン処理中に副システム側でバッチ処理が
開始されると、主システム側更新ファイル(2a)の内
容を主システム側蓄積ファイル(3a)に順次蓄積し、
上記バッチ処理が終了すると、上記主システム側蓄積フ
ァイル(3a)の内容を副システム側蓄積ファイル(3
b)に転送するとともに上記バッチ処理終了後のオンラ
イン処理により生じた主システム側マスタファイル(1
a)の更新情報を主システム側更新ファイル(2a)を
介して副システム側更新ファイル(2b)に転送し、副
システム側では、上記副システム側更新ファイル(2b
)および副システム側蓄積ファイル(3b)を用いて副
システム側マスタファイル(1b)を更新することによ
り主システム側マスタファイル(1a)との同期を回復
するようにしたことを特徴とするオンライン処理方式。
Claim 1: An online processing method that performs online processing 24/7 using a redundant computer system consisting of a main system and a subsystem, wherein the main system and subsystem each have a master file (1a, 1b).
), update files (2a, 2b), accumulated files (
3a, 3b), and writes update information of the main system side master file (1a) generated during online processing on the main system side to the main system side update file (2a),
If batch processing is not performed on the secondary system,
The contents of the main system side update file (2a) are sent to the secondary system side update file (2b), and the secondary system side updates the secondary system side master file (1b) using the above secondary system side update file (2b). By doing this, synchronization with the master file (1a) on the main system side is maintained, and when batch processing is started on the sub system side during the above online processing, the contents of the update file (2a) on the main system side are stored on the main system side. Sequentially accumulate in file (3a),
When the above batch processing is completed, the contents of the main system storage file (3a) are transferred to the secondary system storage file (3a).
b) and the main system side master file (1
The update information in a) is transferred to the secondary system side update file (2b) via the main system side update file (2a), and on the secondary system side, the above mentioned secondary system side update file (2b) is transferred to the secondary system side update file (2b).
) and the secondary system side storage file (3b) to update the secondary system side master file (1b) to restore synchronization with the main system side master file (1a). method.
JP3017314A 1991-02-08 1991-02-08 On-line processing system Withdrawn JPH04256141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3017314A JPH04256141A (en) 1991-02-08 1991-02-08 On-line processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3017314A JPH04256141A (en) 1991-02-08 1991-02-08 On-line processing system

Publications (1)

Publication Number Publication Date
JPH04256141A true JPH04256141A (en) 1992-09-10

Family

ID=11940556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3017314A Withdrawn JPH04256141A (en) 1991-02-08 1991-02-08 On-line processing system

Country Status (1)

Country Link
JP (1) JPH04256141A (en)

Similar Documents

Publication Publication Date Title
US6640291B2 (en) Apparatus and method for online data migration with remote copy
US6658434B1 (en) Method of and a system for recovering data in an information processing system
EP1111509B1 (en) Apparatus for enabling independent access to replicated data
US8131962B2 (en) Storage system and method of producing recovery volume
JPH04256141A (en) On-line processing system
US20050240808A1 (en) Write set boundary management in support of asynchronous update of secondary storage
JP2666426B2 (en) Duplex auxiliary storage device
JPS6286426A (en) Data base backup system
JP2850757B2 (en) Failure handling method in hierarchical file system
JP2806342B2 (en) Database failure recovery method and device
JPH03244057A (en) Program transfer maintenance system
JPH0363738A (en) Exchange system recovering method
JP2004199116A (en) Division back-up/restoration application system
JPH0378848A (en) Transfer system for back-up data
JPS6160155A (en) Memory subsystem
JPH03266045A (en) Data base system
JPH08235038A (en) Resource updating decision system
JPH07210440A (en) Method for synchronizing database generation of distributed database
JPS63292336A (en) Information processor
JPH02207359A (en) Data saving device
JPH04242438A (en) Mutual backup system for on-line system
JPH03206528A (en) Information processing system
JPH01315836A (en) Synchronizing system between central processing unit and pre-processor
JPH08272696A (en) Information processor and memory contents restoration method
JPH02213260A (en) Data restoring system for electronic exchange

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514