JP2001282762A - Device and method for backing up data in distributed processing system - Google Patents

Device and method for backing up data in distributed processing system

Info

Publication number
JP2001282762A
JP2001282762A JP2000093256A JP2000093256A JP2001282762A JP 2001282762 A JP2001282762 A JP 2001282762A JP 2000093256 A JP2000093256 A JP 2000093256A JP 2000093256 A JP2000093256 A JP 2000093256A JP 2001282762 A JP2001282762 A JP 2001282762A
Authority
JP
Japan
Prior art keywords
database
data
server
backup
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000093256A
Other languages
Japanese (ja)
Inventor
Akio Sudo
章夫 須藤
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2000093256A priority Critical patent/JP2001282762A/en
Priority to DE60119822T priority patent/DE60119822T8/en
Priority to EP01107910A priority patent/EP1139235B1/en
Priority to AT01107910T priority patent/ATE327539T1/en
Priority to US09/819,612 priority patent/US20010027453A1/en
Priority to CNB011097442A priority patent/CN1251087C/en
Publication of JP2001282762A publication Critical patent/JP2001282762A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • General Factory Administration (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a device and a method for backing up data in a distributed processing system, by which recovery processing of a database is speedily performed and a system is never stopped for a long time. SOLUTION: Databases stored in database storage parts 122 and 142 are backed up at a prescribed time interval in backup data storage parts 124 and 144 and the update information of the databases after the start of backup is held in archive data storage parts 126 and 146 as archive data. When a fault occurs, the backup data are copied, and then all the data bases are recovered while using the archive data. In this case, the stop time of the system at the time of recovery can be made only as long as the time for recovering the databases from the archive data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のサーバと、
前記各サーバに接続され制御対象の分散処理を行う複数
のクライアントとからなる分散処理システムにおけるデ
ータバックアップ装置および方法に関する。
[0001] The present invention relates to a plurality of servers,
The present invention relates to a data backup apparatus and method in a distributed processing system including a plurality of clients connected to the respective servers and performing distributed processing of a control target.

【0002】[0002]

【従来の技術】近年の情報処理装置、情報処理技術の発
達により様々な分野で計算機処理が行われている。例え
ば、金融機関等におけるオンライン処理システムが良く
知られているが、このシステムでは、システム障害時の
リカバリ対策としてシステムを完全2重化し、一方を通
常の運用(現用)系、他方を予備の待機系とし、運用時
に障害が発生した場合、待機系のシステムに切り替え、
サービスを継続するように考慮されている。
2. Description of the Related Art Computer processing has been performed in various fields due to the recent development of information processing apparatuses and information processing techniques. For example, an online processing system in a financial institution or the like is well known. In this system, as a recovery measure in the event of a system failure, the system is completely duplicated, and one is a normal operation (working) system and the other is a standby standby system. If a failure occurs during operation, switch to the standby system,
It is considered to continue the service.

【0003】この場合、何時でも運用系から待機系への
切り替えが可能なように、システムが処理を行う対象デ
ータ、および、処理にあたってシステム側で必要となる
情報を蓄積したデータベースが運用系システム、待機系
システムのそれぞれに設定され、運用系が実行した処理
の結果、運用系のデータベース内容が更新された場合、
待機系のデータベースの該当部分も同じ内容に更新し、
データベースの内容が同一に保たれるように運用してい
る。
[0003] In this case, the data to be processed by the system and the database storing information required by the system for the processing so that the system can be switched from the active system to the standby system at any time are stored in the active system. If the contents of the active database are updated as a result of the processing set by each of the standby systems and executed by the active system,
Update the corresponding part of the standby database to the same content,
We operate to keep the contents of the database the same.

【0004】なお、データベースの同一性を保持するに
あたって、待機系のシステムは単に待機しているだけで
あり、他の処理を実行しているわけではないので、運用
系システムから待機系システムに更新データのデータベ
ース書き込み処理を送信するだけでよく、データベース
アクセスの競合制御等の処理は必要とならない。
In order to maintain the database identity, the standby system simply stands by and does not execute any other processing. Therefore, the standby system is updated from the active system to the standby system. It is only necessary to transmit the data write processing to the database, and no processing such as contention control for database access is required.

【0005】このようなオンライン処理システムは、シ
ステム規模が大きいにも拘わらず、障害によるシステム
停止が及ぼす社会的影響が甚大であることから、完全2
重化による設備コストの負担も止むを得ないものとされ
ている。
In such an online processing system, although the system scale is large, the social impact of stopping the system due to a failure is enormous.
It is unavoidable that the burden of equipment costs due to the weight increase is unavoidable.

【0006】これに対して、企業内の情報処理システム
等の小規模システムでは、資源を有効に活用する観点か
ら上記のような完全2重化システムは採用しがたく、従
って、正常な運用時には、待機系システムも運用系シス
テムが処理するタスクとは異なる他の処理を実行するよ
うにシステムが構築される場合が多い。
On the other hand, in a small-scale system such as an information processing system in a company, it is difficult to employ the above-described complete duplex system from the viewpoint of effective use of resources. In many cases, the standby system is also configured to execute another process different from the task processed by the active system.

【0007】特に、最近ではコンピュータの小型化、高
性能化が進み、高速なプロセッサ、容量の大きなメイン
メモリ、大容量のハードディスク装置等が低コストで搭
載されるようになり、企業内の多くの情報処理システム
として、複数のサーバに多数のクライアントを接続し、
各クライアントにおける処理を各サーバが分散制御する
分散処理システムが採用されている。
In particular, in recent years, computers have been reduced in size and performance, and high-speed processors, large-capacity main memories, large-capacity hard disk drives, and the like have been mounted at low cost. As an information processing system, many clients are connected to multiple servers,
A distributed processing system in which processing in each client is distributedly controlled by each server is employed.

【0008】このような小規模システムあるいは企業内
の分散処理システムにおいては、各サーバに構築される
データベースの内容を同一に保持し、いずれかのサーバ
に障害が発生した場合に他のサーバに処理を移行できる
ようにするとともに、いずれかのサーバに構築されたデ
ータベースが破壊されるなどの障害が発生した場合に
は、正常なサーバのデータベースを用いて障害が発生し
たサーバのデータベースを復元できるデータベースバッ
クアップ機能が種々提案されている。
[0008] In such a small-scale system or a distributed processing system in a company, the contents of a database constructed in each server are kept the same, and when a failure occurs in one of the servers, processing is performed in another server. Database that can be migrated, and in the event of a failure such as the database built on one of the servers being destroyed, the database on the failed server can be restored using the database on the normal server Various backup functions have been proposed.

【0009】例えば、各サーバに構築されたデータベー
スの内容の同一性を常時保持し、障害が発生した際に、
他のサーバのデータを用いてファイル復旧処理を行うよ
うにしたものがある(特開平7−114495号公報、
特開平5−265829号公報等参照)。また、データ
ベースをバックアップする手法として、対象となるデー
タファイルをバックアップ前にアーカイブファイルにま
とめることにより、バックアップ処理時間を短縮するよ
うにしたものがある(特開平11−53240号公報参
照)。
For example, the identity of the contents of the database constructed in each server is always maintained, and when a failure occurs,
There is one in which file recovery processing is performed using data of another server (Japanese Patent Laid-Open No. Hei 7-114495,
See JP-A-5-265829. As a method of backing up a database, there is a method of shortening a backup processing time by collecting target data files into an archive file before backup (see Japanese Patent Application Laid-Open No. H11-53240).

【0010】さらに、いずれかのサーバのデータベース
が破壊されるなどの障害が発生した場合において、正常
なサーバのデータベースを用いて障害データベースを復
旧する方法として、例えば、図6に示す方法が知られて
いる。
Further, as a method for recovering a failed database by using a database of a normal server when a failure such as the database of any server is destroyed, for example, a method shown in FIG. 6 is known. ing.

【0011】図6に示す分散処理システムは、複数のサ
ーバ1、2とクライアント3、4がLANなどの通信ケ
ーブル5で接続されており、各サーバ1、2には、それ
ぞれデータベースを記憶するデータベース記憶部6、7
が構築される。サーバ1、2は、クライアント3、4の
処理要求を分散して処理するように構成されている。
In the distributed processing system shown in FIG. 6, a plurality of servers 1 and 2 and clients 3 and 4 are connected by a communication cable 5 such as a LAN. Storage units 6 and 7
Is constructed. The servers 1 and 2 are configured to process the processing requests of the clients 3 and 4 in a distributed manner.

【0012】サーバ1、2およびクライアント3、4
は、それぞれこの分散処理システムによって処理すべき
業務に応じて蓄積されたサーバアプリケーション1b、
2bおよびユーザアプリケーション3a、4aを有し、
これらのアプリケーション3a、4aによって所定の処
理が行われる。
Servers 1 and 2 and clients 3 and 4
Are server applications 1b stored according to the tasks to be processed by the distributed processing system,
2b and user applications 3a, 4a,
A predetermined process is performed by these applications 3a and 4a.

【0013】クライアント3、4からの処理要求によっ
てサーバ1、2のデータベースの内容が更新される場合
には、各サーバ1、2は、レプリケーション処理部1
a、2aによってサーバ間通信を行い、互いのデータベ
ースの更新内容を他のデータベースに反映し、これによ
ってデータベースの内容の同一性が保たれる。
When the contents of the databases of the servers 1 and 2 are updated by the processing requests from the clients 3 and 4, each of the servers 1 and 2
Communication between servers is performed by a and 2a, and the updated content of each database is reflected on another database, thereby maintaining the same content of the databases.

【0014】このような分散処理システムにおいて、何
らかの原因により一方のサーバ、例えば、サーバ2のデ
ータベースの内容が破壊されるような障害が発生した場
合、正常なサーバ1のデータベースの内容を用いて障害
の発生したデータベースの内容を修復する。
In such a distributed processing system, if a failure that destroys the contents of the database of one server, for example, the server 2 occurs for some reason, the failure is performed using the contents of the database of the normal server 1. Repair the contents of the database where the error occurred.

【0015】この場合、従来は、データベースのエクス
ポート、インポート機能を用い、次の手順でデータベー
ス修復を行っていた。
In this case, conventionally, the database was restored in the following procedure using the database export / import functions.

【0016】すなわち、先ず、クライアント3、4の処
理動作を停止させ、正常なサーバ1のバックアップ処理
部8aによるエクスポート機能を用いて、データベース
記憶部6の内容をバックアップデータ記憶部6aに記憶
させる。次いで、サーバ2のバックアップ処理部9aに
よるインポート機能を用いて、バックアップデータ記憶
部6aの内容をデータベース記憶部7にインポートする
とともに、データベースの障害発生後、システム停止ま
での間に更新されたデータベースの更新内容を反映さ
せ、その後、分散処理システムの運用を再開する。
That is, first, the processing operations of the clients 3 and 4 are stopped, and the contents of the database storage unit 6 are stored in the backup data storage unit 6a by using the export function of the backup processing unit 8a of the normal server 1. Next, using the import function of the backup processing unit 9a of the server 2, the contents of the backup data storage unit 6a are imported into the database storage unit 7, and the database updated after the occurrence of the database failure until the system is stopped. Reflect the updated content, and then restart the operation of the distributed processing system.

【0017】ここで、データベースのエクスポート、イ
ンポート機能では、概略以下のような処理が行われる。
すなわち、エクスポート機能は、データベースを、表定
義に関する情報と、データに関する情報と、索引定義に
関する情報と、トリガ定義に関する情報と、整合性制約
に関する情報とに分解し、これらの情報をエクスポート
データとしてバックアップデータ記憶部6a、7aに記
憶させる。このようなデータ処理を行うのは、データ量
を可能な限り少なくし、バックアップデータ記憶部6
a、7aの容量を確保するためである。また、インポー
ト機能では、前記のようにして分解されたデータからデ
ータベースを再構築する処理が行われる。
In the database export / import function, the following processing is performed.
That is, the export function decomposes the database into information on table definitions, information on data, information on index definitions, information on trigger definitions, and information on integrity constraints, and backs up these information as export data. The data is stored in the data storage units 6a and 7a. Such data processing is performed because the data amount is reduced as much as possible and the backup data storage unit 6
This is to secure the capacities a and 7a. In the import function, a process of reconstructing a database from the data decomposed as described above is performed.

【0018】[0018]

【発明が解決しようとする課題】しかしながら、上記の
エクスポート、インポート機能を用いてデータベースの
バックアップを行った場合、保存のためのハードウエア
資源を節約することはできるが、データベースの復旧処
理に多大な時間を要するという不都合が生じてしまう。
However, when the database is backed up using the above-mentioned export and import functions, hardware resources for saving can be saved, but a great deal of processing is required for the database recovery processing. The disadvantage that time is required arises.

【0019】例えば、一般的なデータベースにおけるイ
ンポート機能を用いた処理では、処理時間がデータベー
スの索引定義に大きく左右される。すなわち、索引の再
構築時間は、データ量と索引数と索引に使用する表のフ
ィールド数(列数)とに依存しており、構築時間=デー
タ量×索引数×使用フィールド数×1フィールド当たり
の処理時間として求められる。生産システムにおけるデ
ータベースでは、特に、実績表等のデータ量が多く、ま
た、ユーザアプリケーションは、この表に対して多くの
視点から素早くデータを引き出せる必要があるため、索
引数、使用フィールド数ともに複数定義されている。従
って、多大なインポート処理時間を要することになる。
また、生産システム以外においても、種々の視点でデー
タベースを処理する必要のあるシステムにおいては、同
様にして、インポート処理に長時間を要することにな
る。
For example, in the processing using the import function in a general database, the processing time largely depends on the index definition of the database. That is, the rebuilding time of the index depends on the data amount, the number of indexes, and the number of fields (the number of columns) of the table used for the index, and the building time = data amount × index number × used field number × per field Is calculated as the processing time. In a database in a production system, especially, the amount of data such as the result table is large, and the user application needs to be able to quickly extract data from this viewpoint from many viewpoints. Have been. Therefore, a lot of import processing time is required.
In systems other than the production system that need to process the database from various viewpoints, the import process similarly takes a long time.

【0020】また、データベースの復元作業を実行する
間は、正常に運用されているサーバの処理も停止するこ
と、すなわち、分散処理システム全体をこの間停止状態
にすることが必要となる。これは、データベース復元作
業中に、正常運用しているサーバがクライアントからの
処理を受け付け、データベースの更新が行われてしまう
と、正常なサーバのデータベースと復元中のデータベー
スとの内容が一致しなくなるためである。
Further, during execution of the database restoration work, it is necessary to stop the processing of the normally operating server, that is, to suspend the entire distributed processing system during this time. This is because if a normally operating server accepts processing from a client during database restoration work and the database is updated, the contents of the database of the normal server and the database being restored will not match That's why.

【0021】特に、24時間連続稼働が要求されるよう
な製造工場における生産ラインの機械設備の制御(以
下、プロセス制御と称する)と生産管理業務等に適用さ
れる場合、データベース障害を復元する処理に要するシ
ステム停止時間が長時間に及ぶと、生産効率維持の面で
多大な影響を与えてしまう。
In particular, when applied to control of machine equipment on a production line (hereinafter referred to as "process control") and production management work in a manufacturing factory where continuous operation is required for 24 hours, processing for restoring a database failure is performed. If the system downtime required for a long time is long, it will have a great effect on the maintenance of production efficiency.

【0022】本発明は、前記の課題を解決するためにな
されたものであって、複数のサーバおよびクライアント
により構成される分散処理システムにおいて、データベ
ースの復旧処理を迅速に行い、長時間にわたりシステム
を停止させることのない分散処理システムにおけるデー
タバックアップ装置および方法を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and in a distributed processing system including a plurality of servers and clients, a database recovery process is quickly performed, and the system is constructed for a long time. An object of the present invention is to provide a data backup device and method in a distributed processing system that does not stop.

【0023】[0023]

【課題を解決するための手段】前記の目的を達成するた
めに、本発明は、複数のサーバと、前記各サーバに接続
され制御対象の分散処理を行う複数のクライアントとか
らなる分散処理システムであって、前記各サーバは、前
記複数のクライアントの前記制御対象に対する処理によ
り更新されるデータベースを記憶するデータベース記憶
部と、前記クライアントの前記制御対象に対する処理に
よる前記データベースの更新処理に基づいてデータ複製
トリガを生成する複製トリガ生成部と、前記データ複製
トリガに基づき前記データベースの更新情報を他のサー
バへ転送する更新情報転送部と、転送された前記更新情
報に基づき前記他のサーバの前記データベースを更新す
るデータベース更新処理部と、所定の時間間隔で前記デ
ータベースの運用中バックアップ処理を行うバックアッ
プ処理部と、前記運用中バックアップ処理によるバック
アップデータを記憶するバックアップデータ記憶部と、
前記運用中バックアップ処理の開始以降に発生する前記
データベースの更新情報に基づくアーカイブデータを作
成するアーカイブデータ作成部と、前記アーカイブデー
タを記憶するアーカイブデータ記憶部と、を備え、前記
バックアップデータおよび前記アーカイブデータに基づ
いて前記データベースを復旧させることを特徴とする。
In order to achieve the above object, the present invention provides a distributed processing system comprising a plurality of servers and a plurality of clients connected to the respective servers and performing distributed processing of a control target. The server includes a database storage unit that stores a database that is updated by a process performed on the control target by the plurality of clients, and a data replication process that is performed based on the database update process performed by the client that processes the control target. A replication trigger generation unit that generates a trigger, an update information transfer unit that transfers update information of the database to another server based on the data replication trigger, and the database of the other server based on the transferred update information. A database update processing unit to update, and operation of the database at predetermined time intervals A backup processor for performing backup process, the backup data storage unit for storing the backup data according to the operation during the backup process,
An archive data creation unit that creates archive data based on the update information of the database that occurs after the start of the backup process during operation; and an archive data storage unit that stores the archive data. The backup data and the archive The database is restored based on data.

【0024】また、本発明は、複数のサーバに接続され
る複数のクライアントの制御対象に対する処理に従い、
前記各クライアントに接続される前記各サーバのデータ
ベースを更新するステップと、前記データベースの更新
処理に基づいてデータ複製トリガを生成するステップ
と、前記データ複製トリガに基づき前記データベースの
更新情報を他の前記サーバへ転送するステップと、転送
された前記更新情報に基づき他の前記サーバの前記デー
タベースを更新するステップと、からなる分散処理シス
テムにおいて、所定の時間間隔で前記データベースの運
用中バックアップ処理を行い、バックアップデータを保
存するステップと、前記運用中バックアップ処理の開始
以降に発生する前記データベースの更新情報に基づくア
ーカイブデータを作成し保存するステップと、複数の前
記サーバの1つに障害が発生した場合、正常な他の前記
サーバの前記バックアップデータをコピー処理するとと
もに、正常な他の前記サーバの前記アーカイブデータか
らデータベースを復元させるステップと、を組み合わせ
てなることを特徴とする。
Further, according to the present invention, according to a process for a control target of a plurality of clients connected to a plurality of servers,
Updating the database of each server connected to each client, generating a data replication trigger based on the database update processing, and updating the database update information based on the data replication trigger to another Transferring to a server, and updating the database of the other server based on the transferred update information, in a distributed processing system, performing backup processing during operation of the database at predetermined time intervals, Saving backup data, creating and saving archive data based on update information of the database that occurs after the start of the in-operation backup process, and when a failure occurs in one of the plurality of servers, The back of the other normal server With the copy process the Updater, characterized by comprising a combination of a step of restoring the database from said archive data of the other normal the server.

【0025】[0025]

【発明の実施の形態】図1は、本発明が適用される分散
処理システム10の構成を示す。この分散処理システム
10は、複数のサーバ12、14と、複数のクライアン
ト20、22、24、26、30および32とがLAN
等の通信ケーブル16で接続された構成となっている。
FIG. 1 shows the configuration of a distributed processing system 10 to which the present invention is applied. In this distributed processing system 10, a plurality of servers 12, 14 and a plurality of clients 20, 22, 24, 26, 30, and 32 are connected to a LAN.
And the like.

【0026】分散処理システム10が正常に運用されて
いる状態では、例えば、サーバ12とクライアント2
0、22、24、26は、生産ラインの工程制御系の処
理、例えば、後述する写真フイルムを生産するための製
造機械を制御する処理を分担し、サーバ14とクライア
ント30、32は、生産計画、原材料の管理、在庫管理
等の生産管理系に関する処理を分担している。
When the distributed processing system 10 is operating normally, for example, the server 12 and the client 2
0, 22, 24, and 26 share processing of a process control system of a production line, for example, processing of controlling a manufacturing machine for producing a photographic film described later, and a server 14 and clients 30 and 32 execute production planning. , And is responsible for processing related to production management systems such as raw material management and inventory management.

【0027】サーバ12は、工程制御系の処理を分担す
るサーバであり、クライアント20、22、24、26
との間で送受信される後述する生産指示情報や製造履歴
情報等のデータを蓄積するデータベース記憶部122
と、一定の時間間隔でデータベース記憶部122の内容
をオンラインでバックアップし、そのバックアップデー
タをバックアップデータ記憶部124に格納するバック
アップ処理部123と、クライアント20、22、2
4、26の処理によって更新されるデータベースの更新
情報に基づいてアーカイブデータを作成し、アーカイブ
データ記憶部126に格納するアーカイブデータ作成部
125と、クライアント20、22、24、26による
データベースの更新処理に基づいてデータ複製トリガを
生成する複製トリガ生成部132と、前記データ複製ト
リガに基づきデータベースの更新情報を他のサーバ14
に転送する更新情報転送部130と、データベースの更
新処理要求に基づき、データベース記憶部122のデー
タを更新するデータベース更新処理部128とから基本
的に構成されている。
The server 12 is a server for sharing the processing of the process control system, and the clients 20, 22, 24, 26
Database storage unit 122 for accumulating data such as production instruction information and production history information to be described later transmitted and received between
A backup processing unit 123 for backing up the contents of the database storage unit 122 online at regular time intervals and storing the backup data in the backup data storage unit 124;
An archive data creation unit 125 that creates archive data based on the update information of the database updated by the processes 4 and 26 and stores the archive data in the archive data storage unit 126, and a database update process by the clients 20, 22, 24, and 26 A replication trigger generation unit 132 that generates a data replication trigger based on the data replication trigger, and updates the database update information based on the data replication trigger to another server 14.
, And a database update processing unit 128 that updates data in the database storage unit 122 based on a database update processing request.

【0028】アーカイブデータ作成部125は、データ
ベース記憶部122のデータベースをバックアップデー
タ記憶部124へバックアップする時点以降の新たな更
新情報に従ってアーカイブデータを作成するものであ
り、バックアップ開始以前にアーカイブデータ記憶部1
26に格納されていたアーカイブデータは破棄される。
バックアップデータ記憶部124へのバックアップ処理
の時間間隔は、オペレータによって任意に設定可能であ
る。例えば、1日(24時間)周期に設定することがで
きる。バックアップ処理が開始されてから次回のバック
アップ処理が開始されるまでの間のアーカイブデータ
は、全てアーカイブデータ記憶部126に蓄積される。
また、更新情報転送部130は、システム管理者により
設定された一定の時間間隔で更新情報の転送処理を行
う。
The archive data creation unit 125 creates archive data in accordance with new update information after the backup of the database in the database storage unit 122 to the backup data storage unit 124. Before the backup starts, the archive data storage unit 125 creates the archive data. 1
The archive data stored in 26 is discarded.
The time interval of the backup process to the backup data storage unit 124 can be arbitrarily set by the operator. For example, the period can be set to one day (24 hours). All the archive data from the start of the backup process to the start of the next backup process is accumulated in the archive data storage unit 126.
In addition, the update information transfer unit 130 performs update information transfer processing at fixed time intervals set by a system administrator.

【0029】サーバ14は、生産管理系の処理を分担す
るサーバであり、クライアント30、32との間で作成
される生産計画や原材料管理、在庫管理などのデータを
蓄積するデータベース記憶部142を有する他、サーバ
12と同様に構成されるバックアップ処理部143、バ
ックアップデータ記憶部144、アーカイブデータ作成
部145、アーカイブデータ記憶部146、データベー
ス更新処理部148、更新情報転送部150および複製
トリガ生成部152を有する。
The server 14 is a server for sharing the processing of the production management system, and has a database storage unit 142 for storing data such as a production plan, raw material management, and inventory management created between the clients 30 and 32. In addition, a backup processing unit 143, a backup data storage unit 144, an archive data creation unit 145, an archive data storage unit 146, a database update processing unit 148, an update information transfer unit 150, and a replication trigger generation unit 152 configured similarly to the server 12. Having.

【0030】クライアント20、22、24、26は、
それぞれ工程管理系のサーバ12からの生産指示情報に
基づき、図2に示す裁断機40、巻込機42、外装機4
6、梱包機50を制御し、また、それぞれの機器から収
集した製造履歴情報等をサーバ12に送信するためのユ
ーザアプリケーション220、222、224、226
を備えている。同様に、クライアント30、32は、生
産管理系のサーバ14との間で、生産計画や原材料の購
買管理、製品の在庫管理等の業務を処理するためのユー
ザアプリケーション230、232を備えている。
The clients 20, 22, 24, 26
Based on the production instruction information from the process management system server 12, the cutting machine 40, the winding machine 42, and the exterior machine 4 shown in FIG.
6. User applications 220, 222, 224, and 226 for controlling the packing machine 50 and transmitting manufacturing history information and the like collected from each device to the server 12.
It has. Similarly, the clients 30 and 32 include user applications 230 and 232 for processing operations such as production planning, raw material purchase management, and product inventory management with the production management server 14.

【0031】ここで、クライアント20によって制御さ
れる裁断機40は、ロール状に巻回された写真フイルム
材料であるマスターロールを所定幅に裁断し、スリット
ロールを製造する。クライアント22によって制御され
る巻込機42は、裁断機40から供給されたスリットロ
ールを、成形組立機44によって成形組み立てられたカ
ートリッジケースに巻き込む処理を行う。クライアント
24によって制御される外装機46は、小箱供給装置4
8から供給された小箱によりフイルムカートリッジを外
装する処理を行う。クライアント26によって制御され
る梱包機50は、段ボール供給装置52から供給される
段ボールに小箱に収納されたフイルムカートリッジを梱
包する処理を行う。
The cutting machine 40 controlled by the client 20 cuts a master roll, which is a photographic film material wound into a roll, into a predetermined width to produce a slit roll. The winding machine 42 controlled by the client 22 performs a process of winding the slit roll supplied from the cutting machine 40 into the cartridge case formed and assembled by the forming assembly machine 44. The exterior machine 46 controlled by the client 24 includes the small box supply device 4
A process for packaging the film cartridge with the small box supplied from 8 is performed. The packing machine 50 controlled by the client 26 performs a process of packing the film cartridge stored in the small box on the cardboard supplied from the cardboard supply device 52.

【0032】サーバ12、14およびクライアント2
0、22、24、26、30、32は、図示を省略して
いるが、ハードウエア的には、一般のPC(パーソナル
コンピュータ)と同様に、プロセッサ、メインメモリ、
ハードディスク、ネットワークインタフェースなどから
構成され、上記の各機器、ユーザアプリケーションは、
各サーバ、クライアントにインストールされたオペレー
ティングシステムの制御のもとに動作する。
Servers 12, 14 and Client 2
Although 0, 22, 24, 26, 30, and 32 are not shown, in terms of hardware, similar to a general PC (personal computer), a processor, a main memory,
It consists of a hard disk, network interface, etc.
It operates under the control of the operating system installed on each server and client.

【0033】次に、上記の分散処理システム10の通常
運用時の動作につき、図2を用いて説明する。
Next, the operation of the distributed processing system 10 during normal operation will be described with reference to FIG.

【0034】先ず、クライアント20は、工程制御系の
サーバ12から個別生産指示情報を受信し、これをモニ
ター画面に表示する。なお、工程制御系の他のクライア
ント22、24、26においても同様の処理が行われ
る。
First, the client 20 receives the individual production instruction information from the server 12 of the process control system and displays it on the monitor screen. The same processing is performed in the other clients 22, 24, and 26 of the process control system.

【0035】なお、個別生産指示情報は、生産管理系の
サーバ14に接続されるクライアント30、32で作成
され、サーバ14を介して工程制御系のサーバ12に送
信される。また、サーバ12に集められる工程制御系の
クライアント20、22、24、26からの情報は生産
管理系のサーバ14に送信される。
The individual production instruction information is created by the clients 30 and 32 connected to the production management system server 14 and transmitted to the process control system server 12 via the server 14. Information from the process control clients 20, 22, 24, and 26 gathered in the server 12 is transmitted to the production management server 14.

【0036】サーバ12からクライアント20に送信さ
れた個別生産指示情報の中には、生産計画データにより
指定された製品の種類に適合する写真フイルム材料とな
るマスターロールの製造ロット番号が含まれており、保
管庫に収容されているマスターロールの中から該当する
製造ロット番号が付されたマスターロールが自走式搬送
車等によって裁断機40に供給される。
The individual production instruction information transmitted from the server 12 to the client 20 includes a production lot number of a master roll serving as a photographic film material suitable for the type of product specified by the production plan data. From among the master rolls stored in the storage, a master roll with a corresponding production lot number is supplied to the cutting machine 40 by a self-propelled carrier or the like.

【0037】クライアント20は、裁断機40にスリッ
ト条件、例えば、マスターロールの搬送速度や裁断機4
0内に設けられた表面検査装置による検査条件の設定デ
ータ等を送信する。裁断機40は、クライアント20か
ら送信された稼働条件に基づき、マスターロールを一定
幅に裁断し、これによってスリットロールが製造され
る。
The client 20 sends the slitting conditions to the cutting machine 40, such as the transport speed of the master roll and the cutting machine 4
The setting data of the inspection condition by the surface inspection device provided in the area 0 is transmitted. The cutting machine 40 cuts the master roll into a certain width based on the operating conditions transmitted from the client 20, thereby producing a slit roll.

【0038】このとき、1本のマスターロールからは複
数本のスリットロールが製造されるが、後工程で識別可
能とするために、各々のスリットロール完成時に乳剤番
号、マスターロールの製造ロット番号、スリットロール
番号をバーコード印刷したラベルが作成され、各スリッ
トロールに貼付される。このバーコードは、バーコード
リーダにより読み取られ、クライアント20に入力され
る。
At this time, a plurality of slit rolls are manufactured from one master roll. To make it possible to identify the slit rolls in the subsequent steps, the emulsion number, master roll manufacturing lot number, A label in which the slit roll number is printed with a bar code is created and affixed to each slit roll. This barcode is read by a barcode reader and input to the client 20.

【0039】次に、スリットロールは、クライアント2
2によって制御される巻込機42に供給され、カートリ
ッジケース内に収納される。
Next, the slit roll is moved to the client 2
2 and is stored in a cartridge case.

【0040】ここで、サーバ12のデータベース記憶部
122から送信される個別生産指示情報には、生産に使
用するスリットロールの乳剤番号、マスタロールの製造
ロット番号、スリットロール番号が含まれている。
Here, the individual production instruction information transmitted from the database storage unit 122 of the server 12 includes the emulsion number of the slit roll used for production, the production lot number of the master roll, and the slit roll number.

【0041】巻込機42は、前記の個別生産指示情報に
より指定されたスリットロールを保管庫から取り出して
セットする。セットされたスリットロールは、それに貼
付されたバーコードが読み取られ、指定されたスリット
ロールに該当するものか否かの確認が行われるととも
に、元のスリットロールの使用実績がクライアント22
を介してサーバ12に送信される。そして、クライアン
ト22は、サーバ12からの個別生産指示情報によって
指定された条件に従い巻込機42を稼働させる。
The winding machine 42 takes out the slit roll specified by the individual production instruction information from the storage and sets it. The bar code affixed to the set slit roll is read, and it is checked whether or not the slit roll corresponds to the designated slit roll.
Is transmitted to the server 12 via the. Then, the client 22 operates the winding machine 42 according to the conditions specified by the individual production instruction information from the server 12.

【0042】巻込機42の穿孔部では、指示されたフォ
ーマットに従い、パーフォレーションの穿孔が行われ
る。また、サイドプリント部では、製品情報の潜像記録
が行われる。なお、製品情報としては、バーコードによ
るID番号(フイルムID番号)、コマ番号、製品略
称、メーカー名等が記録される。フイルムID番号は、
生産計画データのオーダー番号とともにサーバ14に保
存され、また、サーバ12に送信され、巻込機42を制
御するクライアント22に送信される生産指示情報にも
書き込まれる。
In the punching section of the winding machine 42, perforation is punched in accordance with the specified format. In the side print section, a latent image of product information is recorded. As the product information, an ID number (film ID number) using a barcode, a frame number, a product abbreviation, a manufacturer name, and the like are recorded. The film ID number is
It is stored in the server 14 together with the order number of the production plan data, and is also written in the production instruction information transmitted to the server 12 and transmitted to the client 22 that controls the winding machine 42.

【0043】サイドプリント部がフイルムID番号のプ
リントを行った時点で、このフイルムID番号は他のサ
イドプリント情報とともにクライアント22にフィード
バックされ、個別生産指示情報で指定されたフイルムI
D番号と一致しているか否かが確認される。クライアン
ト22は、さらにこれまで得られている他の情報、すな
わち乳剤番号、マスターロールの製造ロット番号、スリ
ットロール番号等をフイルムID番号に対応させてサー
バ12に送信する。この情報は、サーバ12に保存され
るとともに、生産管理系のサーバ14にも送信される。
When the side print section prints the film ID number, this film ID number is fed back to the client 22 together with other side print information, and the film I number specified by the individual production instruction information is sent.
It is confirmed whether or not it matches the D number. The client 22 further transmits other information obtained so far, that is, the emulsion number, the production lot number of the master roll, the slit roll number, and the like to the server 12 in association with the film ID number. This information is stored in the server 12 and also transmitted to the production management server 14.

【0044】サイドプリント処理の後、切断部が作動し
て長尺写真フイルムは撮影可能コマ数に応じた長さに切
断され、写真フイルムストリップが製造される。切断部
を作動させるための製造条件は、これまでと同様に、サ
ーバ12を介してクライアント22に送信された個別生
産指示情報に含まれている。
After the side print processing, the cutting section is operated to cut the long photographic film into a length corresponding to the number of frames that can be photographed, thereby producing a photographic film strip. The manufacturing conditions for operating the cutting unit are included in the individual production instruction information transmitted to the client 22 via the server 12 as before.

【0045】所定長に切断された長尺写真フイルムは、
巻込部に搬送される。巻込部には、成形組立機44にお
いて成形組み立てられたカートリッジケースが所定の集
積部からトレイ単位で供給される。このとき、トレイに
付されたトレイID番号が読み取られ、クライアント2
2を介してサーバ12に入力される。
The long photographic film cut into a predetermined length is
It is transported to the winding section. A cartridge case formed and assembled by the forming and assembling machine 44 is supplied to the winding unit from a predetermined stacking unit in tray units. At this time, the tray ID number assigned to the tray is read and the client 2
2 to the server 12.

【0046】サーバ12は、トレイID番号に対応させ
てそのトレイに収容されたカートリッジケースのカート
リッジID番号や、製造履歴情報を記憶しているため、
巻込機42に供給されるカートリッジケースがどのよう
な範囲のカートリッジID番号を持つものであるのかは
もとより、そのカートリッジケースがいかなるオーダー
番号に基づいて製造されたものか、いかなる製造ロット
番号の部品を使用して組み立てられたものかなどの情報
を追跡して確認することができる。
Since the server 12 stores the cartridge ID number of the cartridge case accommodated in the tray and the manufacturing history information in association with the tray ID number,
What kind of range of cartridge ID number the cartridge case supplied to the winder 42 has, as well as what order number the cartridge case is manufactured, and the parts of any manufacturing lot number Can be used to track and confirm information such as whether or not it has been assembled.

【0047】巻込部にカートリッジケースを順次供給す
る際、ラベルのバーコードにより、カートリッジID番
号の読み取りが行われ、読み取られたカートリッジID
番号は即座にクライアント22に入力される。
When sequentially supplying the cartridge cases to the winding section, the cartridge ID number is read by the bar code of the label, and the read cartridge ID number is read.
The number is immediately entered into the client 22.

【0048】この読み取り位置のカートリッジケース
は、サイドプリント部が次にサイドプリントを行う予定
の写真フイルムストリップと組み合わされるカートリッ
ジケースに対応している。従って、クライアント22は
サイドプリント部がサイドプリントを行う直前に、カー
トリッジID番号を確認することになる。
The cartridge case at the reading position corresponds to a cartridge case in which the side print unit is combined with a photographic film strip to be subjected to the next side print. Therefore, the client 22 checks the cartridge ID number immediately before the side print unit performs the side print.

【0049】このようにして読み取られたカートリッジ
ID番号はサーバ12に送信され、カートリッジID番
号とこれからサイドプリントによって写真フイルムスト
リップに付与されるフイルムID番号との照合を行う。
すでに述べたように、サーバ12には生産計画データ作
成時に生産対象となる製品に対して割り当てたフイルム
ID番号とカートリッジID番号とが保存されているた
め、巻込部に供給されたカートリッジケースのカートリ
ッジID番号が適切なものであるか否かを識別すること
ができる。
The cartridge ID number read in this manner is transmitted to the server 12, where the cartridge ID number is compared with the film ID number assigned to the photo film strip by side printing.
As described above, the server 12 stores the film ID number and the cartridge ID number assigned to the product to be produced at the time of production plan data creation. It is possible to identify whether or not the cartridge ID number is appropriate.

【0050】巻込部の作動によってカートリッジケース
内のスプールに写真フイルムストリップの後端が係止さ
れ、スプールが駆動されて写真フイルムストリップがカ
ートリッジケース内に巻き込まれた後、遮光蓋が閉じら
れて製品となる写真フイルムカートリッジが完成する。
The rear end of the photographic film strip is locked to the spool in the cartridge case by the operation of the winding section, and the spool is driven to wind the photographic film strip into the cartridge case. The product photo film cartridge is completed.

【0051】なお、前述したように、乳剤番号、マスタ
ーロールの製造ロット番号、スリット番号などの写真フ
イルムストリップの製造履歴情報はすでに分かっている
ため、カートリッジケースと写真フイルムストリップの
製造履歴情報は、カートリッジID番号、あるいはフイ
ルムID番号に対応させて生産管理情報として工程制御
系のサーバ12を介して生産管理系のサーバ14にも保
存される。
As described above, since the manufacturing history information of the photographic film strip such as the emulsion number, the master roll manufacturing lot number, and the slit number is already known, the manufacturing history information of the cartridge case and the photographic film strip is The information is also stored as production management information in the production control system server 14 via the process control system server 12 in association with the cartridge ID number or the film ID number.

【0052】また、巻込部を経て製品となった写真フイ
ルムカートリッジは一定個数ずつ収容可能なトレイに収
容された状態で集積部で保管される。このときトレイI
D番号の読み取りが行われ、クライアント22に送信さ
れ、クライアント22は、そのトレイに収容されている
写真フイルムカートリッジのID番号(カートリッジI
D番号またはフイルムID番号の使用実績と欠番情報、
さらに製造履歴情報を対応づけてこれをサーバ12にフ
ィードバックする。この情報はサーバ12から生産管理
系のサーバ14にも送信される。
Further, the photographic film cartridge which has become a product through the winding section is stored in the stacking section in a state where the photographic film cartridge is stored in a tray capable of storing a predetermined number of the photographic film cartridges. At this time, tray I
The D number is read and transmitted to the client 22. The client 22 checks the ID number (cartridge I) of the photo film cartridge stored in the tray.
D number or film ID number usage record and missing number information,
Further, the production history information is correlated and fed back to the server 12. This information is also transmitted from the server 12 to the production management server 14.

【0053】これにより、集積部で保管されている写真
フイルムカートリッジのID番号、製品の種類、写真フ
イルムストリップおよびカートリッジケースの製造履歴
などの情報をトレイID番号に対応させて把握すること
ができる。
Thus, information such as the ID number of the photographic film cartridge stored in the stacking unit, the product type, the manufacturing history of the photographic film strip and the cartridge case can be grasped in correspondence with the tray ID number.

【0054】クライアント24は、外装機46と小箱供
給装置48を制御する。写真フイルムカートリッジは、
巻込機42から外装機46に搬送され、フイルムケース
に詰められた後、小箱に収納される。
The client 24 controls the exterior machine 46 and the small box supply device 48. Photo film cartridge
After being conveyed from the winding machine 42 to the exterior machine 46 and packed in a film case, it is stored in a small box.

【0055】フイルムケースは、どの製造ロット番号の
Pケースを使用するかがサーバ12から指示される生産
指示情報によって指定されており、使用されたフイルム
ケースの製造ロット番号がクライアント24を介して工
程制御系のサーバ12に送られる。
For the film case, which production lot number of the P case is to be used is specified by the production instruction information instructed from the server 12, and the production lot number of the used film case is determined via the client 24 through the process. It is sent to the server 12 of the control system.

【0056】小箱には製品の種類を表す表示とバーコー
ドとが付されている。製品の種類を表すバーコードは予
め小箱の製造時に印刷されたものであるが、包材ID番
号を表すバーコードは、小箱が小箱供給装置48から外
装機46に供給されるときに印字される。
The small box is provided with a display indicating the type of product and a bar code. The bar code indicating the type of product is printed in advance at the time of manufacturing the small box, but the bar code indicating the packaging material ID number is used when the small box is supplied from the small box supply device 48 to the exterior machine 46. Printed.

【0057】印字される包材ID番号は、生産計画を作
成した時点で生産管理系のサーバ14によって決定され
る。そして、フイルムID番号のサイドプリントと同様
に、その中に包装される写真フイルムカートリッジのカ
ートリッジID番号と、生産指示情報として送信されて
きた包材ID番号との一致を確認した上で包材ID番号
の印字が実行される。
The packaging material ID number to be printed is determined by the production management system server 14 when the production plan is created. Then, as in the case of the side print of the film ID number, after confirming that the cartridge ID number of the photographic film cartridge packaged therein matches the packaging material ID number transmitted as production instruction information, the packaging material ID is checked. The number is printed.

【0058】小箱に詰められた写真フイルムカートリッ
ジは、次に、クライアント26によって制御される梱包
機50に移送される。梱包機50は、ダンボール供給装
置52から梱包のためのダンボール箱の供給を受け、例
えば、写真フイルムカートリッジを1000個ずつダン
ボール箱に梱包する。
The photographic film cartridge packed in the small box is then transferred to the packing machine 50 controlled by the client 26. The packing machine 50 receives the supply of cardboard boxes for packing from the cardboard supply device 52, and packs, for example, 1000 photo film cartridges into cardboard boxes.

【0059】梱包部は、ダンボール箱に製品を所定の個
数梱包する際、ダンボール箱の表面に梱包ID番号をバ
ーコードとして印字する。この梱包ID番号は、上記の
包材ID番号と同様、生産管理系のサーバ14によって
決められたもので、ダンボール箱に梱包される1000
個の製品に対し、外装機46において印刷された包材I
D番号の使用範囲に対して1つの梱包ID番号が割り当
てられる。その対応関係は、生産管理系のサーバ14に
保存されている。従って、ダンボール箱から梱包IDを
読み取れば、その中に梱包されている製品の包材ID番
号の使用範囲を把握することができる。
When packing a predetermined number of products in a cardboard box, the packing section prints a packing ID number as a bar code on the surface of the cardboard box. This packing ID number is determined by the server 14 of the production management system in the same manner as the above-mentioned packaging material ID number.
For each product, the packaging material I printed by the exterior machine 46
One package ID number is assigned to the usage range of the D number. The correspondence is stored in the server 14 of the production management system. Therefore, if the packing ID is read from the cardboard box, the use range of the packaging material ID number of the product packed therein can be grasped.

【0060】一方、クライアント30、32は、生産管
理系のサーバ14との間で、生産計画の作成、原材料の
購買管理、製品の在庫管理等の業務を処理する。これら
のクライアント30、32は、生産管理部門の作業員に
よって操作され、前述のような生産指示情報が工程管理
系のサーバ12に送信され、また、工程管理系のサーバ
12により収集、送信された製品の製造履歴データか
ら、製品管理データが作成される。
On the other hand, the clients 30 and 32 perform operations such as creation of a production plan, purchase management of raw materials, and inventory management of products with the server 14 of the production management system. These clients 30 and 32 are operated by the workers in the production management department, and the above-described production instruction information is transmitted to the process management server 12 and collected and transmitted by the process management server 12. Product management data is created from the manufacturing history data of the product.

【0061】次に、図3に示すクライアント20および
30のシステム構成に基づき、分散処理動作を説明す
る。なお、クライアント22、24、26、28につい
ても同様であるため、その説明を省略する。
Next, the distributed processing operation will be described based on the system configuration of the clients 20 and 30 shown in FIG. Note that the same applies to the clients 22, 24, 26, and 28, and a description thereof will be omitted.

【0062】クライアント20は、前述の裁断機40の
制御を行う工程制御モジュール20a、接続先サーバ情
報パラメータ20b、接続先サーバチェックモジュール
20cを備える。クライアント30も同様に、生産管理
の処理を行う生産管理モジュール30a、接続先サーバ
情報パラメータ30b、接続先サーバチェックモジュー
ル30cを備える。サーバ12、14は、それぞれ運用
状態情報テーブル122a、142aを備える。
The client 20 includes a process control module 20a for controlling the cutting machine 40, a connection destination server information parameter 20b, and a connection destination server check module 20c. Similarly, the client 30 includes a production management module 30a for performing a production management process, a connection destination server information parameter 30b, and a connection destination server check module 30c. The servers 12 and 14 include operation state information tables 122a and 142a, respectively.

【0063】分散処理システム10が正常な運用状態に
ある場合、クライアント20は、工程制御系のサーバ1
2に接続され、生産ラインの工程制御を行い、クライア
ント30は、生産管理系のサーバ14に接続され、生産
管理業務を行う。このため、クライアント20の接続先
サーバ情報パラメータ20bは、デフォルトで接続先の
サーバ12が指定されており、バックアップ側のサーバ
として生産管理系のサーバ14が指定されている。クラ
イアント30の接続先サーバ情報パラメータ30bは、
逆にデフォルトで接続先のサーバ14が指定されてお
り、バックアップ側のサーバとして生産管理系のサーバ
12が指定されている。
When the distributed processing system 10 is in a normal operation state, the client 20
The client 30 is connected to the production management system server 14 and performs production management work. For this reason, the connection destination server information parameter 20b of the client 20 specifies the connection destination server 12 by default, and specifies the production management server 14 as the backup server. The connection destination server information parameter 30b of the client 30 is
Conversely, the connection destination server 14 is specified by default, and the production management server 12 is specified as the backup server.

【0064】分散処理システム10が起動されると、ク
ライアント20の接続先サーバチェックモジュール20
cが接続先サーバ情報パラメータ20bに指定されたサ
ーバ(最初にデフォルトで指定されているサーバ12)
をチェックする。すなわち、接続先サーバチェックモジ
ュール20cは、デフォルトで指定されているサーバ1
2の運用状態情報テーブル122aを確認し、サーバ1
2が正常運用中であれば接続を確立する。クライアント
30の動作も同様である。
When the distributed processing system 10 is started, the connection destination server check module 20 of the client 20
The server whose c is specified in the connection destination server information parameter 20b (the server 12 initially specified by default)
Check. That is, the connection destination server check module 20c stores the server 1 specified by default.
Check the operation status information table 122a of the second server,
If No. 2 is operating normally, a connection is established. The operation of the client 30 is the same.

【0065】もし、サーバ12が正常運用状態になけれ
ば、バックアップ側に指定されたサーバ(クライアント
20の場合はサーバ14)の運用状態情報テーブル14
2aを確認し、サーバ14が正常運用中であれば接続を
確立する。両サーバ12、14とも正常運用状態になけ
れば接続エラーを表示して停止する。
If the server 12 is not in the normal operation state, the operation state information table 14 of the server (the server 14 in the case of the client 20) designated on the backup side is used.
2a is confirmed, and if the server 14 is operating normally, a connection is established. If both servers 12 and 14 are not in the normal operation state, a connection error is displayed and the operation is stopped.

【0066】接続が確立したら、接続先サーバチェック
モジュール20cは、接続ポート情報を工程制御モジュ
ール20aに通知し、以後、接続先サーバの運用状態情
報テーブル122aのポーリングを定期的に行い、接続
先サーバの運用状態が停止になった場合、クライアント
20側のアプリケーション(工程制御モジュール20
a)は自動停止される。クライアント30の動作も同様
である。
When the connection is established, the connection destination server check module 20c notifies the process control module 20a of the connection port information, and thereafter periodically polls the operation status information table 122a of the connection destination server. If the operation state of the client 20 is stopped, the application (process control module 20
a) is automatically stopped. The operation of the client 30 is the same.

【0067】この分散処理システム10が正常な状態で
運用している間に、何らかの原因で一方のサーバが故障
して停止した時、停止したサーバに接続していたクライ
アント20または30は、前述のように自動停止する。
例えば、工程制御系のサーバ12が障害により停止した
場合、作業者は停止したクラインアト20を操作し、接
続先サーバ情報パラメータ20bにデフォルトとして設
定されたサーバ12からバックアップ側として設定され
た生産管理系のサーバ14に接続先を変更するよう、図
示しない接続先管理ソフトを起動する。
When one of the servers fails and stops for some reason while the distributed processing system 10 is operating in a normal state, the client 20 or 30 connected to the stopped server is connected to the above-mentioned server. To stop automatically.
For example, when the server 12 of the process control system is stopped due to a failure, the worker operates the stopped client 20 to change the server 12 set as the default in the connection destination server information parameter 20b to the production management set as the backup side. The connection destination management software (not shown) is started to change the connection destination to the system server 14.

【0068】自己のクライアント20の接続先管理ソフ
トには、通常時に接続するサーバをサーバ12とし、障
害時に接続するサーバをサーバ14とすることが指定さ
れており、これにより、接続先サーバチェックモジュー
ル20cは、サーバ14の運用状態情報テーブル142
aを参照し、サーバ14との接続を確立する。
In the connection destination management software of the client 20, it is specified that the server connected at normal time is the server 12 and the server connected at the time of failure is the server 14. Reference numeral 20c denotes an operation status information table 142 of the server 14.
With reference to a, a connection with the server 14 is established.

【0069】このとき、サーバ12のデータベース記憶
部122とサーバ14のデータベース記憶部142と
は、後述するように、同一内容を保持しているため、ク
ライアント20がサーバ14に接続されても、工程制御
処理を継続して実行することができる。サーバ14が障
害で停止した場合も同様である。従って、フイルムの製
造工程は、サーバ12または14のいずれか一方に障害
が発生した場合においても、支障なく継続される。
At this time, since the database storage unit 122 of the server 12 and the database storage unit 142 of the server 14 have the same contents, as described later, even if the client 20 is connected to the server 14, The control process can be continuously executed. The same applies when the server 14 is stopped due to a failure. Therefore, the film manufacturing process can be continued without any trouble even if one of the servers 12 and 14 has a failure.

【0070】次に、上記の分散処理システム10の通常
運用時におけるバックアップ動作について、図1および
図4、図5の処理フローチャートを参照して説明する。
Next, the backup operation during the normal operation of the distributed processing system 10 will be described with reference to the processing flowcharts of FIGS. 1, 4 and 5.

【0071】図4のフローチャートにおいて、クライア
ント20、22、24、26による裁断機40等の制御
対象に対する処理の結果、あるいは、オペレータによる
処理の結果、データベース記憶部122のデータベース
に対する挿入、変更、削除等の更新処理要求が発生する
と、サーバ12のデータベース更新処理部128は、こ
の更新処理要求に伴って生成される更新情報を示すSQ
L(Structured Query Language)を受け付ける(ス
テップS1)。そして、このSQLが自分のデータベー
ス記憶部122のデータベースを更新する更新SQLで
あるのか、他のサーバ14のデータベース記憶部142
のデータベースを更新するための伝播SQLであるのか
を判定する(ステップS2)。
In the flowchart shown in FIG. 4, the result of processing by the clients 20, 22, 24, and 26 on the control target of the cutting machine 40 or the like, or the result of processing by the operator, insertion, change, and deletion in the database of the database storage unit 122 When an update processing request such as the above is generated, the database update processing unit 128 of the server 12 sends an SQ indicating update information generated in accordance with the update processing request.
An L (Structured Query Language) is accepted (step S1). Then, whether this SQL is an update SQL for updating the database of its own database storage unit 122, or the database storage unit 142 of another server 14
Is determined to be a propagation SQL for updating the database (step S2).

【0072】更新SQLと判定された場合、データベー
ス更新処理部128は、SQLの指示内容に従ってデー
タベース記憶部122に対するデータベースの挿入、変
更、削除等の更新処理を行うとともに(ステップS
3)、複製トリガ生成部132に対して複製トリガを生
成する指令を行う。指令を受けた複製トリガ生成部13
2は、データベースの複製を行うための複製トリガを生
成し(ステップS4)、この複製トリガに基づいて前記
更新SQLを伝播SQLとし、更新情報転送部130に
供給する(ステップS5)。
If the update SQL is determined, the database update processing unit 128 performs update processing such as insertion, change, and deletion of the database into the database storage unit 122 in accordance with the content of the instruction of the SQL (step S).
3) The copy trigger generation unit 132 is instructed to generate a copy trigger. Duplicate trigger generation unit 13 receiving the command
2 generates a replication trigger for replicating the database (step S4), and based on the replication trigger, makes the update SQL a propagation SQL and supplies it to the update information transfer unit 130 (step S5).

【0073】図5のフローチャートにおいて、更新情報
転送部130は、一定時間間隔でポーリングを行ってお
り(ステップS21)、複製トリガ生成部132から伝
播SQLが供給されたとき(ステップS22)、その伝
播SQLをサーバ14のデータベース更新処理部148
に転送する(ステップS23)。そして、データベース
更新処理部148から伝播SQLの受領信号を受信した
とき(ステップS24)、更新情報転送部130の伝播
SQLを削除する(ステップS25)。
In the flowchart of FIG. 5, the update information transfer unit 130 performs polling at a fixed time interval (step S21), and when the propagation SQL is supplied from the duplication trigger generation unit 132 (step S22), the The SQL is updated to the database update processing unit 148 of the server 14.
(Step S23). Then, when the propagation SQL reception signal is received from the database update processing unit 148 (step S24), the propagation SQL of the update information transfer unit 130 is deleted (step S25).

【0074】一方、図4のフローチャートにおいて、サ
ーバ14のデータベース更新処理部148は、ステップ
S1で受け付けたSQLがクライアント30、32で発
生した更新SQLであるのか、他のサーバ12から転送
された伝播SQLであるのかを判定する(ステップS
2)。
On the other hand, in the flowchart of FIG. 4, the database update processing unit 148 of the server 14 determines whether the SQL received in step S1 is the update SQL generated in the clients 30 and 32, SQL is determined (Step S
2).

【0075】伝播SQLと判定された場合、データベー
ス更新処理部148は、その伝播SQLの更新情報が挿
入であるのか(ステップS6)、変更であるのか(ステ
ップS7)、削除であるのか(ステップS8)を判定す
る。また、各変更情報がデータを有しているのか否かの
判定を行う(ステップS9、S10、S11)。なお、
データが無い場合には、転送に障害が発生したものと考
えてエラー処理を行う(ステップS12)。
If it is determined that the update is the propagation SQL, the database update processing unit 148 determines whether the update information of the propagation SQL is an insertion (step S6), a change (step S7), or a deletion (step S8). ) Is determined. Further, it is determined whether or not each change information has data (steps S9, S10, S11). In addition,
If there is no data, error processing is performed on the assumption that a transfer failure has occurred (step S12).

【0076】以上の処理を転送された全ての伝播SQL
について行った後(ステップS13)、データベース記
憶部142のデータベースを更新する(ステップS
3)。この場合、データベース更新処理部148は、複
製トリガ生成部152に対して、複製トリガの発生禁止
指令を行う。従って、この発生禁止指令により、更新情
報転送部150から伝播SQLに基づく更新情報がサー
バ12に転送される事態を禁止することができる。
All the propagation SQLs transferred through the above processing
Is performed (step S13), the database of the database storage unit 142 is updated (step S13).
3). In this case, the database update processing unit 148 issues a replication trigger generation prohibition instruction to the replication trigger generation unit 152. Therefore, by the occurrence prohibition command, it is possible to prohibit the update information transfer unit 150 from transmitting update information based on the propagation SQL to the server 12.

