JP3471717B2 - Nonstop online service system, method, and recording medium - Google Patents

Nonstop online service system, method, and recording medium

Info

Publication number
JP3471717B2
JP3471717B2 JP2000157129A JP2000157129A JP3471717B2 JP 3471717 B2 JP3471717 B2 JP 3471717B2 JP 2000157129 A JP2000157129 A JP 2000157129A JP 2000157129 A JP2000157129 A JP 2000157129A JP 3471717 B2 JP3471717 B2 JP 3471717B2
Authority
JP
Japan
Prior art keywords
data
message
data file
processing
active 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.)
Expired - Fee Related
Application number
JP2000157129A
Other languages
Japanese (ja)
Other versions
JP2001337844A (en
Inventor
敦 仲山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Software Chubu Ltd
Original Assignee
NEC Software Chubu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP2000157129A priority Critical patent/JP3471717B2/en
Publication of JP2001337844A publication Critical patent/JP2001337844A/en
Application granted granted Critical
Publication of JP3471717B2 publication Critical patent/JP3471717B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は無停止オンラインサ
ービスのシステム、方法、及び記録媒体に関し、特に現
用系と待機系とを交互に切り換えて運転する際の制御に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system, a method and a recording medium for non-stop online service, and more particularly to control when alternately operating an active system and a standby system.

【0002】[0002]

【従来の技術】従来、オンラインシステムに対して、あ
る時点の静的データ(静止点のデータ)を必要とするバ
ッチ処理や、データベース再編成、プログラム入れ替
え、ファイルのセーブ等の保守作業等を行うためには、
オンライン業務が終了する深夜やオンライン業務のない
休日等の時間を利用して行われていた。
2. Description of the Related Art Conventionally, for an online system, batch processing that requires static data (data at a quiescent point) at a certain point of time, maintenance work such as database reorganization, program replacement, and file saving are performed. In order to
It was done at midnight when the online business ends, or on holidays when there is no online business.

【0003】例えば金融機関の勘定系のように夜間でも
オンライン業務を停止せずに運転する無停止オンライン
システムにおいて、新たに運転中にバッチ処理や保守作
業を並行して実行できるようにするためには、従来使用
中のプログラムを大幅に改造する必要があった。さら
に、この改造に伴って、システム基盤ソフト、アプリケ
ーションソフトに大きな影響が発生してしまうことは避
けられなかった。
In order to enable batch processing and maintenance work to be executed concurrently during a new operation in a non-stop online system that operates without stopping the online business even at night, such as the accounting system of a financial institution. Had to make major modifications to the program it was using. Furthermore, it is inevitable that the system infrastructure software and application software will be greatly affected by this modification.

【0004】これを回避するものとして、オンライン処
理とバッチ処理等を並行して実行するために、オンライ
ン処理を行う現用系とバッチ処理や保守作業を行う待機
系とに二重化することが知られている。例えば、特開平
4−256141では、待機系でバッチ処理や保守作業
が実行されていない場合は、現用系によるオンラインデ
ータの更新情報を待機系に逐次送って、待機系が送られ
た更新情報でオンラインデータを更新することにより待
機系のオンラインデータが最新に保たれるようにし、待
機系でバッチ処理や保守作業が実行されている場合は、
現用系によるオンラインデータの更新情報を一時的にフ
ァイルに蓄積しておき、処理終了後に蓄積された更新情
報を待機系のオンラインデータに反映することが開示さ
れている。
As a means for avoiding this, in order to execute online processing and batch processing in parallel, it is known to duplicate the active system for online processing and the standby system for batch processing and maintenance work. There is. For example, in Japanese Patent Laid-Open No. 4-256141, when batch processing or maintenance work is not executed in the standby system, the update information of the online data by the active system is sequentially sent to the standby system, and the update information sent by the standby system is used. By updating the online data, the online data of the standby system can be kept up to date, and when batch processing or maintenance work is being executed on the standby system,
It is disclosed that the update information of the online data by the active system is temporarily stored in a file and the update information accumulated after the processing is reflected in the online data of the standby system.

【0005】[0005]

【発明が解決しようとする課題】上述の二重化していな
いシステムで、無停止運転へ移行する場合は、ソフトウ
ェア資産に対して大幅な改造が必要となり、大きな費用
がかかってしまうという問題点があった。また、二重化
したシステムにおいては、バッチ処理や保守作業を長時
間実行した後ですぐに待機系から現用系に切り換えた場
合、蓄積された更新情報が全てオンラインデータに反映
されるまで待たないとオンライン処理を開始できないと
いう問題点があった。
However, in the above-mentioned non-redundant system, when shifting to non-stop operation, there is a problem that a large modification is required to the software assets and a large cost is required. It was Also, in a duplicated system, if you switch from the standby system to the active system immediately after executing batch processing and maintenance work for a long time, you must wait until all the accumulated update information is reflected in the online data. There was a problem that processing could not be started.

【0006】[0006]

【課題を解決するための手段】本発明の第1の無停止オ
ンラインサービスのシステムは、オンライン処理を実行
する現用系のデータ処理装置とバッチ処理又は保守作業
を実行する待機系のデータ処理装置を設けて、前記デー
タ処理装置を現用系と待機系に交互に切り換えて運転
し、現用系と待機系の前記データ処理装置はそれぞれ、
オンライン処理で扱うデータを記憶するデータファイル
と、端末装置から送られた電文を処理した際に前記デー
タファイルが更新された際の更新情報を記憶する更新情
報記憶手段と、待機系から現用系に切り換えられた際に
待機系となった前記データ処理装置が記憶した前記更新
情報記憶手段の更新情報を前記データファイルに反映す
る反映手段とを有し、系が切り換えられた時点から、前
記反映手段にて全ての前記更新情報を現用系の前記デー
タファイルへ反映し終わる時点までの切換過渡中には、
待機系となった前記データ処理装置が端末装置からの電
文を受けて、受信した前記電文に対応するデータを待機
系となった前記データファイルから読み出して前記受信
した電文に付与して現用系となったデータ処理装置へ送
り、現用系となったデータ処理装置は前記データ付きの
電文を受けて現用系となった前記データファイルを最新
のデータにしてから前記電文の処理を行う手段とを有す
る。
A first non-stop online service system according to the present invention comprises an active data processing apparatus for executing online processing and a standby data processing apparatus for executing batch processing or maintenance work. Provided, the data processing device is alternately switched between the active system and the standby system to operate, and the data processing device of the active system and the standby system respectively,
A data file that stores data handled in online processing, an update information storage unit that stores update information when the data file is updated when a message sent from a terminal device is processed, and a standby system to an active system And a reflecting means for reflecting the update information of the update information storage means stored in the data processing device, which has become a standby system when the system is switched, to the data file, and the reflecting means from the time when the system is switched. In the transition transition until the end of reflecting all the update information to the data file of the active system,
The data processing device that has become the standby system receives a message from the terminal device, reads the data corresponding to the received message from the data file that has become the standby system, adds it to the received message, and sets it as the active system. The data processing device that has become the active system has means for receiving the electronic message with the data and updating the data file that has become the active system to the latest data before processing the electronic message. .

【0007】本発明の第2の無停止オンラインサービス
のシステムは、データ処理装置Aとデータ処理装置Bと
を有し、一方が現用系としてオンライン処理を実行し、
他方が待機系としてバッチ処理又は保守作業を実行し、
現用系と待機系が交互に切り換えられて運転され、オン
ライン処理の電文を受信して電文の送り先を制御する電
文振り分け処理部を有する電文振り分け装置と、前記デ
ータ処理装置A及びBの双方からアクセス可能な共有記
憶装置とを有し、前記データ処理装置Aは、オンライン
処理のデータを記憶するデータファイルAと、前記電文
振り分け処理部から電文を受信すると前記データファイ
ルAを更新又は参照して前記電文を処理するとともに前
記データファイルAが更新された場合はその更新情報A
を前記共有記憶装置に蓄積するオンライン処理部Aと、
待機系から現用系に切り換えられた際に前記データ処理
装置Bが現用系であった間に蓄積した前記共有記憶装置
内の更新情報Bを前記データファイルAへ反映させる移
動データ反映処理部Aと、前記電文振り分け処理部から
電文を受信した際には、前記データファイルAから読み
出した前記電文に対応したデータを前記電文に付加して
前記データ処理装置Bに送り、前記データ処理装置Bか
らデータ付きの電文を受信した際には、前記電文に付与
されたデータを前記データファイルAに反映してから前
記電文を前記オンライン処理部Aへ送るデータ参照処理
部Aとを有し、前記データ処理装置Bは、オンライン処
理のデータを記憶するデータファイルBと、前記電文振
り分け処理部から電文を受信すると前記データファイル
Bを更新又は参照して前記電文を処理するとともに前記
データファイルBが更新された場合はその更新情報Bを
前記共有記憶装置に蓄積するオンライン処理部Bと、待
機系から現用系に切り換えられた際に前記データ処理装
置Aが現用系であった間に蓄積した前記共有記憶装置内
の更新情報Aを前記データファイルBへ反映させる移動
データ反映処理部Bと、前記電文振り分け処理部から電
文を受信した際には、前記データファイルBから読み出
した前記電文に対応したデータを前記電文に付加して前
記データ処理装置Aに送り、前記データ処理装置Aから
データ付きの電文を受信した際には、前記電文に付与さ
れたデータを前記データファイルBに反映してから前記
電文を前記オンライン処理部Bへ送るデータ参照処理部
Bとを有する。
A second non-stop online service system of the present invention has a data processing device A and a data processing device B, one of which executes online processing as an active system.
The other performs batch processing or maintenance work as a standby system,
The active system and the standby system are alternately switched and operated, and access is made from both the data processing device A and B, and a message distribution device having a message distribution processing unit that receives a message for online processing and controls the destination of the message. The data processing apparatus A has a possible shared storage device, and the data processing apparatus A updates or refers to the data file A that stores data for online processing and the data file A when receiving a message from the message distribution processing unit. When the data file A is updated while the message is processed, the update information A
An online processing unit A for storing the data in the shared storage device;
A moving data reflection processing unit A for reflecting the update information B in the shared storage device, which was accumulated while the data processing device B was in the active system when the standby system was switched to the active system, to the data file A; When the electronic message is received from the electronic message distribution processing unit, the data corresponding to the electronic message read from the data file A is added to the electronic message and sent to the data processing device B, and the data is sent from the data processing device B. And a data reference processing unit A that sends the electronic message to the online processing unit A after reflecting the data attached to the electronic message in the data file A when the received electronic message is received. The device B updates or refers to the data file B that stores the data for online processing and the data file B when it receives a message from the message distribution processing unit. An electronic processing unit B that processes the electronic message and stores the updated information B in the shared storage device when the data file B is updated; and the data processing device when the standby system is switched to the active system. When a message is received from the mobile data reflection processing unit B that reflects the update information A in the shared storage device that has been accumulated while A is the active system to the data file B, and the message distribution processing unit, When the data corresponding to the electronic message read from the data file B is added to the electronic message and sent to the data processing device A, and the electronic message with the data is received from the data processing device A, it is added to the electronic message. And a data reference processing unit B for transmitting the electronic message to the online processing unit B after reflecting the data in the data file B.

【0008】本発明の第3の無停止オンラインサービス
のシステムは、前記第2の無停止オンラインサービスの
システムにおいて、前記電文振り分け処理部が、待機系
と現用系が切り換えられた時点から、現用系となったデ
ータ処理装置の移動データ反映処理部A或いはBが前記
共有記憶装置内の全ての更新情報B或いはAを前記デー
タファイルA或いはBへ反映し終わる時点までの切換過
渡中には、待機系となった前記データ参照処理部A或い
はBへ電文を送り、切換過渡中でなければ、現用系の前
記オンライン処理部A或いはBへ電文を送ることを特徴
とする。
According to a third non-stop online service system of the present invention, in the second non-stop online service system, the electronic message distribution processing section is used from the time when the standby system is switched to the active system. In the transition transition until the moving data reflection processing unit A or B of the data processing device which has become all the reflection information B or A in the shared storage device is completely reflected in the data file A or B It is characterized in that a message is sent to the data reference processing unit A or B that has become a system, and if the switching transition is not in progress, a message is sent to the online processing unit A or B of the active system.

【0009】本発明の第4の無停止オンラインサービス
のシステムは、前記第2又は3の無停止オンラインサー
ビスのシステムにおいて、前記共有記憶装置が、前記デ
ータファイルAの更新情報Aを前記オンライン処理部A
が書き込み、移動データ反映処理部Bが読み出す移動デ
ータファイルAと、前記データファイルBの更新情報B
を前記オンライン処理部Bが書き込み、移動データ反映
処理部Aが読み出す移動データファイルBとを有する。
According to a fourth non-stop online service system of the present invention, in the second or third non-stop online service system, the shared storage device updates the data file A with the update information A. A
And the update information B of the data file B, which is written by
Is written by the online processing unit B and read by the movement data reflection processing unit A.

【0010】本発明の第5の無停止オンラインサービス
のシステムは、前記第2、3又は4の無停止オンライン
サービスのシステムにおいて、前記オンライン処理の電
文が、前記電文振り分け装置、前記データ処理装置A、
及びデータ処理装置Bとネットワーク又は通信回線で接
続されたオンライン用の端末装置又は他のデータ処理装
置から送られ、前記電文振り分け装置で受信して前記デ
ータ処理装置A、或いはデータ処理装置Bへ振り分けら
れることを特徴とする。
A fifth non-stop online service system of the present invention is the system of the second, third or fourth non-stop online service, wherein the electronic message of the online processing is the electronic message distribution device and the data processing device A. ,
And sent from an online terminal device or another data processing device connected to the data processing device B through a network or a communication line, received by the electronic message distributing device, and distributed to the data processing device A or the data processing device B. It is characterized by being.

【0011】本発明の第6の無停止オンラインサービス
のシステムは、オンライン処理を実行する現用系のサブ
システムとバッチ処理又は保守作業を実行する待機系の
サブシステムをデータ処理装置上に有して、前記サブシ
ステムを現用系と待機系に交互に切り換えて運転し、現
用系と待機系の前記サブシステムはそれぞれ、オンライ
ン処理で扱うデータを記憶するデータファイルと、端末
装置から送られた電文を処理した際に前記データファイ
ルが更新された際の更新情報を記憶する更新情報記憶手
段と、待機系から現用系に切り換えられた際に待機系と
なった前記サブシステムが記憶した前記更新情報記憶手
段の更新情報を前記データファイルに反映する反映手段
とを有し、系が切り換えられた時点から、前記反映手段
にて全ての前記更新情報を現用系の前記データファイル
へ反映し終わる時点までの切換過渡中には、待機系とな
った前記サブシステムが端末装置からの電文を受けて、
受信した前記電文に対応するデータを待機系となった前
記データファイルから読み出して前記受信した電文に付
与して現用系となったサブシステムへ送り、現用系とな
ったサブシステムは前記データ付きの電文を受けて現用
系となった前記データファイルを最新のデータにしてか
ら前記電文の処理を行う手段とを有する。
A sixth non-disruptive online service system of the present invention has an active subsystem for executing online processing and a standby subsystem for executing batch processing or maintenance work on a data processing device. , The subsystem is alternately switched between the active system and the standby system to operate, and the subsystems of the active system and the standby system respectively store the data file storing the data handled in the online processing and the message sent from the terminal device. Update information storage means for storing update information when the data file is updated when processed, and the update information storage stored by the subsystem that becomes the standby system when the standby system is switched to the active system Reflecting means for reflecting the update information of the means to the data file, and from the time when the system is switched, all the updating means by the reflecting means. During transition for change to the time to be completely reflect information to the data file of the active system, the subsystem in the standby system receives the message from the terminal device,
The data corresponding to the received electronic message is read from the data file that has become the standby system, added to the received electronic message and sent to the subsystem that has become the active system, and the subsystem that has become the active system has the data with the data. And a means for processing the message after the data file that has become the active system upon receiving the message is updated to the latest data.

【0012】本発明の第7の無停止オンラインサービス
のシステムは、サブシステムAとサブシステムBとをデ
ータ処理装置上に設け、一方が現用系としてオンライン
処理を実行し、他方が待機系としてバッチ処理又は保守
作業を実行し、現用系と待機系が交互に切り換えられて
運転され、オンライン処理の電文を受信して電文の送り
先を制御する電文振り分け処理部を有するサブシステム
Cと、前記サブシステムAと前記サブシステムBからア
クセスされる移動データファイルとを有し、前記サブシ
ステムAは、オンライン処理のデータを記憶するデータ
ファイルAと、前記電文振り分け処理部から電文を受信
すると前記データファイルAを更新又は参照して前記電
文を処理するとともに前記データファイルAが更新され
た場合はその更新情報Aを前記移動データファイルに蓄
積するオンライン処理部Aと、待機系から現用系に切り
換えられた際に前記サブシステムBが現用系であった間
に蓄積した前記移動データファイル内の更新情報Bを前
記データファイルAへ反映させる移動データ反映処理部
Aと、前記電文振り分け処理部から電文を受信した際に
は、前記データファイルAから読み出した前記電文に対
応したデータを前記電文に付加して前記サブシステムB
に送り、前記サブシステムBからデータ付きの電文を受
信した際には、前記電文に付与されたデータを前記デー
タファイルAに反映してから前記電文を前記オンライン
処理部Aへ送るデータ参照処理部Aとを有し、前記サブ
システムBは、オンライン処理のデータを記憶するデー
タファイルBと、前記電文振り分け処理部から電文を受
信すると前記データファイルBを更新又は参照して前記
電文を処理するとともに前記データファイルBが更新さ
れた場合はその更新情報Bを前記移動データファイルに
蓄積するオンライン処理部Bと、待機系から現用系に切
り換えられた際に前記サブシステムAが現用系であった
間に蓄積した前記移動データファイル内の更新情報Aを
前記データファイルBへ反映させる移動データ反映処理
部Bと、前記電文振り分け処理部から電文を受信した際
には、前記データファイルBから読み出した前記電文に
対応したデータを前記電文に付加して前記サブシステム
Aに送り、前記サブシステムAからデータ付きの電文を
受信した際には、前記電文に付与されたデータを前記デ
ータファイルBに反映してから前記電文を前記オンライ
ン処理部Bへ送るデータ参照処理部Bとを有する。
In a seventh non-stop online service system of the present invention, a subsystem A and a subsystem B are provided on a data processing device, one of which executes online processing as an active system, and the other of which is a batch system as a standby system. Subsystem C having a message distribution processing unit that executes processing or maintenance work, is operated by alternately switching the active system and the standby system, receives an online message, and controls the destination of the message, and the subsystem. A and a moving data file accessed from the subsystem B, the subsystem A stores the data file A for storing data of online processing, and the data file A when receiving a message from the message distribution processing unit. Update or refer to to process the message and update the data file A when it is updated. An online processing unit A for accumulating the information A in the moving data file, and update information B in the moving data file accumulated while the subsystem B was the active system when the standby system was switched to the active system. When a message is received from the moving data reflection processing unit A that reflects the above to the data file A and the message distribution processing unit, the data corresponding to the message read from the data file A is added to the message. Subsystem B
When a message with data is received from the subsystem B, the data reference processing unit that reflects the data attached to the message in the data file A and then sends the message to the online processing unit A The subsystem B has a data file B for storing data for online processing, and when receiving a message from the message distribution processing unit, the subsystem B updates or refers to the data file B to process the message. When the data file B is updated, an online processing unit B that stores the update information B in the moving data file, and while the subsystem A is the active system when the standby system is switched to the active system. A moving data reflection processing section B for reflecting the update information A stored in the moving data file in the data file B to the data file B; When a message is received from the sorting processing unit, the data corresponding to the message read from the data file B is added to the message and sent to the subsystem A, and the message with data is sent from the subsystem A. When received, the data reference processing unit B sends the electronic message to the online processing unit B after reflecting the data attached to the electronic message in the data file B.

【0013】本発明の第8の無停止オンラインサービス
のシステムは、前記第7の無停止オンラインサービスの
システムにおいて、前記電文振り分け処理部は、待機系
と現用系が切り換えられた時点から、現用系となったサ
ブシステムの移動データ反映処理部A或いはBが前記移
動データファイル内の全ての更新情報B或いはAを前記
データファイルA或いはBへ反映し終わる時点までの切
換過渡中には、待機系となった前記データ参照処理部A
或いはBへ電文を送り、切換過渡中でなければ、現用系
の前記オンライン処理部A或いはBへ電文を送ることを
特徴とする。
An eighth non-disruptive online service system of the present invention is the system of the seventh non-disruptive online service, wherein the electronic message distribution processing unit operates from the time when the standby system and the active system are switched to the active system. During the transition transition until the movement data reflection processing unit A or B of the subsystem becomes the reflection end of all the update information B or A in the movement data file to the data file A or B, the standby system The data reference processing unit A
Alternatively, it is characterized in that a message is sent to B, and if the switching is not in transition, the message is sent to the online processing unit A or B of the active system.

【0014】本発明の第9の無停止オンラインサービス
のシステムは、前記第7又は8の無停止オンラインサー
ビスのシステムにおいて、前記移動データファイルが、
前記データファイルAの更新情報Aを前記オンライン処
理部Aが書き込み、移動データ反映処理部Bが読み出す
移動データファイルAと、前記データファイルBの更新
情報Bを前記オンライン処理部Bが書き込み、移動デー
タ反映処理部Aが読み出す移動データファイルBとを有
する。
A ninth non-stop online service system of the present invention is the seventh or eighth non-stop online service system, wherein the mobile data file is:
The online processing unit A writes the update information A of the data file A, and the mobile data reflection processing unit B reads the mobile data file A and the update information B of the data file B is written by the online processing unit B. And a moving data file B read by the reflection processing unit A.

【0015】本発明の第1の無停止オンラインサービス
の方法は、オンライン処理を実行する現用系のデータ処
理装置とバッチ処理又は保守作業を実行する待機系のデ
ータ処理装置を設けて、前記データ処理装置を現用系と
待機系に交互に切り換えて運転する手順を有し、電文を
受信すると前記データ処理装置に設けたデータファイル
を参照又は更新して電文を処理する手順と、前記データ
ファイルを更新した際にその更新情報を前記データ処理
装置の双方からアクセス可能な共通記憶装置に蓄積する
手順と、待機系から現用系に切り換えられた際に待機系
となった前記データ処理装置が蓄積した前記更新情報を
現用系の前記データファイルに反映する手順と、系が切
り換えられた時点から、前記更新情報を現用系の前記デ
ータファイルに反映し終わる時点までの切換過渡中に
は、待機系となった前記データ処理装置が端末装置から
の電文を受けて、受信した前記電文に対応するデータを
待機系となった前記データファイルから読み出して前記
受信した電文に付与して現用系となったデータ処理装置
へ送り、現用系となったデータ処理装置は前記データ付
きの電文を受けて現用系となった前記データファイルを
最新のデータにしてから前記電文の処理を行う手順とを
前記それぞれのデータ処理装置に有する。
The first non-disruptive online service method of the present invention comprises providing an active data processing apparatus for executing online processing and a standby data processing apparatus for performing batch processing or maintenance work, and performing the data processing. There is a procedure for operating the apparatus by alternately switching between the active system and the standby system, and when receiving a telegram, a procedure for referring to or updating a data file provided in the data processing apparatus to process the telegram, and updating the data file. And a procedure for accumulating the update information in a common storage device accessible from both of the data processing devices, and the data accumulating by the data processing device that has become a standby system when the standby system is switched to the active system. The procedure for reflecting the update information in the data file of the active system, and the update information is copied to the data file of the active system from the time the system is switched. During the transition transition until the end, the data processing device that has become the standby system receives a message from the terminal device and reads the data corresponding to the received message from the data file that has become the standby system. It is added to the received message and sent to the data processing device that has become the active system, and the data processing device that has become the active system receives the message with the data and updates the data file that became the active system to the latest data. And a procedure for processing the electronic message in each of the data processing devices.

【0016】本発明の第2の無停止オンラインサービス
の方法は、オンライン処理を実行する現用系のサブシス
テムとバッチ処理又は保守作業を実行する待機系のサブ
システムをデータ処理装置上に設けて、前記サブシステ
ムを現用系と待機系に交互に切り換えて運転する手順を
有し、電文を受信すると前記サブシステムに設けたデー
タファイルを参照又は更新して電文を処理する手順と、
前記データファイルを更新した際にその更新情報を前記
サブシステムの双方からアクセス可能な移動データファ
イルに蓄積する手順と、待機系から現用系に切り換えら
れた際に待機系となった前記サブシステムが蓄積した前
記更新情報を現用系の前記データファイルに反映する手
順と、系が切り換えられた時点から、前記反映手段にて
全ての前記更新情報を現用系の前記データファイルへ反
映し終わる時点までの切換過渡中には、待機系となった
前記サブシステムが端末装置からの電文を受けて、受信
した前記電文に対応するデータを待機系となった前記デ
ータファイルから読み出して前記受信した電文に付与し
て現用系となったサブシステムへ送り、現用系となった
サブシステムは前記データ付きの電文を受けて現用系と
なった前記データファイルを最新のデータにしてから前
記電文の処理を行う手順とを前記それぞれのサブシステ
ムに有する。
A second non-disruptive online service method of the present invention is to provide an active subsystem for executing online processing and a standby subsystem for executing batch processing or maintenance work on a data processing device. A procedure for operating the subsystem by alternately switching between the active system and the standby system, and when receiving a telegram, a procedure for processing or processing the telegram by referring to or updating the data file provided in the subsystem,
When the data file is updated, a procedure for accumulating the update information in a moving data file that is accessible from both of the subsystems, and the subsystem that becomes the standby system when the standby system is switched to the active system The procedure for reflecting the accumulated update information in the data file of the active system, and from the time the system is switched to the time when all the update information is completely reflected in the data file of the active system by the reflecting means. During the transition transition, the subsystem that has become the standby system receives a message from the terminal device, reads the data corresponding to the received message from the data file that has become the standby system, and adds it to the received message. And send it to the subsystem that became the active system, and the subsystem that became the active system receives the message with the above data and becomes the active system. And a procedure for processing of the message from the up to date data Airu to the respective subsystems.

【0017】本発明の第1の記録媒体は、オンライン処
理を実行する現用系のデータ処理装置とバッチ処理又は
保守作業を実行する待機系のデータ処理装置を設けて、
前記データ処理装置を現用系と待機系に交互に切り換え
て運転する手順と、電文を受信すると前記データ処理装
置に設けたデータファイルを参照又は更新して電文を処
理する手順と、前記データファイルを更新した際にその
更新情報を前記データ処理装置の双方からアクセス可能
な共通記憶装置に蓄積する手順と、待機系から現用系に
切り換えられた際に待機系となった前記データ処理装置
が蓄積した前記更新情報を現用系の前記データファイル
に反映する手順と、系が切り換えられた時点から、前記
更新情報を現用系の前記データファイルに反映し終わる
時点までの切換過渡中には、待機系となった前記データ
処理装置が端末装置からの電文を受けて、受信した前記
電文に対応するデータを待機系となった前記データファ
イルから読み出して前記受信した電文に付与して現用系
となったデータ処理装置へ送り、現用系となったデータ
処理装置は前記データ付きの電文を受けて現用系となっ
た前記データファイルを最新のデータにしてから前記電
文の処理を行う手順とを前記それぞれのデータ処理装置
に実行させるプログラムを記録する。
The first recording medium of the present invention is provided with an active data processing device for executing online processing and a standby data processing device for performing batch processing or maintenance work.
A procedure for alternately switching the data processing device to an active system and a standby system to operate, a procedure for processing a data message by referring to or updating a data file provided in the data processing device when a data message is received, and a data file When updating, the update information is stored in a common storage device accessible from both of the data processing devices, and when the standby system is switched to the active system, the data processing device that became the standby system stores the updated information. A procedure for reflecting the update information in the data file of the active system, and a standby system during the transition from the time when the system is switched to the time when the update information is completely reflected in the data file of the active system. The data processing device receives a message from the terminal device, and reads the data corresponding to the received message from the data file that has become a standby system. It is added to the received message and sent to the data processing device that has become the active system, and the data processing device that has become the active system receives the message with the data and updates the data file that became the active system to the latest data. And a program for causing each of the data processing devices to execute the procedure for processing the message.

【0018】本発明の第2の記録媒体は、オンライン処
理を実行する現用系のサブシステムとバッチ処理又は保
守作業を実行する待機系のサブシステムをデータ処理装
置上に設けて、前記サブシステムを現用系と待機系に交
互に切り換えて運転する手順と、電文を受信すると前記
サブシステムに設けたデータファイルを参照又は更新し
て電文を処理する手順と、前記データファイルを更新し
た際にその更新情報を前記サブシステムの双方からアク
セス可能な移動データファイルに蓄積する手順と、待機
系から現用系に切り換えられた際に待機系となった前記
サブシステムが蓄積した前記更新情報を現用系の前記デ
ータファイルに反映する手順と、系が切り換えられた時
点から、前記反映手段にて全ての前記更新情報を現用系
の前記データファイルへ反映し終わる時点までの切換過
渡中には、待機系となった前記サブシステムが端末装置
からの電文を受けて、受信した前記電文に対応するデー
タを待機系となった前記データファイルから読み出して
前記受信した電文に付与して現用系となったサブシステ
ムへ送り、現用系となったサブシステムは前記データ付
きの電文を受けて現用系となった前記データファイルを
最新のデータにしてから前記電文の処理を行う手順とを
前記それぞれのサブシステムに実行させるプログラムを
記録する。
The second recording medium of the present invention comprises an active subsystem for executing online processing and a standby subsystem for executing batch processing or maintenance work provided on a data processing device. A procedure for alternately switching between the active system and the standby system, a procedure for processing a message by referring to or updating a data file provided in the subsystem when a message is received, and a procedure for updating the data file when it is updated A procedure for storing information in a moving data file that is accessible from both of the subsystems, and the update information accumulated by the subsystem that has become the standby system when the standby system is switched to the active system. The procedure for reflecting in the data file, and from the time the system is switched, all the above-mentioned update information is reflected in the above-mentioned data file of the current system by the reflecting means. During the transition transition until the end of reflection to the file, the subsystem that has become the standby system receives a message from the terminal device, and the data corresponding to the received message is received from the data file that is the standby system. It is read and added to the received message and sent to the subsystem that became the active system, and the subsystem that became the active system receives the message with the data and makes the data file that became the active system the latest data. And a program for causing the respective subsystems to execute the procedure for performing the processing of the electronic message.

【0019】[0019]

【発明の実施の形態】次に、本発明の第1の実施の形態
について図面を参照して詳細に説明する。図1は本発明
の第1の実施の形態のブロック図である。データ処理装
置10、20、電文振り分け装置30と端末装置50と
はネットワークで接続されている。端末装置50はオン
ライン処理用に接続される端末装置であり、図1では1
つのみ示しているが通常複数台接続される。端末装置5
0はオンライン処理要求の電文を送信し、これを電文振
り分け装置30が受信して、データ処理装置10又はデ
ータ処理装置20へ振り分け、データ処理装置10又は
データ処理装置20でオンライン処理が実行される。デ
ータ処理装置10とデータ処理装置20とは現用系と待
機系とに交互に切り換えられ、オンライン処理とバッチ
処理及び保守作業を実行する。
BEST MODE FOR CARRYING OUT THE INVENTION Next, a first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of a first embodiment of the present invention. The data processing devices 10 and 20, the message distribution device 30, and the terminal device 50 are connected by a network. The terminal device 50 is a terminal device connected for online processing, and in FIG.
Only one is shown, but usually multiple units are connected. Terminal device 5
0 transmits the electronic message of the online processing request, and the electronic message distribution device 30 receives the electronic message and distributes it to the data processing device 10 or the data processing device 20, and the online processing is executed by the data processing device 10 or the data processing device 20. . The data processing device 10 and the data processing device 20 are alternately switched between the active system and the standby system to execute online processing, batch processing, and maintenance work.

【0020】データ処理装置10は、オンライン処理を
行うオンラインプログラム11と、データを格納するデ
ータファイル12と、待機系から現用系に切り換えられ
た際にデータファイル12を現用系であったデータファ
イル22と同じ内容にするための移動データ反映プログ
ラム14と、待機系から現用系へ切り換えた時点から移
動データ反映プログラム14の処理が完了してデータフ
ァイル12が最新の内容となるまでの間(この間を切換
過渡中という)のオンライン処理においてデータの整合
性を保証するためのデータ参照プログラム13と、待機
系の状態でバッチ処理や保守作業を実行するためのバッ
チ・保守プログラム15を含んでいる。
The data processing device 10 includes an online program 11 for performing online processing, a data file 12 for storing data, and a data file 22 that was the active system when the standby system was switched to the active system. The movement data reflection program 14 for making the same contents as the above, and from the time of switching from the standby system to the active system until the processing of the movement data reflection program 14 is completed and the data file 12 becomes the latest contents ( It includes a data reference program 13 for ensuring data consistency in online processing (during transition) and a batch / maintenance program 15 for executing batch processing and maintenance work in a standby system state.

【0021】データ処理装置20は、オンラインプログ
ラム21と、データファイル22と、移動データ反映プ
ログラム24と、データ参照プログラム23と、バッチ
・保守プログラム25を含んでおり、これらはデータ処
理装置10の同名のものとそれぞれ同じ機能を有する。
The data processing device 20 includes an online program 21, a data file 22, a movement data reflection program 24, a data reference program 23, and a batch / maintenance program 25, which have the same name as the data processing device 10. Each has the same function.

【0022】電文振り分け装置30は端末装置50から
送られる電文を受信してこれをデータ処理装置10或い
はデータ処理装置20へ振り分けて出力する電文振り分
けプログラム31と、この振り分け判定を行うために必
要な運転の状態を管理するための稼働状態を記憶する稼
働モード記憶部32を含む。稼働状態としては、現在の
現用系のデータ処理装置がどちらであるかという情報
や、現在切換過渡中であるか等の情報を含んでいる。
The message distribution device 30 receives a message transmitted from the terminal device 50, distributes the message to the data processing device 10 or the data processing device 20, and outputs it, and a message distribution program 31 necessary for making this distribution determination. An operation mode storage unit 32 for storing an operation state for managing the operation state is included. The operating state includes information about which data processing device of the current active system is present, information about whether the switching is currently in transition, and the like.

【0023】データ処理装置10、データ処理装置2
0、電文振り分け装置30との間はネットワークX10
で接続されており、図示しないがそれぞれのデータ処理
装置にはこれらの通信を制御する通信手段と、各プログ
ラムを実行するためのプロセッサ及びメモリと、各プロ
グラムやデータを記憶する磁気ディスク等の補助記憶手
段を含んでいる。また、データ処理装置10とデータ処
理装置20との間はX12で接続され、データ処理装置
10と電文振り分け装置30との間はX13で接続さ
れ、データ処理装置20と電文振り分け装置30との間
はX23で接続されている。これらは、ネットワークX
10で代用してもよいし、X10のような1つのネット
ワークで接続してもよく、各装置間で通信ができればよ
い。
Data processing device 10 and data processing device 2
0, the network X10 between the message distribution device 30
Although not shown in the figure, each data processing device has a communication means for controlling these communications, a processor and a memory for executing each program, and an auxiliary device such as a magnetic disk for storing each program and data. Includes storage means. Further, the data processing device 10 and the data processing device 20 are connected by X12, the data processing device 10 and the electronic message distribution device 30 are connected by X13, and the data processing device 20 and the electronic message distribution device 30 are connected. Are connected by X23. These are network X
10 may be used as a substitute, or one network such as X10 may be used for connection, as long as communication between the respective devices is possible.

【0024】共有記憶装置40は、データ処理装置10
とデータ処理装置20の双方からアクセスされ、データ
処理装置10が現用系の際に実行するオンライン処理に
伴いオンラインデータを更新した情報を移動データとし
て蓄積して記憶する移動データファイル41と、データ
処理装置20が現用系の際に実行するオンライン処理に
伴いオンラインデータを更新した情報を移動データとし
て蓄積して記憶する移動データファイル42とを含んで
いる。共有記憶装置40とデータ処理装置10との間は
X14で接続され、共有記憶装置40とデータ処理装置
20との間はX24で接続されている。
The shared storage device 40 is the data processing device 10.
And a data processing device 20, which are accessed by both the data processing device 20 and the data processing device 10, and a moving data file 41 that stores and stores, as moving data, information obtained by updating the online data in accordance with the online processing performed when the data processing device 10 is in the active system; The mobile data file 42 stores and stores, as mobile data, information obtained by updating the online data in accordance with the online processing executed by the device 20 in the active system. The shared storage device 40 and the data processing device 10 are connected by X14, and the shared storage device 40 and the data processing device 20 are connected by X24.

【0025】次に、本発明の実施の形態の動作について
図面を参照して説明する。図2は図1の各データ処理装
置10、20、及び電文振り分け装置30の各構成要素
間の動作上の接続関係を示したブロック図である。ま
ず、オンライン用の端末装置50からの電文が電文振り
分け装置30に入力されると、電文振り分けプログラム
31が稼働モード記憶部32の内容を調べ、以下のよう
に電文の振り分けを行う。
Next, the operation of the embodiment of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram showing an operational connection relationship between the respective components of the data processing devices 10 and 20 and the electronic message distribution device 30 of FIG. First, when a message from the online terminal device 50 is input to the message distributing device 30, the message distributing program 31 checks the contents of the operation mode storage unit 32 and distributes the message as follows.

【0026】図3は電文振り分けプログラム31の動作
を示したフローチャートである。電文振り分けプログラ
ム31は、S601で稼働モード記憶部32を参照し
て、S602で現在切換過渡中か否か調べる。切換過渡
中でなければ、さらに現用系のデータ処理装置を調べる
(S603)。
FIG. 3 is a flow chart showing the operation of the electronic message distribution program 31. The electronic message distribution program 31 refers to the operation mode storage unit 32 in S601, and checks in S602 whether or not the switching is currently in transition. If the switching is not in transition, the data processor of the active system is further checked (S603).

【0027】現在の現用系がデータ処理装置10ならば
オンラインプログラム11へ電文を送る(S604)。
現在の現用系がデータ処理装置10でなければオンライ
ンプログラム21へ電文を送る(S605)。つまり、
切換過渡中でなければ、現在オンライン処理中のデータ
処理装置のオンラインプログラムへ電文を送ることにな
る。通常、システムは多くの時間この状態で運転されて
いる。
If the current active system is the data processing device 10, a message is sent to the online program 11 (S604).
If the current active system is not the data processing device 10, a message is sent to the online program 21 (S605). That is,
If the transition is not in progress, a message will be sent to the online program of the data processing device currently being processed online. Normally, the system has been operating in this state for many hours.

【0028】一方、切換過渡中であった場合、どちらの
データ処理装置が現用系となったかが、S606で調べ
られる。データ処理装置20が現用系に切り換えられた
際の切換過渡中の場合は、データ参照プログラム13へ
電文を送り(S607)、逆の場合はデータ参照プログ
ラム23へ電文を送る(S608)。つまり、現用系か
ら待機系に切り換えられた方のデータ処理装置へ電文を
送る。
On the other hand, when the switching is in transition, it is checked in S606 which data processing device has become the active system. If the data processing device 20 is in the transition transition when it is switched to the active system, a message is sent to the data reference program 13 (S607), and in the opposite case, a message is sent to the data reference program 23 (S608). That is, a message is sent to the data processing device that has been switched from the active system to the standby system.

【0029】これは以降説明するように、切り換え直後
では待機系となったデータ処理装置のデータファイルが
最新の状態であるため、このデータファイルから受信し
た電文に対応するデータを取り出して電文に付加して現
用系となったデータ処理装置へ送ることにより、現用系
となったデータ処理装置において移動データ反映プログ
ラムの完了を待たずに電文の処理を実行できるようにす
るためである。
As will be described later, since the data file of the data processing device which has become the standby system is in the latest state immediately after the switching, the data corresponding to the message received from this data file is extracted and added to the message. By sending the data to the data processing device that has become the active system, the data processing device that has become the active system can execute the processing of the message without waiting for the completion of the migration data reflection program.

【0030】以上のように状態によって4通りの電文の
振り分けが行われるので、以降の動作は各場合に分けて
説明する。 (1)切換過渡中でなくデータ処理装置10が現用系の
場合の動作 電文振り分けプログラム31が電文をオンラインプログ
ラム11に送ると、オンラインプログラム11は電文を
受け取り、図4に示すフローチャートのように動作す
る。
As described above, since four types of telegrams are distributed depending on the state, the subsequent operation will be described separately for each case. (1) Operation when the data processing device 10 is in the active system during no switching transition When the electronic message distribution program 31 sends an electronic message to the online program 11, the online program 11 receives the electronic message and operates as shown in the flowchart of FIG. To do.

【0031】受け取った電文に対してデータファイル1
2の参照や更新を実行して所定の処理を実行し、その結
果を電文の発行元の端末装置50へ返す(S611)。
S611の処理においてデータファイル12の更新をし
なかった場合はこれで終了するが(S612)、更新を
実行した場合は、S613のステップにてデータファイ
ル12の更新情報を移動データとして共有記憶装置40
の移動データファイル41に書き込み移動データを蓄積
していく。
Data file 1 for received message
2 is referred to or updated, a predetermined process is executed, and the result is returned to the terminal device 50 that issued the electronic message (S611).
If the data file 12 has not been updated in the processing of S611, this ends the processing (S612), but if the update has been executed, the update information of the data file 12 is transferred as shared data in the shared storage device 40 in the step of S613.
Write movement data is accumulated in the movement data file 41.

【0032】(2)切換過渡中でなくデータ処理装置2
0が現用系の場合の動作 電文振り分けプログラム31が電文をオンラインプログ
ラム21に送ると、オンラインプログラム21は電文を
受け取り、(1)項のオンラインプログラム11と同様
に図4に示すフローチャートのように動作する。
(2) The data processing device 2 is not in the switching transition.
Operation when 0 is the active system When the electronic message distribution program 31 sends an electronic message to the online program 21, the online program 21 receives the electronic message and operates as in the flowchart shown in FIG. 4 like the online program 11 in (1). To do.

【0033】オンラインプログラム21は、受け取った
電文に対してデータファイル22を参照又は更新を実行
して所定の処理を実行し、その結果を電文の発行元の端
末装置50へ返す(S611)。S611の処理におい
てデータファイル12の更新をしなかった場合はこれで
終了するが(S612)、更新を実行した場合は、S6
13のステップにてデータファイル22の更新情報を移
動データとして共有記憶装置40の移動データファイル
42に書き込み移動データを蓄積していく。
The online program 21 refers to or updates the data file 22 for the received electronic message, executes a predetermined process, and returns the result to the terminal device 50 that issued the electronic message (S611). If the data file 12 has not been updated in the processing of S611, this ends the processing (S612), but if the update has been executed, S6
In step 13, the update information of the data file 22 is written as move data in the move data file 42 of the shared storage device 40 and the move data is accumulated.

【0034】(3)切換過渡中でデータ処理装置20が
現用系の場合の動作 (1)項の状態において系の切り換えが指示されてオン
ライン処理がデータ処理装置10からデータ処理装置2
0へ切り換えられると稼働モード記憶部32の切換過渡
中が有効となり、データ処理装置20の移動データ反映
プログラム24が起動される。なお、移動データ反映プ
ログラム24の起動については、切替過渡中になるのを
契機に起動すると限定するわけではなく、切替過渡中に
なる前でも起動準備が整い次第いつでも起動可能であ
る。
(3) Operation when the data processing device 20 is the active system during the switching transition In the state of item (1), switching of the system is instructed and online processing is performed from the data processing device 10 to the data processing device 2.
When it is switched to 0, the transition transition of the operation mode storage unit 32 becomes valid, and the movement data reflection program 24 of the data processing device 20 is activated. It should be noted that the movement data reflection program 24 is not limited to be activated when the transition is in transition, and can be activated at any time as soon as the preparation for activation is completed even before the transition is in transition.

【0035】図5は移動データ反映プログラム24の動
作を示したフローチャートである。移動データ反映プロ
グラム24は、移動データファイル41から(1)項に
おいてオンラインプログラム11が書き込んだデータフ
ァイル12の更新情報である移動データを読み出す(S
621)。読み出した移動データに対応するデータファ
イル22内のデータの属性である電文処理済みフラグを
読み出す(S622)。電文処理済みフラグとは以降説
明するように、切換過渡中にすでに同一データに対応す
る電文を処理済みで、データファイル22のデータが最
新になっていることを示すものである。
FIG. 5 is a flow chart showing the operation of the movement data reflection program 24. The movement data reflection program 24 reads the movement data which is the update information of the data file 12 written by the online program 11 in the item (1) from the movement data file 41 (S).
621). The message-processed flag, which is the attribute of the data in the data file 22 corresponding to the read movement data, is read (S622). As will be described later, the message processed flag indicates that the message corresponding to the same data has already been processed during the switching transition and the data in the data file 22 is the latest.

【0036】読み出した電文処理済みフラグが“0”か
否か判定し(S623)、“0”の場合のみ移動データ
ファイル41から読み出した移動データでデータファイ
ル22のデータを更新して最新のデータとする(S62
4)。これを移動データファイル41内の全ての移動デ
ータについて実行し、全データの処理が終わると(S6
25)、稼働モード記憶部32の切換過渡中を無効=
“0”とする(S626)。
It is judged whether or not the read message-processed flag is "0" (S623), and only when it is "0", the data in the data file 22 is updated with the moving data read from the moving data file 41 to obtain the latest data. (S62
4). This is executed for all the movement data in the movement data file 41, and when the processing of all the data is completed (S6
25), invalid during switching transition of the operation mode storage unit 32 =
It is set to “0” (S626).

【0037】以上で移動データ反映プログラム24は終
了し、これ以降は待機系となったデータ処理装置10
は、オンライン処理に対しては関与しなくなり、バッチ
処理や保守作業が実行される。また、各データに付随す
る電文処理済みフラグは切換過渡中後から再度現用系に
切り換えられるまでの間に“0”とする必要があるが、
現用系として運転中に実行するか、又は待機系となった
状態で行うかは限定しない。
The movement data reflection program 24 is completed as described above, and thereafter the data processing apparatus 10 becomes a standby system.
No longer participates in online processing, and batch processing and maintenance work are executed. Further, the message processed flag associated with each data needs to be set to "0" after the transition of the switching and before the switching to the active system again.
It is not limited whether it is executed during operation as an active system or when it is in a standby system.

【0038】次に、上記切り換えモード中に端末装置5
0から電文を受信した場合の動作について説明する。図
6は各データ処理装置での動作を示したフローチャート
である。まず、電文振り分けプログラム31は受信した
電文をデータ処理装置10のデータ参照プログラム13
へ送る(S701)。データ参照プログラム13がこの
電文を受け取り(S702)、この電文に対応するデー
タをデータファイル12から読み出して電文に付加し
て、データ処理装置20のデータ参照プログラム23へ
送る(S703)。ここで電文に付加されて送られるデ
ータは、切り換え時点では最新のデータであり、切り換
え後まだ同一データへの更新を伴う電文を処理していな
い場合は電文を受信した時点でも最新の状態にある。
Next, during the switching mode, the terminal device 5
The operation when a message is received from 0 will be described. FIG. 6 is a flowchart showing the operation of each data processing device. First, the electronic message distribution program 31 transmits the received electronic message to the data reference program 13 of the data processing device 10.
To (S701). The data reference program 13 receives this message (S702), reads the data corresponding to this message from the data file 12, adds it to the message, and sends it to the data reference program 23 of the data processing device 20 (S703). The data added to the message here is the latest data at the time of switching, and if the message accompanied by updating to the same data is not processed after switching, it is in the latest state at the time of receiving the message. .

【0039】データ処理装置20のデータ参照プログラ
ム23は、上記電文に付加されたデータを受信すると、
このデータがデータファイル22へ反映済みか否かを判
定する(S704)。このために、データファイル22
の電文に対応するデータは、すでに切換過渡中に電文を
処理したことを示す電文処理済みフラグを含んでいる。
S704の判定ではこのフラグが“1”であれば電文を
処理済みでデータファイル22のデータは最新になって
いると判断し、“0”であればデータファイル22のデ
ータを受信したデータにより最新のデータに更新する必
要があると判断する。
When the data reference program 23 of the data processing device 20 receives the data added to the message,
It is determined whether this data has been reflected in the data file 22 (S704). For this purpose, the data file 22
The data corresponding to the telegram includes a telegram processed flag indicating that the telegram has already been processed during the switching transition.
In the determination of S704, if this flag is "1", it is determined that the message has been processed and the data in the data file 22 is the latest, and if "0", the data in the data file 22 is the latest according to the received data. It is judged that it is necessary to update the data of.

【0040】電文処理済みフラグが“0”の場合、デー
タ参照プログラム23は、受信した電文に付加されたデ
ータでデータファイル22の該当データを更新して最新
の状態とし(S705)、“1”の場合はS705の更
新処理をスキップしてS706へ進む。データ参照プロ
グラム23は受信した電文から付加データを削除してオ
ンラインプログラム21へ送り(S706)、以降
(2)項と同様にオンラインプログラム21が動作して
電文を処理する(S707)。この際にデータファイル
22に対して更新があれば次にデータ処理装置10が現
用系に切り換えられた場合に備えて、その更新情報を移
動データとして移動データファイル42へ蓄積してい
く。
When the message-processed flag is "0", the data reference program 23 updates the corresponding data in the data file 22 with the data added to the received message to bring it to the latest state (S705), and then "1". In the case of, the update process of S705 is skipped and the process proceeds to S706. The data reference program 23 deletes the additional data from the received electronic message and sends it to the online program 21 (S706), and thereafter, the online program 21 operates and processes the electronic message in the same manner as item (2) (S707). At this time, if there is an update to the data file 22, the update information is accumulated in the move data file 42 as move data in preparation for the case where the data processor 10 is switched to the active system next time.

【0041】このように系の切り換えが実行された場
合、切り換えられて現用系となった系のデータファイル
22のデータが最新でなくとも、待機系となったデータ
ファイル12から最新データを読み出して現用系のデー
タファイル22を最新にしてからオンラインプログラム
21で処理するようにしたので、系の切り換えの直後か
ら電文を受信して処理することができる。
When the system switching is performed in this way, even if the data in the data file 22 of the system that has been switched and becomes the active system is not the latest, the latest data is read from the data file 12 that becomes the standby system. Since the data file 22 of the active system is updated to be processed by the online program 21, it is possible to receive and process the message immediately after switching the system.

【0042】(4)切換過渡中でデータ処理装置10が
現用系の場合の動作 この場合の動作は、(3)項の動作においてデータ処理
装置20とデータ処理装置10とを入れ換えれば同じ動
作となるので説明は省略する。なお、データ処理装置1
0及び20に含まれる各構成要素も同様に読み替え、移
動データファイル41は移動データファイル42と読み
替えるものとする。
(4) Operation when the data processing device 10 is the active system during the switching transition The operation in this case is the same if the data processing device 20 and the data processing device 10 are replaced in the operation of item (3). Therefore, the description is omitted. The data processing device 1
The respective constituent elements included in 0 and 20 are similarly read, and the moving data file 41 is replaced with the moving data file 42.

【0043】以上、切換過渡中にすでに電文を処理して
データを更新したデータに対して後続の電文を処理する
場合、前の電文の処理結果を喪失しないように電文処理
済みフラグを各データに付属させて制御することを説明
したが、別の方法であってもよい。例えば、切換過渡中
に待機系でデータを読み出してこれを電文に付加して現
用系へと送った後に、待機系でも電文の処理に伴うデー
タファイルの更新処理のみを実行することにより付加さ
れるデータが常に最新の状態となるため、現用系は無条
件に付加データでデータファイルを更新すればよいので
電文処理済みフラグは不要となる。ただし、この方法で
は、切換過渡中には両系でデータファイルの更新処理を
実行するため、切換過渡中の負荷が大きくなることや、
バッチ処理を行う時点の静止点を制御しにくくなる。
As described above, when the subsequent message is processed for the data which has already been processed by the message during the switching transition and the data is updated, the message processed flag is added to each data so that the processing result of the previous message is not lost. Although it has been described that it is attached and controlled, another method may be used. For example, the data is added by reading the data in the standby system during the transition transition, adding this to the message and sending it to the active system, and then executing only the data file update process accompanying the message processing in the standby system as well. Since the data is always in the latest state, the active system may unconditionally update the data file with the additional data, so that the message processing completed flag is unnecessary. However, in this method, since the data file update processing is executed in both systems during the switching transition, the load during the switching transition becomes large, and
It becomes difficult to control the stationary point at the time of batch processing.

【0044】次に、待機系となったデータ処理装置の動
作について簡単に説明する。バッチ・保守プログラム1
5或いは25はバッチ処理のプログラムや保守のための
プログラムを含んだ各プログラムの集合体である。待機
系に切り換えられた時点で、バッチ・保守プログラム1
5或いは25の中のプログラムを選択して起動すること
によりバッチ処理や保守作業を実行する。ただし、オン
ライン処理を優先するためには、なるべく、切換過渡中
の状態が解除されてから実行することが望ましい。
Next, the operation of the data processing device serving as the standby system will be briefly described. Batch / Maintenance Program 1
Reference numeral 5 or 25 is a set of programs including batch processing programs and maintenance programs. Batch / maintenance program 1 at the time of switching to the standby system
Batch processing and maintenance work are executed by selecting and starting a program in 5 or 25. However, in order to give priority to the online processing, it is desirable to execute after the state during the switching transition is canceled as much as possible.

【0045】次に本発明の第2の実施の形態について図
面を参照して詳細に説明する。図7は第2の実施の形態
のブロック図である。図7では図1のデータ処理装置1
0、20、電文振り分け装置30、及び共有記憶装置4
0が1つのデータ処理装置80内に実装されている形態
をとる。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 7 is a block diagram of the second embodiment. In FIG. 7, the data processing device 1 of FIG.
0, 20, message distribution device 30, and shared storage device 4
0 is implemented in one data processing device 80.

【0046】図1のデータ処理装置10に対応するのは
サブシステム81であり、サブシステム81内の構成要
素であるオンラインプログラム11と、データファイル
12と、移動データ反映プログラム14と、データ参照
プログラム13と、バッチ・保守プログラム15は、デ
ータ処理装置10の同名の構成要素と同じ機能を有し、
同じ番号を付与している。同様に図1のデータ処理装置
20に対応するのはサブシステム82であり、サブシス
テム82内の構成要素であるオンラインプログラム21
と、データファイル22と、移動データ反映プログラム
24と、データ参照プログラム23と、バッチ・保守プ
ログラム25も、データ処理装置20の同名の構成要素
と同じ機能を有する。
A subsystem 81 corresponds to the data processing apparatus 10 of FIG. 1, and the online program 11, the data file 12, the movement data reflection program 14, and the data reference program which are the constituent elements in the subsystem 81. 13 and the batch / maintenance program 15 have the same functions as the components of the same name of the data processing device 10,
The same number is given. Similarly, it is the subsystem 82 that corresponds to the data processing device 20 of FIG. 1, and the online program 21 that is a component in the subsystem 82.
The data file 22, the movement data reflection program 24, the data reference program 23, and the batch / maintenance program 25 also have the same functions as the components of the same name of the data processing device 20.

【0047】図1の電文振り分け装置30に対応するの
はサブシステム83であり、サブシステム83内の構成
要素である電文振り分けプログラム31と稼働モード記
憶部32は電文振り分け装置30の同名の構成要素と同
じ機能を有する。図1の共有記憶装置40は、図7の構
成では必要なく、その構成要素の移動データファイル4
1、42はデータ処理装置80に含まれるが、機能は同
じである。
A subsystem 83 corresponds to the electronic message distributing device 30 of FIG. 1, and the electronic message distributing program 31 and the operation mode storage unit 32, which are the constituent elements in the subsystem 83, have the same name as the constituent elements of the electronic message distributing device 30. Has the same function as. The shared storage device 40 of FIG. 1 is not necessary in the configuration of FIG.
1, 42 are included in the data processing device 80, but have the same function.

【0048】各データファイルや各プログラムは同一の
データ処理装置80内に実装されるが、各サブシステム
毎に独立している。このため、データ処理装置80のフ
ァイル容量はデータ処理装置10又は20に比べて2倍
程度必要となる。ただし、各プログラムに関しては、条
件によりサブシステム81と82との間で共有させても
よい。
Although each data file and each program are installed in the same data processing device 80, they are independent for each subsystem. Therefore, the file capacity of the data processing device 80 is about twice as large as that of the data processing device 10 or 20. However, each program may be shared between the subsystems 81 and 82 depending on conditions.

【0049】各構成要素間の関係図は図1の構成と同様
に図2のようになる。従って、各構成要素の機能、動
作、構成は同じなので、動作については第1の実施の形
態と同様となるため、詳細な説明は省略する。ただし、
各構成要素が他のサブシステムの構成要素と通信する場
合でも、装置間の通信を必要としないので図1のX1
2、X13、X23のようなハードウェアとしての通信
回線は必要としない。
A relational diagram among the respective constituent elements is as shown in FIG. 2 similarly to the configuration of FIG. Therefore, since the function, operation, and configuration of each constituent element are the same, the operation is the same as that of the first embodiment, and thus detailed description will be omitted. However,
Even when each component communicates with the component of another subsystem, X1 in FIG.
No communication line as hardware such as 2, X13, X23 is required.

【0050】待機系となったサブシステムでは第1の実
施の形態と同様にバッチ・保守プログラム15或いは2
5の中のプログラムを選択して起動することによりバッ
チ処理や保守作業を実行する。ただし、切換過渡中では
データ参照プログラム13或いは23が動作しているの
で、負荷を考慮すると切換過渡中を避けてバッチ処理や
保守作業をする方がよい。
In the subsystem which has become the standby system, the batch / maintenance program 15 or 2 is used as in the first embodiment.
Batch processing and maintenance work are executed by selecting and starting the program in 5. However, since the data reference program 13 or 23 is operating during the transition transition, it is better to avoid the transition transition and perform batch processing and maintenance work in consideration of the load.

【0051】第2の実施の形態は、元々、データ処理装
置80にデータ参照プログラム13と移動データ反映プ
ログラム14を除いたサブシステム81のみを実装し、
時間帯を分けてオンライン処理とバッチ処理を実行する
といった運転形態のシステムに対して、オンライン処理
とバッチ処理を同時に実行できるようにするために、デ
ータ処理装置80にサブシステム82、83、及び移動
データファイル41、42を追加し、サブシステム81
にデータ参照プログラム13と移動データ反映プログラ
ム14を追加し、従来のプログラムに比較的簡単な変更
を加えた形態である。
In the second embodiment, originally, only the subsystem 81 excluding the data reference program 13 and the movement data reflection program 14 is installed in the data processing device 80,
In order to enable the online processing and the batch processing to be executed simultaneously for a system in which the online processing and the batch processing are executed at different time zones, the data processing device 80 has subsystems 82, 83, and a mobile unit. Data files 41 and 42 are added, and subsystem 81
In this embodiment, a data reference program 13 and a movement data reflection program 14 are added, and a comparatively simple change is added to the conventional program.

【0052】従って、ハードウェアとしては、ファイル
容量を増やすために、必要に応じて記憶装置を増設する
ことにより、オンライン処理とバッチ処理を同時実行す
る運転形態を実現できる。このため、本格的に第1の実
施の形態へと移行する過程の評価段階でもこのような構
成が有効であるし、第1の実施の形態ほどの信頼性を必
要としない場合のシステムとしての構成としてもデータ
処理装置が1台ですむなど経済的にも有効である。
Therefore, as the hardware, in order to increase the file capacity, an operation mode in which online processing and batch processing are simultaneously executed can be realized by adding a storage device as needed. For this reason, such a configuration is effective even in the evaluation stage of the process of making a full-scale transition to the first embodiment, and as a system in the case where the reliability as in the first embodiment is not required. It is economically effective in that it requires only one data processing device.

【0053】[0053]

【発明の効果】第1の効果は、2つのサブシステム或い
はデータ処理装置に対して現用系と待機系を切り換えた
際に、待機系から現用系に切り換えられた系のオンライ
ンデータを蓄積された更新情報により最新とするための
処理が完了するのを待つことなくオンライン処理を開始
できることである。
The first effect is that the online data of the system switched from the standby system to the active system is accumulated when the active system and the standby system are switched to the two subsystems or the data processing device. That is, the online processing can be started without waiting for the completion of the processing for updating according to the update information.

【0054】第2の効果は、第2の実施の形態におい
て、1つのデータ処理装置において、2つのサブシステ
ムを交互に切り換えながら利用することにより、大幅な
プログラムの改造をすることもなく、且つ経済的に、オ
ンライン処理の無停止運転とバッチ処理及び保守を並行
して実行できるようにしたことである。
The second effect is that, in the second embodiment, one data processing device uses the two subsystems while alternately switching them, so that the program is not remodeled significantly, and It is economically possible to perform non-stop operation of online processing in parallel with batch processing and maintenance.

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

【図1】第1の実施の形態のブロック図である。FIG. 1 is a block diagram of a first embodiment.

【図2】第1又は第2の実施の形態の各構成要素間の動
作上の接続関係を示したブロックである。
FIG. 2 is a block diagram showing an operational connection relationship between respective constituent elements of the first or second embodiment.

【図3】電文振り分けプログラム31の動作を示したフ
ローチャートである。
FIG. 3 is a flowchart showing the operation of a message distribution program 31.

【図4】オンラインプログラム11又は21の動作を示
したフローチャートである。
FIG. 4 is a flowchart showing the operation of the online program 11 or 21.

【図5】移動データ反映プログラム14又は24の動作
を示したフローチャートである。
FIG. 5 is a flow chart showing an operation of a movement data reflection program 14 or 24.

【図6】切換過渡中に電文を受信した場合の各データ処
理装置での動作を示したフローチャートである。
FIG. 6 is a flowchart showing an operation in each data processing device when a message is received during a switching transition.

【図7】第2の実施の形態のブロック図である。FIG. 7 is a block diagram of a second embodiment.

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

10 データ処理装置 11 オンラインプログラム 12 データファイル 13 データ参照プログラム 14 移動データ反映プログラム 15 バッチ・保守プログラム 20 データ処理装置 21 オンラインプログラム 22 データファイル 23 データ参照プログラム 24 移動データ反映プログラム 25 バッチ・保守プログラム 30 電文振り分け装置 31 電文振り分けプログラム 32 稼働モード記憶部 40 共有記憶装置 41 移動データファイル 42 移動データファイル 50 端末装置 80 データ処理装置 81 サブシステム 82 サブシステム 83 サブシステム 10 Data processing device 11 online programs 12 data files 13 Data reference program 14 Movement data reflection program 15 Batch / Maintenance Program 20 Data processing device 21 Online Program 22 data files 23 Data Reference Program 24 Movement data reflection program 25 Batch / Maintenance Program 30 Telegram distribution device 31 Telegram distribution program 32 Working mode storage 40 shared storage 41 Move data file 42 Movement data file 50 terminal equipment 80 data processor 81 subsystem 82 subsystem 83 subsystems

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/16 - 11/20 G06F 15/16 - 15/177 G06F 12/00 G06F 15/00 JSTファイル(JOIS)Front page continuation (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 11/16-11/20 G06F 15/16-15/177 G06F 12/00 G06F 15/00 JST file (JOIS)

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 オンライン処理を実行する現用系のデー
タ処理装置とバッチ処理又は保守作業を実行する待機系
のデータ処理装置を設けて、前記データ処理装置を現用
系と待機系に交互に切り換えて運転する無停止オンライ
ンサービスのシステムにおいて、 現用系と待機系の前記データ処理装置はそれぞれ、オン
ライン処理で扱うデータを記憶するデータファイルと、
端末装置から送られた電文を処理した際に前記データフ
ァイルが更新された際の更新情報を記憶する更新情報記
憶手段と、待機系から現用系に切り換えられた際に待機
系となった前記データ処理装置が記憶した前記更新情報
記憶手段の更新情報を前記データファイルに反映する反
映手段とを備え、 系が切り換えられた時点から、前記反映手段にて全ての
前記更新情報を現用系の前記データファイルへ反映し終
わる時点までの切換過渡中には、待機系となった前記デ
ータ処理装置が端末装置からの電文を受けて、受信した
前記電文に対応するデータを待機系となった前記データ
ファイルから読み出して前記受信した電文に付与して現
用系となったデータ処理装置へ送り、現用系となったデ
ータ処理装置は前記データ付きの電文を受けて現用系と
なった前記データファイルに反映してから前記電文の処
理を行うことを特徴とする無停止オンラインサービスの
システム。
1. A data processing device of an active system for executing online processing and a data processing device of a standby system for performing batch processing or maintenance work are provided, and the data processing device is alternately switched between the active system and the standby system. In the system of the non-disruptive online service to be operated, the active and standby data processing devices each have a data file for storing data handled in online processing,
Update information storage means for storing update information when the data file is updated when a message sent from the terminal device is processed, and the data that becomes the standby system when the standby system is switched to the active system And a reflecting means for reflecting the update information of the update information storage means stored in the processing device in the data file, and from the time when the system is switched, all of the update information is stored in the data of the active system by the reflecting means. During the transition transition until the end of reflection to the file, the data processing device that has become a standby system receives a message from the terminal device, and the data file that has become a standby system for the data corresponding to the received message. And sends it to the received electronic message and sends it to the data processing device that has become the active system, and the data processing device that has become the active system receives the electronic message with the data and sends it to the active system. The non-stop online service system is characterized in that the message is processed after being reflected in the data file.
【請求項2】 データ処理装置Aとデータ処理装置Bと
を有し、一方が現用系としてオンライン処理を実行し、
他方が待機系としてバッチ処理又は保守作業を実行し、
現用系と待機系が交互に切り換えられて運転される無停
止オンラインサービスのシステムにおいて、 オンライン処理の電文を受信して電文の送り先を制御す
る電文振り分け処理部を有する電文振り分け装置と、前
記データ処理装置A及びBの双方からアクセス可能な共
有記憶装置とを備え、 前記データ処理装置Aは、 オンライン処理のデータを記憶するデータファイルA
と、 前記電文振り分け処理部から電文を受信すると前記デー
タファイルAを更新又は参照して前記電文を処理すると
ともに前記データファイルAが更新された場合はその更
新情報Aを前記共有記憶装置に蓄積するオンライン処理
部Aと、 待機系から現用系に切り換えられた際に前記データ処理
装置Bが現用系であった間に蓄積した前記共有記憶装置
内の更新情報Bを前記データファイルAへ反映させる移
動データ反映処理部Aと、 前記電文振り分け処理部から電文を受信した際には、前
記データファイルAから読み出した前記電文に対応した
データを前記電文に付加して前記データ処理装置Bに送
り、前記データ処理装置Bからデータ付きの電文を受信
した際には、前記電文に付与されたデータを前記データ
ファイルAに反映してから前記電文を前記オンライン処
理部Aへ送るデータ参照処理部Aとを有し、 前記データ処理装置Bは、 オンライン処理のデータを記憶するデータファイルB
と、 前記電文振り分け処理部から電文を受信すると前記デー
タファイルBを更新又は参照して前記電文を処理すると
ともに前記データファイルBが更新された場合はその更
新情報Bを前記共有記憶装置に蓄積するオンライン処理
部Bと、 待機系から現用系に切り換えられた際に前記データ処理
装置Aが現用系であった間に蓄積した前記共有記憶装置
内の更新情報Aを前記データファイルBへ反映させる移
動データ反映処理部Bと、 前記電文振り分け処理部から電文を受信した際には、前
記データファイルBから読み出した前記電文に対応した
データを前記電文に付加して前記データ処理装置Aに送
り、前記データ処理装置Aからデータ付きの電文を受信
した際には、前記電文に付与されたデータを前記データ
ファイルBに反映してから前記電文を前記オンライン処
理部Bへ送るデータ参照処理部Bとを有したことを特徴
とする無停止オンラインサービスのシステム。
2. A data processing device A and a data processing device B are provided, one of which executes online processing as an active system,
The other performs batch processing or maintenance work as a standby system,
In a non-stop online service system in which an active system and a standby system are alternately switched and operated, a message distribution device having a message distribution processing unit that receives a message for online processing and controls a destination of the message, and the data processing A shared storage device accessible from both the devices A and B, wherein the data processing device A is a data file A for storing data for online processing.
When a message is received from the message distribution processing unit, the data file A is updated or referred to to process the message, and when the data file A is updated, the update information A is stored in the shared storage device. On-line processing unit A and movement for reflecting the update information B in the shared storage device accumulated while the data processing device B was the active system when the standby system was switched to the active system to the data file A When a message is received from the data reflection processing unit A and the message distribution processing unit, the data corresponding to the message read from the data file A is added to the message and sent to the data processing device B. When a message with data is received from the data processing device B, the data attached to the message is reflected in the data file A and then And a data reference processing unit A to send the statement to the online processing unit A, the data processing device B, the data file B for storing data of line processing
When a message is received from the message distribution processing unit, the data file B is updated or referred to to process the message, and when the data file B is updated, the update information B is stored in the shared storage device. An online processing unit B and a movement for reflecting the update information A in the shared storage device, which was accumulated while the data processing device A was the active system when the standby system was switched to the active system, to the data file B. When a message is received from the data reflection processing unit B and the message distribution processing unit, the data corresponding to the message read from the data file B is added to the message and sent to the data processing device A. When a message with data is received from the data processing device A, the data attached to the message is reflected in the data file B, and then the The system of non-stop online service, wherein a statement having a data reference processing unit B sent to the online processing unit B.
【請求項3】 前記電文振り分け装置は、待機系と現用
系が切り換えられた時点から、現用系となったデータ処
理装置の移動データ反映処理部A或いはBが前記共有記
憶装置内の全ての更新情報B或いはAを前記データファ
イルA或いはBへ反映し終わる時点までの切換過渡中に
は、待機系となった前記データ参照処理部A或いはBへ
電文を送り、切換過渡中でなければ、現用系の前記オン
ライン処理部A或いはBへ電文を送ることを特徴とする
請求項2の無停止オンラインサービスのシステム。
3. In the electronic message distributing device, from the time when the standby system and the active system are switched, the move data reflection processing unit A or B of the active data processing device updates all the data in the shared storage device. During the switching transition until the end of reflecting the information B or A in the data file A or B, a message is sent to the data reference processing unit A or B that has become the standby system, and if it is not in the switching transition, it is used. The non-stop online service system according to claim 2, wherein a message is sent to the online processing unit A or B of the system.
【請求項4】 前記共有記憶装置は、前記データファイ
ルAの更新情報Aを前記オンライン処理部Aが書き込
み、移動データ反映処理部Bが読み出す移動データファ
イルAと、前記データファイルBの更新情報Bを前記オ
ンライン処理部Bが書き込み、移動データ反映処理部A
が読み出す移動データファイルBとを備えた請求項2又
は3の無停止オンラインサービスのシステム。
4. In the shared storage device, the online processing unit A writes the update information A of the data file A and the move data reflection processing unit B reads the move data file A, and the update information B of the data file B. Is written by the online processing unit B, and the moving data reflection processing unit A
4. The non-stop online service system according to claim 2, further comprising a moving data file B read by
【請求項5】 前記オンライン処理の電文は、前記電文
振り分け装置、前記データ処理装置A、及びデータ処理
装置Bとネットワーク又は通信回線で接続されたオンラ
イン用の端末装置又は他のデータ処理装置から送られ、
前記電文振り分け装置で受信して前記データ処理装置
A、或いはデータ処理装置Bへ振り分けられることを特
徴とする請求項2、3、又は4の無停止オンラインサー
ビスのシステム。
5. The online processing message is sent from an online terminal device or another data processing device connected to the message distributing device, the data processing device A, and the data processing device B by a network or a communication line. The
The non-stop online service system according to claim 2, 3 or 4, wherein the electronic message distributing device receives the message and distributes it to the data processing device A or the data processing device B.
【請求項6】 オンライン処理を実行する現用系のサブ
システムとバッチ処理又は保守作業を実行する待機系の
サブシステムをデータ処理装置上に設けて、前記サブシ
ステムを現用系と待機系に交互に切り換えて運転する無
停止オンラインサービスのシステムにおいて、 現用系と待機系の前記サブシステムはそれぞれ、オンラ
イン処理で扱うデータを記憶するデータファイルと、端
末装置から送られた電文を処理した際に前記データファ
イルが更新された際の更新情報を記憶する更新情報記憶
手段と、待機系から現用系に切り換えられた際に待機系
となった前記サブシステムが記憶した前記更新情報記憶
手段の更新情報を前記データファイルに反映する反映手
段とを備え、 系が切り換えられた時点から、前記反映手段にて全ての
前記更新情報を現用系の前記データファイルへ反映し終
わる時点までの切換過渡中には、待機系となった前記サ
ブシステムが端末装置からの電文を受けて、受信した前
記電文に対応するデータを待機系となった前記データフ
ァイルから読み出して前記受信した電文に付与して現用
系となったサブシステムへ送り、現用系となったサブシ
ステムは前記データ付きの電文を受けて現用系となった
前記データファイルに反映してから前記電文の処理を行
うことを特徴とする無停止オンラインサービスのシステ
ム。
6. A data processing device is provided with a subsystem of an active system for executing online processing and a subsystem of a standby system for performing batch processing or maintenance work, and the subsystems are alternately arranged in the active system and the standby system. In a non-stop online service system that operates by switching, the active and standby subsystems each have a data file that stores the data handled in online processing and the data when the message sent from the terminal device is processed. The update information storage means for storing update information when the file is updated, and the update information of the update information storage means stored by the subsystem that became the standby system when the standby system is switched to the active system A reflection means for reflecting the data file is provided, and all the update information is updated by the reflection means from the time the system is switched. During the transition transition until the end of the reflection in the data file of the active system, the subsystem that has become the standby system receives a message from the terminal device and changes the data corresponding to the received message to the standby system. It is read from the data file and added to the received message and sent to the subsystem that became the active system, and the subsystem that became the active system receives the message with the data and writes it to the data file that became the active system. A system of non-stop online service, characterized by performing the processing of the electronic message after the reflection.
【請求項7】 サブシステムAとサブシステムBとをデ
ータ処理装置上に設け、一方が現用系としてオンライン
処理を実行し、他方が待機系としてバッチ処理又は保守
作業を実行し、現用系と待機系が交互に切り換えられて
運転される無停止オンラインサービスのシステムにおい
て、 オンライン処理の電文を受信して電文の送り先を制御す
る電文振り分け処理部を有するサブシステムCと、前記
サブシステムAと前記サブシステムBからアクセスされ
る移動データファイルとを備え、 前記サブシステムAは、 オンライン処理のデータを記憶するデータファイルA
と、 前記電文振り分け処理部から電文を受信すると前記デー
タファイルAを更新又は参照して前記電文を処理すると
ともに前記データファイルAが更新された場合はその更
新情報Aを前記移動データファイルに蓄積するオンライ
ン処理部Aと、 待機系から現用系に切り換えられた際に前記サブシステ
ムBが現用系であった間に蓄積した前記移動データファ
イル内の更新情報Bを前記データファイルAへ反映させ
る移動データ反映処理部Aと、 前記電文振り分け処理部から電文を受信した際には、前
記データファイルAから読み出した前記電文に対応した
データを前記電文に付加して前記サブシステムBに送
り、前記サブシステムBからデータ付きの電文を受信し
た際には、前記電文に付与されたデータを前記データフ
ァイルAに反映してから前記電文を前記オンライン処理
部Aへ送るデータ参照処理部Aとを有し、 前記サブシステムBは、 オンライン処理のデータを記憶するデータファイルB
と、 前記電文振り分け処理部から電文を受信すると前記デー
タファイルBを更新又は参照して前記電文を処理すると
ともに前記データファイルBが更新された場合はその更
新情報Bを前記移動データファイルに蓄積するオンライ
ン処理部Bと、待機系から現用系に切り換えられた際に
前記サブシステムAが現用系であった間に蓄積した前記
移動データファイル内の更新情報Aを前記データファイ
ルBへ反映させる移動データ反映処理部Bと、 前記電文振り分け処理部から電文を受信した際には、前
記データファイルBから読み出した前記電文に対応した
データを前記電文に付加して前記サブシステムAに送
り、前記サブシステムAからデータ付きの電文を受信し
た際には、前記電文に付与されたデータを前記データフ
ァイルBに反映してから前記電文を前記オンライン処理
部Bへ送るデータ参照処理部Bとを有したことを特徴と
する無停止オンラインサービスのシステム。
7. A subsystem A and a subsystem B are provided on a data processing device, one of which executes online processing as an active system, and the other of which performs batch processing or maintenance work as a standby system, and an active system and a standby system. In a non-stop online service system in which systems are alternately switched and operated, a subsystem C having a message distribution processing unit that receives a message for online processing and controls a destination of the message, the subsystem A, and the subsystem And a moving data file accessed from the system B, wherein the subsystem A is a data file A for storing data of online processing.
When a message is received from the message distribution processing unit, the data file A is updated or referenced to process the message, and when the data file A is updated, the update information A is stored in the move data file. Online processing unit A and movement data for reflecting the update information B in the movement data file accumulated while the subsystem B was the active system when the standby system was switched to the active system to the data file A When a message is received from the reflection processing unit A and the message distribution processing unit, the data corresponding to the message read from the data file A is added to the message and sent to the subsystem B. When a message with data is received from B, is the data attached to the message reflected in the data file A? And a data reference processing unit A to send the message to the online processing unit A, the sub-system B, the data file B for storing data of line processing
When a message is received from the message distribution processing unit, the data file B is updated or referred to to process the message, and when the data file B is updated, the update information B is stored in the move data file. Online processing unit B and movement data for reflecting the update information A in the movement data file accumulated while the subsystem A was the active system when the standby system was switched to the active system to the data file B. When a message is received from the reflection processing unit B and the message distribution processing unit, data corresponding to the message read from the data file B is added to the message and sent to the subsystem A. When a message with data is received from A, is the data attached to the message reflected in the data file B? The system of non-stop online service, characterized in that the message had a data reference processing unit B sent to the online processing unit B.
【請求項8】 前記電文振り分け処理部は、待機系と現
用系が切り換えられた時点から、現用系となったサブシ
ステムの移動データ反映処理部A或いはBが前記移動デ
ータファイル内の全ての更新情報B或いはAを前記デー
タファイルA或いはBへ反映し終わる時点までの切換過
渡中には、待機系となった前記データ参照処理部A或い
はBへ電文を送り、切換過渡中でなければ、現用系の前
記オンライン処理部A或いはBへ電文を送ることを特徴
とする請求項7の無停止オンラインサービスのシステ
ム。
8. The electronic data distribution processing unit, when the standby system and the active system are switched, the migration data reflection processing unit A or B of the subsystem which has become the active system updates all the data in the migration data file. During the switching transition until the end of reflecting the information B or A in the data file A or B, a message is sent to the data reference processing unit A or B that has become the standby system, and if it is not in the switching transition, it is used. 8. The non-stop online service system according to claim 7, wherein a message is sent to the online processing unit A or B of the system.
【請求項9】 前記移動データファイルは、前記データ
ファイルAの更新情報Aを前記オンライン処理部Aが書
き込み、移動データ反映処理部Bが読み出す移動データ
ファイルAと、前記データファイルBの更新情報Bを前
記オンライン処理部Bが書き込み、移動データ反映処理
部Aが読み出す移動データファイルBとを備えた請求項
7又は8の無停止オンラインサービスのシステム。
9. In the move data file, update information A of the data file A is written by the online processing unit A and read by the move data reflection processing unit B, and update information B of the data file B. 9. The non-stop online service system according to claim 7, further comprising: a moving data file B written by the online processing unit B and read by the moving data reflection processing unit A.
【請求項10】 オンライン処理を実行する現用系のデ
ータ処理装置とバッチ処理又は保守作業を実行する待機
系のデータ処理装置を設けて、前記データ処理装置を現
用系と待機系に交互に切り換えて運転する無停止オンラ
インサービスの方法において、 前記データ処理装置はそれぞれ、 電文を受信すると前記データ処理装置に設けたデータフ
ァイルを参照又は更新して電文を処理し、 前記データファイルを更新した際にその更新情報を前記
データ処理装置の双方からアクセス可能な共通記憶装置
に蓄積し、 待機系から現用系に切り換えられた際に待機系となった
前記データ処理装置が蓄積した前記更新情報を現用系の
前記データファイルに反映し、 系が切り換えられた時点から、前記更新情報を現用系の
前記データファイルに反映し終わる時点までの切換過渡
中には、待機系となった前記データ処理装置が端末装置
からの電文を受けて、受信した前記電文に対応するデー
タを待機系となった前記データファイルから読み出して
前記受信した電文に付与して現用系となったデータ処理
装置へ送り、現用系となったデータ処理装置は前記デー
タ付きの電文を受けて現用系となった前記データファイ
ルに反映してから前記電文の処理を行うことを特徴とす
る無停止オンラインサービスの方法。
10. An active data processing apparatus for executing online processing and a standby data processing apparatus for executing batch processing or maintenance work are provided, and the data processing apparatus is alternately switched between the active system and the standby system. In the method of non-stop online service to operate, each of the data processing devices, when receiving a message, refers to or updates a data file provided in the data processing device to process the message, and when the data file is updated, the The update information is stored in a common storage device accessible from both of the data processing devices, and the update information accumulated by the data processing device that becomes the standby system when the standby system is switched to the active system is stored in the active system. It is reflected in the data file, and when the system is switched, the update information is reflected in the data file of the active system. During the transition transition up to the point in time, the data processing device that has become the standby system receives a message from the terminal device, reads the data corresponding to the received message from the data file that has become the standby system, and receives the data. Sent to the data processor that became the active system, and the data processor that became the active system receives the message with the data and reflects it in the data file that became the active system, and then A non-disruptive online service method characterized by performing processing.
【請求項11】 オンライン処理を実行する現用系のサ
ブシステムとバッチ処理又は保守作業を実行する待機系
のサブシステムをデータ処理装置上に設けて、前記サブ
システムを現用系と待機系に交互に切り換えて運転する
無停止オンラインサービスの方法において、 前記サブシステムはそれぞれ、 電文を受信すると前記サブシステムに設けたデータファ
イルを参照又は更新して電文を処理し、 前記データファイルを更新した際にその更新情報を前記
サブシステムの双方からアクセス可能な移動データファ
イルに蓄積し、 待機系から現用系に切り換えられた際に待機系となった
前記サブシステムが蓄積した前記更新情報を現用系の前
記データファイルに反映し、 系が切り換えられた時点から、前記反映手段にて全ての
前記更新情報を現用系の前記データファイルへ反映し終
わる時点までの切換過渡中には、待機系となった前記サ
ブシステムが端末装置からの電文を受けて、受信した前
記電文に対応するデータを待機系となった前記データフ
ァイルから読み出して前記受信した電文に付与して現用
系となったサブシステムへ送り、現用系となったサブシ
ステムは前記データ付きの電文を受けて現用系となった
前記データファイルに反映してから前記電文の処理を行
うことを特徴とする無停止オンラインサービスの方法。
11. A data processing apparatus is provided with a subsystem of an active system for executing online processing and a subsystem of a standby system for performing batch processing or maintenance work, and the subsystems are alternately arranged in the active system and the standby system. In the method of the non-stop online service of switching and operating, each of the subsystems receives or receives a telegram to refer to or update a data file provided in the subsystem to process the telegram, and when the data file is updated, The update information is stored in a moving data file that can be accessed from both of the subsystems, and the update information accumulated by the subsystem that becomes the standby system when the standby system is switched to the active system is stored in the data of the active system. After reflecting the file in the file and switching the system, all the update information is updated by the reflecting means in the active system. During the switching transition until the end of reflection in the data file, the subsystem that has become the standby system receives a message from the terminal device, and the data corresponding to the received message is the data that becomes the standby system. It is read from a file and added to the received message and sent to the subsystem that became the active system, and the subsystem that became the active system receives the message with the data and reflects it in the data file that became the active system. A method of non-stop online service, characterized in that the above-mentioned message is processed.
【請求項12】 オンライン処理を実行する現用系のデ
ータ処理装置とバッチ処理又は保守作業を実行する待機
系のデータ処理装置を設けて、前記データ処理装置を現
用系と待機系に交互に切り換えて運転する手順と、 電文を受信すると前記データ処理装置に設けたデータフ
ァイルを参照又は更新して電文を処理する手順と、 前記データファイルを更新した際にその更新情報を前記
データ処理装置の双方からアクセス可能な共通記憶装置
に蓄積する手順と、 待機系から現用系に切り換えられた際に待機系となった
前記データ処理装置が蓄積した前記更新情報を現用系の
前記データファイルに反映する手順と、 系が切り換えられた時点から、前記更新情報を現用系の
前記データファイルに反映し終わる時点までの切換過渡
中には、待機系となった前記データ処理装置が端末装置
からの電文を受けて、受信した前記電文に対応するデー
タを待機系となった前記データファイルから読み出して
前記受信した電文に付与して現用系となったデータ処理
装置へ送り、現用系となったデータ処理装置は前記デー
タ付きの電文を受けて現用系となった前記データファイ
ルに反映してから前記電文の処理を行う手順とを前記そ
れぞれのデータ処理装置に実行させるプログラムを記録
した記録媒体。
12. A data processing device of an active system for executing online processing and a data processing device of a standby system for performing batch processing or maintenance work are provided, and the data processing device is alternately switched between the active system and the standby system. A procedure for operating, a procedure for processing a message by referring to or updating a data file provided in the data processing device when receiving a message, and updating information when updating the data file from both the data processing device. A procedure of accumulating in an accessible common storage device, and a procedure of reflecting the update information accumulated by the data processing device which has become a standby system when the standby system is switched to the active system in the data file of the active system During the switching transition from the time when the system is switched to the time when the update information is completely reflected in the data file of the active system, the system becomes the standby system. Data processing in which the data processing device receives a message from the terminal device, reads data corresponding to the received message from the data file that has become the standby system, and adds the data to the received message to become the active system The data processing device that has been sent to the device, and the active data processing device receives the electronic message with the data and reflects it in the active data file and then processes the electronic message to each of the data processing devices. A recording medium recording a program to be executed.
【請求項13】 オンライン処理を実行する現用系のサ
ブシステムとバッチ処理又は保守作業を実行する待機系
のサブシステムをデータ処理装置上に設けて、前記サブ
システムを現用系と待機系に交互に切り換えて運転する
手順と、 電文を受信すると前記サブシステムに設けたデータファ
イルを参照又は更新して電文を処理する手順と、 前記データファイルを更新した際にその更新情報を前記
サブシステムの双方からアクセス可能な移動データファ
イルに蓄積する手順と、 待機系から現用系に切り換えられた際に待機系となった
前記サブシステムが蓄積した前記更新情報を現用系の前
記データファイルに反映する手順と、 系が切り換えられた時点から、前記反映手段にて全ての
前記更新情報を現用系の前記データファイルへ反映し終
わる時点までの切換過渡中には、待機系となった前記サ
ブシステムが端末装置からの電文を受けて、受信した前
記電文に対応するデータを待機系となった前記データフ
ァイルから読み出して前記受信した電文に付与して現用
系となったサブシステムへ送り、現用系となったサブシ
ステムは前記データ付きの電文を受けて現用系となった
前記データファイルに反映してから前記電文の処理を行
う手順とを前記それぞれのサブシステムに実行させるプ
ログラムを記録した記録媒体。
13. A data processing apparatus is provided with a subsystem of an active system for executing online processing and a subsystem of a standby system for performing batch processing or maintenance work, and the subsystems are alternately arranged in the active system and the standby system. A procedure of switching and operating, a procedure of processing a message by referring to or updating a data file provided in the subsystem when receiving a message, and updating information when updating the data file from both of the subsystems. A procedure of accumulating in an accessible mobile data file, and a procedure of reflecting the update information accumulated by the subsystem that became the standby system when the standby system is switched to the active system in the data file of the active system, When all the update information has been reflected in the data file of the active system by the reflecting means from the time when the system is switched During the transition transition up to, the subsystem that has become the standby system receives a message from the terminal device, reads the data corresponding to the received message from the data file that has become the standby system, and receives the message. To the subsystem that became the active system, and the subsystem that became the active system receives the message with the data and reflects it in the data file that became the active system before processing the message. A recording medium in which a program for causing each of the subsystems to execute is recorded.
JP2000157129A 2000-05-26 2000-05-26 Nonstop online service system, method, and recording medium Expired - Fee Related JP3471717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000157129A JP3471717B2 (en) 2000-05-26 2000-05-26 Nonstop online service system, method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000157129A JP3471717B2 (en) 2000-05-26 2000-05-26 Nonstop online service system, method, and recording medium

Publications (2)

Publication Number Publication Date
JP2001337844A JP2001337844A (en) 2001-12-07
JP3471717B2 true JP3471717B2 (en) 2003-12-02

Family

ID=18661813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000157129A Expired - Fee Related JP3471717B2 (en) 2000-05-26 2000-05-26 Nonstop online service system, method, and recording medium

Country Status (1)

Country Link
JP (1) JP3471717B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4123440B2 (en) * 2004-03-15 2008-07-23 日本電気株式会社 Object-oriented network distributed computing system, load balancing apparatus and server thereof
JP5467625B2 (en) * 2008-07-30 2014-04-09 インターナショナル・ビジネス・マシーンズ・コーポレーション Production-substitution system including a production system that processes transactions and a substitution system that is a backup system of the production system

Also Published As

Publication number Publication date
JP2001337844A (en) 2001-12-07

Similar Documents

Publication Publication Date Title
US6654769B2 (en) File system for creating switched logical I/O paths for fault recovery
US7685387B2 (en) Storage system for multi-site remote copy
CN101118507B (en) Computer system and snapshot creation method thereof
JP3526474B2 (en) Distribution information management system in network
US7225371B2 (en) Method and apparatus for storing and retrieving multiple point-in-time consistent data sets
US8135908B2 (en) Storage system, data transfer method, and program
EP1150210A2 (en) Method for duplicating data of storage subsystem and data duplicating system
JP2005301590A (en) Storage system and data copying method
JP2004013367A (en) Data storage subsystem
US8255649B2 (en) Remote copy control method and system in storage cluster environment
JP2003050749A (en) Storage device system and method for constituting storage device system
JP3471717B2 (en) Nonstop online service system, method, and recording medium
US7117249B1 (en) Computer system and data sharing method between computers
US9003129B1 (en) Techniques for inter-storage-processor cache communication using tokens
JPH11265322A (en) On-line data base information processing system with backup function
JP2002222107A (en) Data synchronizing device
JP2005149043A (en) Transaction processing system and method, and program
JP2001154896A (en) Computer and method for updating file
JP2545436B2 (en) Distributed database commitment processor
JP5222171B2 (en) Database management method and database management system
JP3434311B2 (en) Electronic exchange
JPH11345139A (en) Non-stop type duplex system
JP3570639B2 (en) How to manage system definition information
US20210303596A1 (en) Database management system and database management method
JP3500561B2 (en) Shared data buffer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030812

LAPS Cancellation because of no payment of annual fees