【0077】以上のようにして、サーバ12および14
の各データベース記憶部122、142の内容が、非同
期的にではあるが、同一内容に維持される。
As described above, the servers 12 and 14
Of the database storage units 122 and 142 are maintained the same, though asynchronously.

【0078】一方、各サーバ12および14のバックア
ップ処理部123、143は、一日(24時間)単位
等、一定の時間間隔で、データベース記憶部122、1
42の内容を、運用中にバックアップデータ記憶部12
4、144にコピーし、データベース記憶部122、1
42のバックアップデータを作成する。このバックアッ
プ操作には、データベース記憶部122、142に含ま
れる全てのデータを一度にバックアップするフルバック
アップ法、前回行われたフルバックアップの後にデータ
が更新されたファイルや新たに作成されたデータのみを
バックアップする差分バックアップ法、前回行われたフ
ルバックアップや差分バックアップの後にデータが更新
されたファイルや新たに作成されたデータのみをバック
アップする増分バックアップ法などの方法が知られてお
り、これらのバックアップ法のいずれかを用いてバック
アップデータ記憶部124、144が作成される。
On the other hand, the backup processing sections 123 and 143 of the servers 12 and 14 store the database storage sections 122 and 1 at regular time intervals such as in units of one day (24 hours).
42 is stored in the backup data storage unit 12 during operation.
4, 144, and the database storage units 122, 1
42 backup data is created. This backup operation includes a full backup method in which all data contained in the database storage units 122 and 142 are backed up at one time, and only files whose data has been updated after the last full backup or newly created data. Differential backup methods for backing up data, incremental backup methods for backing up only files whose data has been updated since the last full backup or differential backup, and newly created data are known, and these backup methods are known. The backup data storage units 124 and 144 are created using any one of the above.

【0079】この場合、アーカイブデータ作成部12
5、145は、バックアップデータの作成を開始したタ
イミングにおいて、それまでのデータベースの更新情報
を蓄積したアーカイブデータ記憶部126、146の内
容を破棄し、このタイミング以降にデータベース記憶部
122、142に発生した新たな更新処理の内容をアー
カイブデータとしてアーカイブデータ記憶部126、1
46に記録する作業を開始する。
In this case, the archive data creation unit 12
5 and 145, at the timing when the creation of the backup data is started, discard the contents of the archive data storage units 126 and 146 that have accumulated the update information of the database up to that time, and generate the data in the database storage units 122 and 142 after this timing. The content of the new update process is stored as archive data in the archive data storage units 126, 1
The work to record in 46 is started.

【0080】ここで、バックアップデータ記憶部12
4、144へのデータベースのバックアップのオペレー
ションは、サーバ12、14のOSレベルによるファイ
ルコピー機能を利用して行われる。ファイルコピー機能
によるバックアップは、データベース記憶部122、1
42の構造情報とデータそのものとをそれぞれ別形式に
変換してファイル出力する前述のエクスポート機能によ
るオペレーションとは異なり、データベースをそのまま
の形式でコピーするものであり、大きなハードディスク
資源を必要とするものの、バックアップに要する時間は
短時間で済むという利点がある。
Here, the backup data storage unit 12
The operation of backing up the database to the servers 4 and 144 is performed using the file copy function of the servers 12 and 14 at the OS level. The backup by the file copy function is performed by the database storage unit 122, 1
Unlike the above-described operation using the export function in which the structure information and the data themselves are converted into different formats and output to a file, the database is copied in its original format, and although a large hard disk resource is required, There is an advantage that the time required for backup is short.

【0081】例えば、データ量が3ギガバイトのデータ
ベースのバックアップにおいて、エクスポート機能によ
るバックアップでは600分程度の時間を要するのに比
べ、ファイルコピー機能によるバックアップでは、その
十分の一である60分程度で完了することができる。た
だし、ファイルコピー機能によりバックアップデータを
作成する場合、データベース記憶部122、142のフ
ァイルとバックアップデータ記憶部124、144のデ
ータとは、設定やファイル名等を完全に同一にしておく
ことが必要である。
For example, in the backup of a database having a data amount of 3 gigabytes, the backup by the export function takes about 600 minutes, whereas the backup by the file copy function takes about one-tenth of the time, ie, about 60 minutes. can do. However, when the backup data is created by the file copy function, it is necessary that the files in the database storage units 122 and 142 and the data in the backup data storage units 124 and 144 have completely the same settings and file names. is there.

【0082】上記の構成により、サーバ12、14を稼
働したままの状態でバックアップデータが作成されると
ともに、バックアップデータ作成開始以降のデータベー
ス記憶部122、142に対する新たな更新情報がアー
カイブデータ記憶部126、146に記録されることと
なり、効率的に短時間でデータベース記憶部122、1
42のバックアップを行うことができる。また、後述す
るように、一方のデータベース内容が破壊されるなどの
障害が発生した場合には、バックアップデータとアーカ
イブデータとを用いて、データベースの内容を迅速に復
元することができる。
With the above configuration, backup data is created while the servers 12 and 14 are running, and new update information for the database storage units 122 and 142 after the start of backup data creation is stored in the archive data storage unit 126. , 146, and efficiently and quickly in the database storage units 122, 1
42 backups can be performed. Further, as described later, when a failure such as the content of one database is destroyed, the content of the database can be quickly restored using the backup data and the archive data.

【0083】そこで、次に、サーバ14のデータベース
記憶部142の内容が破壊される障害が発生した場合に
おけるデータ復旧方法について説明する。
Next, a data recovery method when a failure occurs in which the contents of the database storage unit 142 of the server 14 is destroyed will be described.

【0084】この場合、サーバ14に接続されているク
ライアント30、32は、その接続先をサーバ12に切
り替え、サーバ12単独で分散処理システム10を稼動
させる。これにより、システムを停止させることなく、
生産を継続させることができる。次に、障害の生じたサ
ーバ14のハード上の復旧作業を行う。例えば、データ
ベース記憶部142としてのハードディスクの交換等を
行う。
In this case, the clients 30 and 32 connected to the server 14 switch the connection destination to the server 12 and operate the distributed processing system 10 by the server 12 alone. This allows you to stop the system
Production can be continued. Next, a recovery operation on the hardware of the failed server 14 is performed. For example, replacement of a hard disk as the database storage unit 142 is performed.

【0085】以上の処理を行った後、サーバ12のバッ
クアップデータ記憶部124の内容をサーバ14のデー
タベース記憶部142にリストア(ファイルコピー)す
る。このオペレーションにより、データベース記憶部1
22のバックアップ時点の内容と同一のデータベースの
複製がデータベース記憶部142に構築される。この処
理の間、サーバ12のアーカイブデータ記憶部126に
は、運用中バックアップ開始以降のアーカイブデータが
記録されている。
After performing the above processing, the contents of the backup data storage unit 124 of the server 12 are restored (file copy) to the database storage unit 142 of the server 14. By this operation, the database storage unit 1
A copy of the database identical to the contents at the time of backup of No. 22 is constructed in the database storage unit 142. During this process, the archive data storage unit 126 of the server 12 records the archive data since the start of the backup during operation.

【0086】なお、バックアップデータ記憶部124の
内容をサーバ14のデータベース記憶部142へリスト
アするときのオペレーションは、前述と同様に、ファイ
ルコピー機能を利用して行われる。従って、各サーバ1
2、14のデータベース記憶部122、142のデータ
ベースは、設定を含め完全に同一にされるとともに、同
じ名前のハードディスクドライブに置かれ、また、一方
のサーバが障害となったときにそのサーバに接続されて
いたクライアントの処理を引き継ぐため、外部からアク
セスするためのグローバル名を異なるものに設定してお
く必要がある。
The operation for restoring the contents of the backup data storage unit 124 to the database storage unit 142 of the server 14 is performed by using the file copy function as described above. Therefore, each server 1
The databases of the database storage units 122 and 142 are completely identical, including the settings, are placed on the hard disk drive of the same name, and are connected to the server when one server fails. It is necessary to set a different global name for external access in order to take over the processing of the client that has been performed.

【0087】次に、バックアップデータのコピー処理が
完了した後、データベース記憶部122の更新が行われ
ないよう、サーバ12に接続されている全クライアント
20、22、24、26、30、32の稼働を一旦停止
させる。この状態で、サーバ12のアーカイブデータ記
憶部126に蓄積されたアーカイブデータの内容をサー
バ14のデータベース記憶部142に適用(書き込み)
する。この書き込み操作は、いわゆるロールフォワード
といわれる処理で自動的に行われるものであり、このロ
ールフォワード機能は、一般のデータベース処理ソフト
に組み込まれて提供されているものであって、このオペ
レーションにより、データベース記憶部122と142
とが同じ内容に復元される。
Next, after the backup data copy processing is completed, the operation of all the clients 20, 22, 24, 26, 30, 32 connected to the server 12 is performed so that the database storage unit 122 is not updated. Is temporarily stopped. In this state, the contents of the archive data stored in the archive data storage unit 126 of the server 12 are applied (written) to the database storage unit 142 of the server 14.
I do. This write operation is automatically performed by a so-called roll-forward process. This roll-forward function is provided by being incorporated in general database processing software. Storage units 122 and 142
Is restored to the same content.

【0088】以上の復旧作業が完了した後、クライアン
ト30、32を再びサーバ14に接続し、各サーバ1
2、14を再起動することにより、分散処理システム1
0全体の運用が再開される。
After the above recovery work is completed, the clients 30 and 32 are connected to the server 14 again,
Restarting the distributed processing systems 1 and 2
0 operation is resumed.

【0089】ここで、分散処理システム10が完全に停
止している時間は、バックアップデータを除くアーカイ
ブデータをデータベースに適用している間のみである。
このアーカイブデータの量は、例えば、運用中バックア
ップの時間間隔を1日に設定したとすると、最大でも1
日分のデータベースの更新量である。アーカイブデータ
からデータベースを復元するのに要する時間は、数分な
いし数十分であり、従って、分散処理システム10が停
止する期間もこの程度に抑えることができ、従来のエク
スポート、インポート機能によるデータベース復旧に要
する時間(8時間程度)に比べ、大幅にシステム停止時
間を短縮することができる。
Here, the time during which the distributed processing system 10 is completely stopped is only when the archive data excluding the backup data is applied to the database.
For example, if the time interval of the backup during operation is set to one day, the amount of the archive data is 1 at a maximum.
This is the amount of database updates for the day. The time required to restore the database from the archived data is several minutes to several tens of minutes, so that the period during which the distributed processing system 10 is stopped can be suppressed to this level, and the database recovery by the conventional export and import functions can be performed. System stoppage time can be greatly reduced as compared with the time required for (8 hours).

【0090】[0090]

【発明の効果】以上のように、本発明によれば、複数の
サーバおよびクライアントにより構成される分散処理シ
ステムにおいて、サーバに構築されたデータベースを復
旧する必要が生じた場合、長時間にわたりシステムを停
止することなく当該データベースを極めて短時間で復旧
することができる。
As described above, according to the present invention, in a distributed processing system constituted by a plurality of servers and clients, if it becomes necessary to restore a database constructed in a server, the system is constructed for a long time. The database can be restored in a very short time without stopping.

【0091】しかも、システムの規模を拡大することな
く、コストパフォーマンスを向上させることができる。
Further, cost performance can be improved without increasing the scale of the system.

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

【図1】本発明に係る分散処理システムの構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a distributed processing system according to the present invention.

【図2】本発明に係る分散処理システムを生産ラインに
適用した場合の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration when a distributed processing system according to the present invention is applied to a production line.

【図3】本発明に係る分散処理システムにおけるクライ
アントの接続制御ブロック図である。
FIG. 3 is a connection control block diagram of a client in the distributed processing system according to the present invention.

【図4】本発明に係る分散処理システムにおけるデータ
ベース更新処理部での処理手順を示すフローチャートで
ある。
FIG. 4 is a flowchart showing a processing procedure in a database update processing unit in the distributed processing system according to the present invention.

【図5】本発明に係る分散処理システムにおける更新情
報転送部での処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure in an update information transfer unit in the distributed processing system according to the present invention.

【図6】従来の分散処理システムの構成を示すブロック
図である。
FIG. 6 is a block diagram showing a configuration of a conventional distributed processing system.

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

10…分散処理システム 12、14…サ
ーバ 20、22、24、26、30、32…クライアント 122、142…データベース記憶部 123、143
…バックアップ処理部 124、144…バックアップデータ記憶部 125、145…アーカイブデータ作成部 126、146…アーカイブデータ記憶部 128、148…データベース更新処理部 130、150…更新情報転送部 132、152
…複製トリガ生成部
10 Distributed processing system 12, 14 Server 20, 22, 24, 26, 30, 32 Client 122, 142 Database storage unit 123, 143
.. Backup processing units 124 and 144 Backup data storage units 125 and 145 Archive data creation units 126 and 146 Archive data storage units 128 and 148 Database update processing units 130 and 150 Update information transfer units 132 and 152
… Replication trigger generator

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 12/00 545 G06F 12/00 545A 12/16 310 12/16 310M 15/16 620 15/16 620B Fターム(参考) 5B018 GA06 HA05 KA13 KA22 MA12 RA11 5B034 BB02 DD06 5B045 BB12 BB28 BB47 DD18 JJ13 JJ22 JJ26 JJ32 JJ42 5B082 DA02 GA03 HA00 9A001 BB03 DD09 EE01 EE06 JJ01 LL02 LL07 LL09 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06F 12/00 545 G06F 12/00 545A 12/16 310 12/16 310M 15/16 620 15/16 620B F Terms (reference) 5B018 GA06 HA05 KA13 KA22 MA12 RA11 5B034 BB02 DD06 5B045 BB12 BB28 BB47 DD18 JJ13 JJ22 JJ26 JJ32 JJ42 5B082 DA02 GA03 HA00 9A001 BB03 DD09 EE01 EE06 JJ01 LL02 LL07 LL09

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数のサーバと、前記各サーバに接続され
制御対象の分散処理を行う複数のクライアントとからな
る分散処理システムであって、 前記各サーバは、 前記複数のクライアントの前記制御対象に対する処理に
より更新されるデータベースを記憶するデータベース記
憶部と、 前記クライアントの前記制御対象に対する処理による前
記データベースの更新処理に基づいてデータ複製トリガ
を生成する複製トリガ生成部と、 前記データ複製トリガに基づき前記データベースの更新
情報を他のサーバへ転送する更新情報転送部と、 転送された前記更新情報に基づき前記他のサーバの前記
データベースを更新するデータベース更新処理部と、 所定の時間間隔で前記データベースの運用中バックアッ
プ処理を行うバックアップ処理部と、 前記運用中バックアップ処理によるバックアップデータ
を記憶するバックアップデータ記憶部と、 前記運用中バックアップ処理の開始以降に発生する前記
データベースの更新情報に基づくアーカイブデータを作
成するアーカイブデータ作成部と、 前記アーカイブデータを記憶するアーカイブデータ記憶
部と、 を備え、前記バックアップデータおよび前記アーカイブ
データに基づいて前記データベースを復旧させることを
特徴とする分散処理システムにおけるデータバックアッ
プ装置。
1. A distributed processing system comprising: a plurality of servers; and a plurality of clients connected to the respective servers and performing distributed processing of a control target, wherein each of the servers is configured to control a plurality of clients for the control target. A database storage unit that stores a database that is updated by processing; a replication trigger generation unit that generates a data replication trigger based on an update process of the database by a process on the control target of the client; An update information transfer unit that transfers update information of a database to another server; a database update processing unit that updates the database of the other server based on the transferred update information; operation of the database at predetermined time intervals A backup processing unit for performing medium backup processing; A backup data storage unit that stores backup data obtained during the backup process in operation; an archive data creation unit that creates archive data based on update information of the database generated after the start of the backup process in operation; and stores the archive data. An archive data storage unit for recovering the database based on the backup data and the archive data.
【請求項2】複数のサーバに接続される複数のクライア
ントの制御対象に対する処理に従い、前記各クライアン
トに接続される前記各サーバのデータベースを更新する
ステップと、 前記データベースの更新処理に基づいてデータ複製トリ
ガを生成するステップと、 前記データ複製トリガに基づき前記データベースの更新
情報を他の前記サーバへ転送するステップと、 転送された前記更新情報に基づき他の前記サーバの前記
データベースを更新するステップと、 からなる分散処理システムにおいて、 所定の時間間隔で前記データベースの運用中バックアッ
プ処理を行い、バックアップデータを保存するステップ
と、 前記運用中バックアップ処理の開始以降に発生する前記
データベースの更新情報に基づくアーカイブデータを作
成し保存するステップと、 複数の前記サーバの1つに障害が発生した場合、正常な
他の前記サーバの前記バックアップデータをコピー処理
するとともに、正常な他の前記サーバの前記アーカイブ
データからデータベースを復元させるステップと、 を組み合わせてなることを特徴とするデータバックアッ
プ方法。
2. A process for updating a database of each server connected to each client according to a process for a control target of a plurality of clients connected to a plurality of servers; and copying data based on the updating process of the database. Generating a trigger; transferring the update information of the database to another server based on the data replication trigger; updating the database of the other server based on the transferred update information; Performing a backup process during operation of the database at predetermined time intervals and storing backup data; and archive data based on update information of the database generated after the start of the backup process during operation. Create and save And when a failure occurs in one of the plurality of servers, copying the backup data of the other normal server and restoring a database from the archive data of the other normal server. A data backup method characterized by combining and.
【請求項3】請求項2記載の方法において、 正常な他の前記サーバによる前記複数のクライアントの
運用状態を継続しつつ前記バックアップデータの前記コ
ピー処理を行うことを特徴とするデータバックアップ方
法。
3. The data backup method according to claim 2, wherein said copy processing of said backup data is performed while continuing the operation state of said plurality of clients by another normal server.
JP2000093256A 2000-03-29 2000-03-30 Device and method for backing up data in distributed processing system Pending JP2001282762A (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2000093256A JP2001282762A (en) 2000-03-30 2000-03-30 Device and method for backing up data in distributed processing system
DE60119822T DE60119822T8 (en) 2000-03-29 2001-03-28 Distributed data processing system and data processing method in a distributed data processing system
EP01107910A EP1139235B1 (en) 2000-03-29 2001-03-28 Distributed data processing system and method of processing data in distributed data processing system
AT01107910T ATE327539T1 (en) 2000-03-29 2001-03-28 DISTRIBUTED DATA PROCESSING SYSTEM AND DATA PROCESSING METHOD IN A DISTRIBUTED DATA PROCESSING SYSTEM
US09/819,612 US20010027453A1 (en) 2000-03-29 2001-03-29 Distributed data processing system and method of processing data in distributed data processing system
CNB011097442A CN1251087C (en) 2000-03-29 2001-03-29 Distribution data processing system and method for processing data in said system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000093256A JP2001282762A (en) 2000-03-30 2000-03-30 Device and method for backing up data in distributed processing system

Publications (1)

Publication Number Publication Date
JP2001282762A true JP2001282762A (en) 2001-10-12

Family

ID=18608467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000093256A Pending JP2001282762A (en) 2000-03-29 2000-03-30 Device and method for backing up data in distributed processing system

Country Status (1)

Country Link
JP (1) JP2001282762A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100416366B1 (en) * 2001-12-19 2004-01-31 에스케이 텔레콤주식회사 Method of preventing HLR traffic data from loss when recovering HLR with Backup System
JP2004164452A (en) * 2002-11-15 2004-06-10 Fuji Photo Film Co Ltd Production process management system
KR100503899B1 (en) * 2002-11-26 2005-07-25 진진시스템(주) Database replication system and the replication method
JP2009282719A (en) * 2008-05-21 2009-12-03 Ntt Docomo Inc Database system and database server device
JP2013020564A (en) * 2011-07-14 2013-01-31 Hitachi Ltd Production management system
JP2013190955A (en) * 2012-03-13 2013-09-26 Toshiba Corp Client server system by hot standby system
KR101530346B1 (en) * 2013-12-27 2015-06-19 주식회사 케이티 Distributed file system and method
US9778625B2 (en) 2011-09-20 2017-10-03 Daifuku Co., Ltd. Facility control system and facility control method
US9778637B2 (en) 2011-09-20 2017-10-03 Daifuku Co., Ltd. Facility control system and facility control method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100416366B1 (en) * 2001-12-19 2004-01-31 에스케이 텔레콤주식회사 Method of preventing HLR traffic data from loss when recovering HLR with Backup System
JP2004164452A (en) * 2002-11-15 2004-06-10 Fuji Photo Film Co Ltd Production process management system
KR100503899B1 (en) * 2002-11-26 2005-07-25 진진시스템(주) Database replication system and the replication method
JP2009282719A (en) * 2008-05-21 2009-12-03 Ntt Docomo Inc Database system and database server device
JP2013020564A (en) * 2011-07-14 2013-01-31 Hitachi Ltd Production management system
US9778625B2 (en) 2011-09-20 2017-10-03 Daifuku Co., Ltd. Facility control system and facility control method
US9778637B2 (en) 2011-09-20 2017-10-03 Daifuku Co., Ltd. Facility control system and facility control method
JP2013190955A (en) * 2012-03-13 2013-09-26 Toshiba Corp Client server system by hot standby system
KR101530346B1 (en) * 2013-12-27 2015-06-19 주식회사 케이티 Distributed file system and method

Similar Documents

Publication Publication Date Title
EP1139235B1 (en) Distributed data processing system and method of processing data in distributed data processing system
CN1902595B (en) Coordinated storage management operations in replication environment
US7415586B2 (en) Data backup method and system
US7844856B1 (en) Methods and apparatus for bottleneck processing in a continuous data protection system having journaling
US6360330B1 (en) System and method for backing up data stored in multiple mirrors on a mass storage subsystem under control of a backup server
CN101578586B (en) Using virtual copies in a failover and failback environment
US5608865A (en) Stand-in Computer file server providing fast recovery from computer file server failures
US7631213B2 (en) Data center virtual tape off-site disaster recovery planning and implementation system
US20100114837A1 (en) Remote disaster data recovery system and method
US8019727B2 (en) Pull model for file replication at multiple data centers
CN1983153A (en) Method for carrying long-distance copy in data processing system and method of storing data
JPH1074168A (en) Device and method for generating copy of data file
JP2001282762A (en) Device and method for backing up data in distributed processing system
JP2001344141A (en) Distributed processing system provided with data backup function and its processing method
JP5521595B2 (en) Storage system and storage control method
JP5136162B2 (en) Backup management system, method, and program
US20040139129A1 (en) Migrating a database
CN114328005B (en) Method and system for incremental backup of container data
CN106445746A (en) Method and device for disaster recovery backup facing emergency replacement
CN114328009A (en) Unified disaster recovery backup method and device for heterogeneous database based on virtualization and snapshot
US7831782B1 (en) Roll-back log to provide data consistency
JP2009043259A (en) Information management system and method
JPH11345139A (en) Non-stop type duplex system
CN116881049B (en) Distributed data backup method based on terminal and cloud host under cloud framework
JPH08278911A (en) Multiple-system processing system