JP2701806B2 - File synchronization method - Google Patents

File synchronization method

Info

Publication number
JP2701806B2
JP2701806B2 JP7234714A JP23471495A JP2701806B2 JP 2701806 B2 JP2701806 B2 JP 2701806B2 JP 7234714 A JP7234714 A JP 7234714A JP 23471495 A JP23471495 A JP 23471495A JP 2701806 B2 JP2701806 B2 JP 2701806B2
Authority
JP
Japan
Prior art keywords
file
host
job
exclusive
synchronization
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 - Lifetime
Application number
JP7234714A
Other languages
Japanese (ja)
Other versions
JPH0962556A (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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP7234714A priority Critical patent/JP2701806B2/en
Publication of JPH0962556A publication Critical patent/JPH0962556A/en
Application granted granted Critical
Publication of JP2701806B2 publication Critical patent/JP2701806B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はファイル同期方式に
関し、特に疎結合マルチホスト構成システムにおいて同
期ファイル(複数ホスト間でファイル内容の整合性を保
つ必要があるファイル)のファイル内容の整合性を保つ
ファイル同期方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file synchronization system, and more particularly, to maintaining consistency of file contents of a synchronous file (a file which needs to maintain consistency of file contents among a plurality of hosts) in a loosely coupled multi-host configuration system. Related to file synchronization method.

【0002】[0002]

【従来の技術】従来、ホスト間で同期ファイルのファイ
ル内容の整合性を保つファイル同期方式には、ホスト間
の排他制御機構のない共有ファイル(複数ホストから1
つのファイルに接続できるが、それぞれのホストはその
ファイルに対して自ホストしか接続していない(ローカ
ルなファイル)としか見えず、自ホスト内のジョブ間で
の排他制御しか行えないファイル)を用いてファイル内
容の同期をとる方式があった。
2. Description of the Related Art Conventionally, a file synchronization method for maintaining consistency of file contents of a synchronization file between hosts includes a shared file having no exclusive control mechanism between hosts (one file from a plurality of hosts).
You can connect to two files, but each host uses only its own host to connect to that file (a local file), and uses only files that can only perform exclusive control between jobs in its own host) There was a method to synchronize the contents of the file.

【0003】また、ホスト間の排他制御機構がある共有
ファイル(複数ホストから1つのファイルに接続でき、
それぞれのホストはそのファイルに対して他ホストも接
続している(グローバルなファイル)として認識でき、
ホスト間に跨がった排他制御が行えるファイル)を用い
て各ホストからの同時更新を許してファイル内容の同期
をとる方式があった。
A shared file having an exclusive control mechanism between hosts (a plurality of hosts can connect to one file,
Each host can recognize that the file is connected to other hosts (global file),
There is a method of synchronizing file contents by permitting simultaneous updating from each host using a file (exclusive control that can be performed across hosts).

【0004】さらに、マスタホストにマスタファイルを
持ち、スレーブホストにコピーファイルを持ち、ファイ
ル更新はマスタファイルに対してのみ行い、コピーファ
イルには非同期更新処理(複数ホストのファイルのファ
イル内容に整合性が保たれるように、時間的に離散して
(非連続に)複数ホストのファイルを更新する処理)を
行うことによりファイル内容の同期をとる方式もあっ
た。
Further, the master host has a master file, the slave host has a copy file, the file is updated only for the master file, and the copy file is subjected to an asynchronous update process (consistent with the file contents of the files of a plurality of hosts). There is also a method of synchronizing file contents by performing a process of discretely (non-continuously) updating files of a plurality of hosts so as to keep the file contents.

【0005】その他にも、2フェーズコミットメント制
御による即時更新処理のファイル同期方式があった(例
えば、「クライアント/サーバデータベース設計テクニ
ック」,佐藤正美,p154〜164,ソフトウェア・
リサーチ・センター発行参照)。
[0005] In addition, there is a file synchronization method for immediate update processing by two-phase commitment control (for example, "Client / Server Database Design Technique", Masami Sato, pp. 154 to 164, software
Research Center).

【0006】[0006]

【発明が解決しようとする課題】上述した従来のホスト
間の排他制御機構のない共有ファイルを用いたファイル
同期方式では、複数のホストから1つのファイルに接続
できるが、それぞれのホストはそのファイルに対して自
ホストしか接続していない(ローカルなファイル)とし
か見えず、自ホスト内のジョブ間での同期ファイルの占
有排他制御しか行えないので、各ホストからの同時更新
を行うことがないように管理者が注意する必要があると
いう問題点があった。また、各ホストからそのファイル
に対して自ホストしか接続していない(ローカル)なフ
ァイルとしか見えないが、ファイル名とデータが書き込
まれている物理的な媒体内の位置は同一であるため、各
ホストからファイル内容の同期をとるためには、媒体内
の同一のデータを更新する必要があり、必然的に各ホス
ト共通のファイル名になってしまい、各ホスト毎に違う
ファイルとすることができないという問題点があった。
In the above-described conventional file synchronization method using a shared file without an exclusive control mechanism between hosts, a plurality of hosts can connect to one file, but each host can connect to the file. On the other hand, it can be seen that only the local host is connected (local file), and only exclusive control of the synchronous file can be performed between jobs in the local host, so that simultaneous updating from each host is not performed There is a problem that the administrator needs to be careful. In addition, although each host can only see the file as a (local) file connected only to the host, the file name and the location in the physical medium where the data is written are the same, In order to synchronize the file contents from each host, it is necessary to update the same data in the medium, and the file name will be inevitably common to each host, and it will be different for each host. There was a problem that it was not possible.

【0007】一方、ホスト間の排他制御機構がある共有
ファイルを用いたファイル同期方式でも、複数のホスト
から1つのファイルに接続でき、それぞれのホストはそ
のファイルに対して他ホストも接続している(グローバ
ルなファイル)として認識でき、ホスト間にまたがった
ジョブ間での同期ファイルの占有排他制御が行えるの
で、ファイル名は共通であり、各ホストからの同時更新
は行えるが、その共有ファイルの占有排他制御やアクセ
ス集中のためにアクセスの遅延が懸念されるという問題
点があった。
On the other hand, even in a file synchronization system using a shared file having an exclusive control mechanism between hosts, a plurality of hosts can connect to one file, and each host also connects another host to the file. (Global file), and exclusive control of the synchronous file can be performed between jobs across hosts, so the file name is common and simultaneous update from each host can be performed, but the shared file is occupied There has been a problem that access delay may be caused due to exclusive control or access concentration.

【0008】さらに、マスタホストにマスタファイルを
持ち、スレーブホストにコピーファイルを持ち、ファイ
ル更新はマスタファイルに対してのみ行い、コピーファ
イルには非同期更新処理を行うことによりファイル内容
の同期をとるファイル同期方式では、マスタファイルか
らスレーブファイルへの非同期更新処理前で、各ホスト
間のファイル内容の同期がとれない間に、スレーブファ
イルに参照/更新処理が行われた媒体にファイル内容の
不整合が発生するという問題点があった。
Further, the master host has a master file, the slave host has a copy file, the file is updated only for the master file, and the copy file is subjected to asynchronous update processing to synchronize the file contents. In the synchronous method, before the asynchronous update processing from the master file to the slave file, while the file contents between the hosts cannot be synchronized, the file contents inconsistent on the medium on which the slave file has been referred / updated. There was a problem that it occurred.

【0009】さらにまた、2フェーズコミットメント制
御によるページ排他による即時更新処理によるファイル
同期方式では、デッドロックの発生が懸念されるという
問題点があった。
Further, in the file synchronization system based on the immediate update processing by page exclusion under the two-phase commitment control, there is a problem that a deadlock may occur.

【0010】本発明の目的は、上述の点に鑑み、複数ホ
スト間で同期ファイルのファイル内容の整合性を保つた
めに、任意ホストからの同期ファイルの更新処理終了後
に、各ホストの同期定義に従ってファイル転送処理によ
り他ホストの同期ファイルを非同期更新処理することで
複数ホスト間で同期ファイルのファイル内容の整合性を
とるとともに、各ホストの同期定義に従ってジョブ単位
の同期ファイルの占有排他制御を行うことで他ホストで
の同期ファイルの占有排他と自ホスト内での同期ファイ
ルの参照とを可能にし、任意ホストからの更新ジョブが
同期ファイルを更新することによるファイル転送時のホ
スト間でのデッドロックを防止するようにしたファイル
同期方式を提供することにある。
SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to maintain the consistency of the file contents of a synchronization file among a plurality of hosts, and after updating a synchronization file from an arbitrary host, in accordance with the synchronization definition of each host. Asynchronous update processing of synchronous files on other hosts by file transfer processing ensures consistency of file contents of synchronous files between multiple hosts, and performs exclusive / exclusive control of synchronous files for each job according to the synchronization definition of each host Enables exclusive occupation of the synchronization file on another host and reference to the synchronization file on the local host, and prevents a deadlock between hosts during file transfer due to an update job from any host updating the synchronization file. It is an object of the present invention to provide a file synchronization system which prevents such a situation.

【0011】[0011]

【課題を解決するための手段】本発明のファイル同期方
式は、疎結合マルチホスト構成システムにおいて、ホス
ト名と同期ファイルのファイル名リストとの組をジョブ
単位に記述する同期定義と、各ホストでのジョブの投入
を受け付け、ジョブ単位の開始処理の結果によりジョブ
の実行開始および再スケジュールを制御するジョブエン
トリシステムと、このジョブエントリシステムより起動
される各ジョブ単位にジョブ利用資源を管理し、各ジョ
ブ単位の開始処理出口および終了処理出口をもつジョブ
制御手段と、このジョブ制御手段の更新ジョブの開始処
理出口にて自ホストの同期定義に従って同期ファイルを
更新ジョブの占有排他とし、他ホストの排他管理手段に
も同期ファイルの占有排他要求を通知して要求結果を待
ち合わせ、他ホストでの同期ファイルの占有排他が成功
した場合は自ホストでの同期ファイルの占有排他を共有
排他に変えて同期ファイルの参照を可能にし、前記ジョ
ブ制御手段の更新ジョブの終了処理出口にて自ホストの
同期定義に従って同期ファイルに対して他ホストの排他
管理手段に同期ファイルの占有排他解除要求を通知して
から自ホストでの同期ファイルの占有排他解除を行う排
他管理手段と、前記ジョブ制御手段の更新ジョブの終了
処理出口にて自ホストの同期定義に従って各ホストで更
新済みの同期ファイルを他ホストに転送コピーして他ホ
ストでの同期ファイルの非同期更新処理を行うファイル
転送手段とを有する。
According to the file synchronization method of the present invention, in a loosely-coupled multi-host configuration system, a synchronization definition that describes a set of a host name and a file name list of a synchronization file for each job is provided. A job entry system that accepts the input of a job and controls the start and rescheduling of the job according to the result of the start processing in the unit of a job, and manages the job use resources for each job started by the job entry system, A job control means having a start processing exit and a termination processing exit for each job, and a synchronous file is exclusively occupied by the update job according to the synchronization definition of the own host at the update processing start processing exit of the job control means, and exclusion of another host is performed. The management means is also notified of the exclusive exclusion request of the synchronous file, waits for the request result, and If the exclusive exclusion of the synchronous file in the host succeeds, the exclusive exclusion of the synchronous file on the local host is changed to the shared exclusion, and the synchronous file can be referred to. An exclusive management unit for notifying the exclusive management unit of another host of a synchronous file exclusion release request to a synchronous file according to the synchronization definition of the synchronous file and then releasing the exclusive exclusion of the synchronous file on the local host; A file transfer unit that transfers and copies the updated synchronous file to another host in accordance with the synchronization definition of the host at the exit end of the update job and performs asynchronous update processing of the synchronous file at the other host.

【0012】[0012]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0013】図1は、本発明の一実施例に係るファイル
同期方式が適用された疎結合マルチホスト構成システム
の構成を示すブロック図である。この疎結合マルチホス
ト構成システムは、複数(図示は2つ)のホスト1,2
が疎結合されて、その主要部が構成されている。
FIG. 1 is a block diagram showing the configuration of a loosely-coupled multi-host configuration system to which a file synchronization method according to an embodiment of the present invention is applied. This loosely coupled multi-host configuration system includes a plurality of (two shown) hosts 1 and 2.
Are loosely coupled to form the main part.

【0014】ホスト1は、排他管理手段1−1と、同期
定義1−2と、ファイル転送手段1−3と、同期ファイ
ル1−4(F1,F2,F3,F4)と、端末1−5
と、ジョブエントリシステム1−6と、ジョブ制御手段
1−7とを含んで構成されている。
The host 1 includes an exclusive management unit 1-1, a synchronization definition 1-2, a file transfer unit 1-3, a synchronization file 1-4 (F1, F2, F3, F4), and a terminal 1-5.
, A job entry system 1-6, and a job control means 1-7.

【0015】ホスト2も、ホスト1と同様に、排他管理
手段2−1と、同期定義2−2と、ファイル転送手段2
−3と、同期ファイル2−4(F1,F2,F3,F
4)と、端末2−5と、ジョブエントリシステム2−6
と、ジョブ制御手段2−7とを含んで構成されている。
Similarly to the host 1, the host 2 also includes an exclusive management unit 2-1, a synchronization definition 2-2, and a file transfer unit 2.
-3 and the synchronization file 2-4 (F1, F2, F3, F
4), terminal 2-5, and job entry system 2-6
And a job control means 2-7.

【0016】同期定義1−2,2−2は、図2に示すよ
うに、ホスト名と各ホスト1,2間でファイル内容の整
合性を保つ必要のある同期ファイル1−4,2−4のフ
ァイル名リストとの組をジョブ単位に記述する定義情報
である。図2に例示した同期定義1−2,2−2の場合
は、例えば、ジョブ(JOB)lの単位で同期ファイル
F1,F2を占有排他し、ホスト(HOST)1とホス
ト(HOST)2との間で同期ファイルF1,F2のフ
ァイル内容の整合をとることを定義している(ファイル
更新の順序とファイル名の並びとには関連性はない)。
なお、同期定義1−2,2−2をファイルとした場合
は、同期定義ファイル自身も同期定義1−2,2−2の
ファイル名リストに登録可能であり、更新ジョブにより
同期をとって更新可能である。
As shown in FIG. 2, the synchronization definitions 1-2 and 2-2 are synchronization files 1-4 and 2-4 which need to maintain consistency between the host name and the file contents between the hosts 1 and 2. Is the definition information that describes a set with the file name list of each job. In the case of the synchronization definitions 1-2 and 2-2 illustrated in FIG. 2, for example, the synchronization files F1 and F2 are exclusively occupied in units of a job (JOB) l, and the host (HOST) 1 and the host (HOST) 2 Are defined to match the file contents of the synchronization files F1 and F2 (there is no relation between the order of file update and the arrangement of file names).
If the synchronization definitions 1-2 and 2-2 are files, the synchronization definition file itself can be registered in the file names list of the synchronization definitions 1-2 and 2-2, and the synchronization definition file is updated and synchronized. It is possible.

【0017】ファイル転送手段1−3,2−3は、ジョ
ブ制御手段1−7,2−7のジョブ単位の終了処理出口
にて、各ホスト1,2の各更新ジョブのファイル更新処
理の終了を受けて、同期定義1−2,2−2中のホスト
名とファイル名リストとの組に従って自ホスト1,2で
更新済みの同期ファイル1−4,2−4を他ホスト2,
1に転送コピーして、他ホスト2,1での同期ファイル
2−4,1−4の非同期更新処理を行い、ファイル転送
終了を待ち合わせる(ジョブ制御手段1−7,2−7の
ジョブ終了処理出口に制御が戻る)。
The file transfer units 1-3 and 2-3 terminate the file update processing of each update job of each of the hosts 1 and 2 at the job unit termination processing exit of the job control units 1-7 and 2-7. In response to this, the synchronization files 1-4 and 2-4 that have been updated on the local hosts 1 and 2 according to the set of the host name and the file name list in the synchronization definitions 1-2 and 2-2, and the other hosts 2
1 and performs asynchronous update processing of the synchronous files 2-4 and 1-4 at the other hosts 2 and 1, and waits for the end of file transfer (job end processing of the job control means 1-7 and 2-7). Control returns to the exit).

【0018】同期ファイル1−4(F1,F2,F3,
F4),2−4(F1,F2,F3,F4)は、各ホス
ト1,2単位に管理され排他制御される非共有なファイ
ル(ローカルなファイル)である。
Synchronization file 1-4 (F1, F2, F3,
F4), 2-4 (F1, F2, F3, F4) are non-shared files (local files) managed and exclusively controlled by each host 1 and 2.

【0019】端末1−5,2−5は、ジョブの投入,ジ
ョブエントリシステム1−6,2−6の起動,および排
他管理手段1−1,2−1の起動を行う端末である。
The terminals 1-5 and 2-5 are terminals for submitting jobs, activating the job entry systems 1-6 and 2-6, and activating the exclusive management units 1-1 and 2-1.

【0020】ジョブエントリシステム1−6,2−6
は、各ホスト1,2でのジョブの投入を受け付け、ジョ
ブ単位の開始処理の結果により、ジョブの実行開始およ
び再スケジュールを制御する。
Job entry system 1-6, 2-6
Accepts the submission of a job in each of the hosts 1 and 2, and controls the execution start and rescheduling of the job based on the result of the start processing for each job.

【0021】ジョブ制御手段1−7,2−7は、ジョブ
エントリシステム1−6,2−6より起動される各ジョ
ブ単位にジョブ利用資源を管理し、各ジョブ単位の実行
処理部(図示せず)の前後に呼び出される開始処理出口
(図示せず)および終了処理出口(図示せず)をもち、
開始処理出口で排他管理手段1−1,2−1を制御し、
終了処理出口でファイル転送手投1−3,2−3および
排他管理手段1−1,2−1を制御する。
The job control means 1-7 and 2-7 manage the job utilization resources for each job started by the job entry systems 1-6 and 2-6, and execute processing units (shown in FIG. 1) for each job. ) Has a start processing exit (not shown) and an end processing exit (not shown) called before and after
The exclusive processing means 1-1 and 2-1 are controlled by the start processing exit,
The end processing exit controls the file transfer methods 1-3, 2-3 and the exclusive management means 1-1, 2-1.

【0022】図3を参照すると、排他管理手段1−1,
2−1の処理は、排他制御要求(占有排他要求または占
有排他解除要求)受付待ちステップS101と、開始処
理出口判定ステップS102と、同期定義参照ステップ
S103と、同期定義参照ステップS103’と、他ホ
スト要求受付判定ステップS104と、他ホスト要求受
付判定ステップS104’と、同期定義不整合判定ステ
ップS105と、占有排他要求失敗通知ステップS10
6と、占有排他ステップS107と、他ホスト要求受付
判定ステップS108と、自ホスト資源待合せ要求ステ
ップS108’と、占有排他要求失敗通知ステップS1
08”と、他ホスト要求受付判定ステップS109と、
他ホスト占有排他要求/待ちステップS110と、他ホ
スト占有排他成功判定ステップS111と、自ホスト共
有排他ステップS112と、自ホスト占有排他解除ステ
ップS113と、占有排他要求成功通知S114と、他
ホスト占有排他解除要求通知ステップS115と、自ホ
スト占有排他解除ステップS116と、排他管理終了判
定ステップS117とからなる。
Referring to FIG. 3, exclusive control means 1-1,
The process 2-1 includes an exclusive control request (exclusive exclusion request or exclusive exclusion release request) reception waiting step S101, a start processing exit determination step S102, a synchronization definition reference step S103, a synchronization definition reference step S103 ', and the like. Host request acceptance determination step S104, other host request acceptance determination step S104 ', synchronization definition mismatch determination step S105, and exclusive exclusion request failure notification step S10
6, exclusive exclusion step S107, other host request acceptance determination step S108, own host resource queuing request step S108 ', and exclusive exclusion request failure notification step S1.
08 ", another host request acceptance determination step S109,
Other host exclusive exclusion request / waiting step S110, other host exclusive exclusion success determination step S111, own host shared exclusive step S112, own host exclusive exclusion release step S113, exclusive exclusion request success notification S114, other host exclusive exclusion It comprises a release request notification step S115, a host exclusive exclusion release step S116, and an exclusive management end determination step S117.

【0023】排他管理手段1−1,2−1は、システム
あるいは端末1−5,2−5より常駐型として起動さ
れ、排他制御要求の受付け待ちと、排他管理手段終了
(常駐解除)の受付待ちと、他ホストからの排他制御要
求の受付け待ちとを行っている(ステップS101)。
排他管理手段1−1,2−1は、ジョブエントリシステ
ム1−6,2−6上でジョブ単位に起動されるジョブ制
御手段1−7,2−7により更新ジョブの開始処理出口
および終了処理出口にて呼び出され、自ホスト1,2あ
るいは他ホスト2,1から投入される更新ジョブの開始
処理出口では同期ファイル1−4,2−4の占有排他お
よび共有排他の実行管理を行い、更新ジョブの終了処理
出口では占有排他の解除管理を行う。また、排他管理手
段1−1,2−1は、排他管理手段1−1,2−1の制
御処理の最後で、自分自身の終了(常駐終了)を判断
し、終了の場合はすべての同期ファイル1−4,2−4
の排他を解除してから終了する(ステップS117)。
The exclusive management means 1-1 and 2-1 are started as a resident type by the system or the terminals 1-5 and 2-5, and wait for the reception of an exclusive control request and receive an end of the exclusive management means (release of resident). Waiting and waiting for an exclusive control request from another host are performed (step S101).
The exclusion managers 1-1 and 2-1 use the job control units 1-7 and 2-7 activated on a job-by-job basis on the job entry systems 1-6 and 2-6. Called at the exit, the start processing exit of the update job input from the own host 1, 2 or the other host 2, 1 performs execution management of exclusive exclusion and shared exclusion of the synchronization files 1-4, 2-4, and updates The job exit processing exit manages release of exclusive exclusion. At the end of the control process of the exclusion managers 1-1 and 2-1, the exclusion managers 1-1 and 2-1 determine their own end (resident end). File 1-4, 2-4
The process is terminated after the exclusion is released (step S117).

【0024】詳しくは、排他管理手段1−1,2−1
は、更新ジョブ毎に占有排他要求を受け付け(ステップ
Sl0l)、自ホスト1,2または他ホスト2,1の更
新ジョブの開始処理出口から要求を受け付けたことを判
断すると(ステップSl02でイエス)、自ホスト1,
2の同期定義1−2,2−2を参照して、各更新ジョブ
が更新する同期ファイル1−4,2−4を各ジョブの占
有排他の候補とする(ステップS103)。
More specifically, the exclusive management means 1-1, 2-1
Receives the exclusive exclusion request for each update job (step S101), and determines that a request has been received from the update job start processing exit of the own host 1, 2 or the other host 2, 1 (YES in step S102). Own host 1,
With reference to the second synchronization definitions 1-2 and 2-2, the synchronization files 1-4 and 2-4 updated by each update job are set as candidates for exclusive exclusion of each job (step S103).

【0025】次に、排他管理手段1−1,2−1は、更
新ジョブの開始処理出口から受け付けた占有排他要求が
他ホスト2,1からの占有排他要求であったかどうかを
判断し(ステップS104)、他ホスト2,1からの占
有排他要求であった場合は、自ホスト1,2の同期定義
1−2,2−2の更新ジョブの占有排他の侯補と他ホス
ト2,1から通知された他ホスト2,1での占有排他の
候補との不整合を検証し(ステップSl05)、不整合
があった場合は占有排他要求は失敗したものとして他ホ
スト2,1に占有排他要求失敗の通知を行う(ステップ
Sl06)。
Next, the exclusive management means 1-1 and 2-1 determine whether the exclusive exclusion request received from the update job start processing exit is an exclusive exclusion request from the other host 2 or 1 (step S104). If the request is an exclusive exclusion request from the other host 2, 1, the candidate of exclusive exclusion of the update job of the synchronization definition 1-2, 2-2 of the own host 1, 2-2 is notified from the other host 2, 1. The inconsistency with the candidate for exclusive exclusion in the other host 2 or 1 is verified (step S105). If there is a mismatch, the exclusive exclusion request is regarded as failed and the exclusive exclusion request to the other host 2 or 1 is failed. Is notified (step Sl06).

【0026】ステップS104で自ホスト1,2からの
占有排他要求であった場合、およびステップS105で
占有排他の候補の不整合がなかった場合には、排他管理
手段1−1,2−1は、自ホスト1,2の占有排他の候
補である同期ファイル1−4,2−4に対して占有排他
を要求し(ステップSl07)、占有排他要求が失敗し
た場合は、占有排他要求が自ホスト1,2からの占有排
他要求か他ホスト2,1からの占有排他要求かを判断し
て(ステップSl08)、自ホスト1,2からの占有排
他要求の場合は占有排他の競合として一定時間の資源待
ち合わせを行ってから(ステップS108’)、同期フ
ァイル1−4,2−4の占有排他の再要求を行う(ステ
ップSl07)。一方、他ホスト2,1からの占有排他
要求の場合は、排他管理手段1−1,2−1は、占有排
他要求失敗通知を他ホスト2,1に行う(ステップSl
08”)。
If the exclusive exclusion request is issued from the own host 1 or 2 in step S104, or if there is no inconsistency in the exclusive exclusion candidate in step S105, the exclusive management means 1-1 and 2-1 execute The exclusive exclusion request is made to the synchronous files 1-4 and 2-4 that are candidates for exclusive exclusion of the own hosts 1 and 2 (step Sl07). It is determined whether the request is an exclusive exclusion request from the host 1 or 2 or an exclusive exclusion request from the other host 2 or 1 (step S 108). After performing resource queuing (step S108 ′), re-request for exclusive exclusion of the synchronous files 1-4 and 2-4 is performed (step S107). On the other hand, in the case of the exclusive exclusion request from the other hosts 2 and 1, the exclusion managers 1-1 and 2-1 notify the other hosts 2 and 1 of the exclusive exclusion request failure (step Sl).
08 ").

【0027】ステップS107で占有排他要求が成功し
た場合には、排他管理手段1−1,2−1は、占有排他
要求が自ホスト1,2からの占有排他要求か他ホスト
2,1からの占有排他要求かを判断し(ステップSl0
9)、他ホスト2,1からの占有排他要求であった場合
は、他ホスト2,1に占有排他要求成功を通知する(ス
テップS114)。一方、占有排他要求が自ホスト1,
2からの占有排他要求であった場合は、他ホスト2,1
の排他管理手段2−1,1−1にも占有排他要求を通知
して要求結果を持ち合わせる(ステップSll0)。こ
のとき、待ち合わせは、ジョブ単位であるため、ジョブ
エントリシステム1−6,2−6は、他ジョブの受け付
けが可能である。要求結果の通知があると、排他管理手
段1−1,2−1は、他ホスト2,1での占有排他要求
結果を判定し(ステップSlll)、他ホスト2,1で
の同期ファイル1−4,2−4の占有排他が成功した場
合は自ホスト1,2の占有排他を共有排他に変えてペー
ジ排他による同期ファイル1−4,2−4の参照を可能
にする(ステップSl12)。
If the exclusive exclusion request succeeds in step S107, the exclusive management means 1-1, 2-1 determines whether the exclusive exclusion request is from the own host 1, 2 or the exclusive exclusion request from the other host 2, 1. It is determined whether the request is an exclusive exclusion request (step S10).
9) If the request is an exclusive exclusion request from another host 2, 1, the other host 2, 1 is notified of the success of the exclusive exclusion request (step S 114). On the other hand, the exclusive exclusion request
If the request is an exclusive exclusion request from other host 2, other hosts 2 and 1
The exclusive management means 2-1 and 1-1 are also notified of the exclusive exclusion request and have the request result (step S110). At this time, since the queuing is performed on a job basis, the job entry systems 1-6 and 2-6 can accept other jobs. Upon receiving the request result notification, the exclusive management means 1-1 and 2-1 determine the exclusive exclusion request result on the other host 2 or 1 (step Sll1), and the synchronous file 1- 1 on the other host 2 or 1 is determined. If the exclusive exclusion of the hosts 4 and 2-4 succeeds, the exclusive exclusion of the local hosts 1 and 2 is changed to the shared exclusion, and the synchronous files 1-4 and 2-4 can be referred to by the page exclusion (step S112).

【0028】ステップS111で他ホスト2,1での占
有排他要求結果により他ホスト2,1での同期ファイル
1−4,2−4の占有排他が失敗した場合は、排他管理
手段1−1,2−1は、自ホスト1,2での同期ファイ
ル1−4,2−4の占有排他を解除する(ステップSl
13)。
If the exclusive exclusion of the synchronous files 1-4 and 2-4 on the other hosts 2 and 1 has failed due to the result of the exclusive exclusion request on the other hosts 2 and 1 in step S111, the exclusive management means 1-1 and 1 2-1 releases the exclusive exclusion of the synchronous files 1-4 and 2-4 in the local hosts 1 and 2 (step Sl)
13).

【0029】更新ジョブ毎に占有排他解除要求を受け付
け(ステップSl0l)、自ホスト1,2または他ホス
ト2,1の更新ジョブの終了処理出口から占有排他解除
要求を受け付けたことを判断すると(ステップSl02
でノー)、排他管理手段1−1,2−1は、開始処理出
口で参照した自ホスト1,2の同期定義1−2,2−2
を参照して(ステップSl03’)、占有排他解除要求
が他ホスト2,1からの要求かどうかを判断する(ステ
ップS104’)。自ホスト1,2からの占有排他解除
要求の場合は、排他管理手段1−1,2−1は、他ホス
ト2,1への同期ファイル1−4,2−4の占有排他解
除要求通知を行った後で(ステップSl15)、自ホス
ト1,2での同期ファイル1−4,2−4の占有排他解
除要求を行う(ステップSl16)。一方、更新ジョブ
の開始処理出口から受け付けた排他制御要求が他ホスト
2,1からの占有排他解除要求の場合は、排他管理手段
1−1,2−1は、ステップSl15をスキップし、自
ホスト1,2での同期ファイル1−4,2−4の占有排
他解除要求を行う(ステップSl16)。
When the exclusive exclusion release request is received for each update job (step S101), when it is determined that the exclusive exclusion release request is received from the end processing exit of the update job of the own host 1, 2 or the other host 2, 1 (step S101). S102
No), the exclusion managers 1-1 and 2-1 perform synchronization definitions 1-2 and 2-2 of the local hosts 1 and 2 referred to at the start processing exit.
(Step S103 '), it is determined whether the exclusive exclusion release request is a request from the other host 2 or 1 (step S104'). In the case of the exclusive exclusion release request from the own hosts 1 and 2, the exclusion management means 1-1 and 2-1 notify the other hosts 2 and 1 of the exclusive exclusion release request notification of the synchronous files 1-4 and 2-4. After the execution (step S115), the exclusive exclusion release request of the synchronous files 1-4 and 2-4 in the local hosts 1 and 2 is performed (step S116). On the other hand, if the exclusive control request received from the start processing exit of the update job is an exclusive exclusion release request from another host 2 or 1, the exclusive management means 1-1 and 2-1 skips step S115 and returns to the local host. The exclusive exclusion release request of the synchronous files 1-4 and 2-4 is made in the steps 1 and 2 (step S116).

【0030】次に、このように構成された本実施例のフ
ァイル同期方式の動作について説明する。
Next, the operation of the thus configured file synchronization system of the present embodiment will be described.

【0031】なお、ここでは、ホスト1で更新ジョブ1
が投入され、図2に示す同期定義1−2,2−2に従っ
てホスト1,ホスト2間で同期ファイルF1,F2が同
期制御される場合を例にとって説明する。以下、ホスト
1をローカルホスト1と、ホスト2をリモートホスト2
と記述する。
Here, the update job 1 is executed by the host 1.
Will be described by way of example in which the synchronization files F1 and F2 are synchronously controlled between the host 1 and the host 2 according to the synchronization definitions 1-2 and 2-2 shown in FIG. Hereinafter, host 1 is a local host 1 and host 2 is a remote host 2.
It is described.

【0032】(1) まず、事前に同期定義1−2,2
−2に、更新ジョブ1に対して各ホスト1,2間でファ
イル内容の整合性を保つ必要のある同期ファイルF1,
F2をファイル名リストとして記述しておく。
(1) First, the synchronization definition 1-2, 2
-2, the synchronization files F1 and F1 that need to maintain the consistency of the file contents between the hosts 1 and 2 for the update job 1
F2 is described as a file name list.

【0033】(2) ローカルホスト1の端末1−5よ
り同期ファイルFl,F2を更新する更新ジョブlがジ
ョブエントリシステム1−6に投入されると、ジョブ制
御手段1−7のジョブ単位の開始処理出口で、排他管理
手段1−1は、同期定義1−2より更新ジョブlで更新
されローカルホスト1,リモートホスト2間で同期をと
る必要のある同期ファイルF1,F2のファイル名F
1,F2を検索して取得する(ステップS103)。
(2) When an update job 1 for updating the synchronization files F1 and F2 is input to the job entry system 1-6 from the terminal 1-5 of the local host 1, the job control unit 1-7 starts the job unit. At the processing exit, the exclusion management unit 1-1 updates the file names F1 and F2 of the synchronization files F1 and F2 that have been updated by the update job 1 from the synchronization definition 1-2 and need to be synchronized between the local host 1 and the remote host 2.
1 and F2 are retrieved and acquired (step S103).

【0034】(3) 続いて、排他管理手段1−1は、
同期定義1−2より取得したファイル名F1,F2に基
づいてローカルホスト1の同期ファイルF1,F2に占
有排他をかけた後に(ステップS107)、占有排他が
成功であれば、同じく同期定義1−2より取得したリモ
ートホスト2上の排他管理手段2−1に対してリモート
ホスト2の同期ファイルFl,F2の占有排他要求を通
知し、リモートホスト2での同期ファイルF1,F2の
占有排他要求の結果を待ち合わせる(ステップS11
0)。
(3) Subsequently, the exclusive management means 1-1
After exclusive exclusion is applied to the synchronous files F1 and F2 of the local host 1 based on the file names F1 and F2 obtained from the synchronous definition 1-2 (step S107), if the exclusive exclusion is successful, the synchronous definition 1- is also performed. Of the exclusive exclusion request of the synchronization files F1 and F2 of the remote host 2 to the exclusion management means 2-1 on the remote host 2 acquired from the remote host 2; Wait for the result (step S11
0).

【0035】(4) リモートホスト2の排他管理手段
2−lは、ローカルホスト1の排他管理手段1−1より
占有排他要求を受け取ると(ステップS101)、開始
処理出口であるので(ステップS102)、同期定義2
−2を参照して(ステップS103)、受け取った占有
排他要求のファイル名F1,F2と自ホスト2の同期定
義2−2における同期ファイル名F1,F2とを照らし
合わせて(ステップS105)、不整合があれば占有排
他要求失敗をローカルホスト1の排他管理手段1−1に
通知する(ステップS106)。また、同期ファイルF
1,F2の占有排他要求が同期ファイルF1,F2がす
でに他ジョブによって占有排他されていることにより失
敗した場合は(ステップS107で失敗)、排他管理手
段2−lは、同期ファイルF1,F2の資源待ち合わせ
をローカルホスト1の排他管理手段1−1に通知する
(ステップS108’)。その他、異常は異常終了とし
て排他管理手段1−1に通知する(ステップS10
8”)。ステップS107でリモートホスト2の同期フ
ァイルFl,F2の占有排他が成功したならば、排他管
理手段2−lは、ローカルホスト1の排他管理手段1−
1に占有排他要求の成功を通知する(ステップS11
4)。
(4) Upon receiving the exclusive exclusion request from the exclusion manager 1-1 of the local host 1 (step S101), the exclusion manager 2-1 of the remote host 2 is the start processing exit (step S102). , Synchronization definition 2
-2 (step S103), the file names F1 and F2 of the received exclusive exclusion request are compared with the synchronous file names F1 and F2 in the synchronization definition 2-2 of the host 2 (step S105). If there is a match, the exclusive exclusion request failure is notified to the exclusion manager 1-1 of the local host 1 (step S106). Synchronous file F
If the exclusive exclusion request of the synchronous files F1 and F2 has failed because the synchronous files F1 and F2 have already been occupied and exclusive by other jobs (failure in step S107), the exclusive management unit 2-1 executes The resource queuing is notified to the exclusive management means 1-1 of the local host 1 (step S108 '). In addition, the abnormality is notified to the exclusive management unit 1-1 as abnormal termination (step S10).
8 ″). If the exclusive exclusion of the synchronization files F1 and F2 of the remote host 2 succeeds in step S107, the exclusion management unit 2-1 executes the exclusion management unit 1-1 of the local host 1.
1 is notified of the success of the exclusive exclusion request (step S11).
4).

【0036】(5) ローカルホスト1の排他管理手段
1−1は、リモートホスト2の排他管理手段2−1に対
する同期ファイルFl,F2の占有排他要求の結果を待
ち合わせており(ステップS110)、同期ファイルF
l,F2の占有排他の成功通知を受けた場合は(ステッ
プS111でイエス)、ローカルホスト1の同期ファイ
ルFl,F2の占有排他を共有排他に変えてページ排他
によるローカルホスト1内での同期ファイルFl,F2
の参照を可能にして(ステップS112)、同期ファイ
ルFl,F2の更新処理を実行可能とする。一方、同期
ファイルFl,F2の占有排他の失敗通知を受けた場合
は、排他管理手段1−1は、ローカルホスト1の同期フ
ァイルFl,F2の占有排他を解除し(ステップS11
3)、排他制御要求の受付待ち(ステップS101)に
戻る。排他制御手段1−1からジョブエントリシステム
1−6に制御を戻されたローカルホスト1の更新ジョブ
1は、ジョブエントリシステム1−6にてスケジュール
待ちとなり、同期定義不整合の通知やその他の異常終了
の通知を受けた場合は、ローカルホスト1の更新ジョブ
1は異常終了する。
(5) The exclusion manager 1-1 of the local host 1 waits for the result of the exclusive exclusion request of the synchronous files F1 and F2 to the exclusion manager 2-1 of the remote host 2 (step S110). File F
When the success notification of the exclusive exclusion of the local files 1 and F2 is received (Yes in step S111), the exclusive exclusion of the synchronous files F1 and F2 of the local host 1 is changed to the shared exclusive and the synchronous file in the local host 1 by the page exclusion. Fl, F2
(Step S112), and the update processing of the synchronization files F1 and F2 can be executed. On the other hand, when the exclusive management unit 1-1 receives the notification of the failure of the exclusive exclusion of the synchronous files F1 and F2, the exclusive management unit 1-1 releases the exclusive exclusion of the synchronous files F1 and F2 of the local host 1 (step S11).
3), the process returns to waiting for reception of an exclusive control request (step S101). The update job 1 of the local host 1 whose control has been returned from the exclusive control unit 1-1 to the job entry system 1-6 waits for a schedule in the job entry system 1-6, and is notified of synchronization definition mismatch and other abnormalities. When the end job is notified, the update job 1 of the local host 1 ends abnormally.

【0037】(6) ローカルホスト1での更新ジョブ
1による同期ファイルFl,F2の更新処理の終了また
は更新ジョブ1の異常終了を受けて、ジョブ制御手段1
−7の更新ジョブ1の終了処理出口にて、ファイル転送
手段1−3は、同期定義1−2に従ったホスト名HOS
T1,HOST2とファイル名リストF1,F2との組
を参照してローカルホスト1の同期ファイルFl,F2
をリモートホスト2に転送コピーしてリモートホスト2
に対して非同期更新処理を行い、ローカルホスト1とリ
モートホスト2との同期ファイルFl,F2のファイル
内容の整合性をとる。
(6) In response to the end of the update processing of the synchronization files Fl and F2 by the update job 1 on the local host 1 or the abnormal end of the update job 1, the job control means 1
At the exit processing exit of the update job 1 of -7, the file transfer means 1-3 executes the host name HOS according to the synchronization definition 1-2.
Referring to a set of T1, HOST2 and file name lists F1, F2, synchronous files F1, F2 of local host 1
Is transferred and copied to the remote host 2.
Perform the asynchronous update process on the local host 1 and the remote host 2 so that the file contents of the synchronous files F1 and F2 are consistent.

【0038】(7) 続いて、排他管理手段1−1は、
同じくローカルホスト1の更新ジョブ1の終了処理出口
にて、ファイル転送手段1−3による同期ファイルF
l,F2の転送完了を受けて、リモートホスト2の排他
管理手段2−1に対して占有排他解除要求を通知した後
(ステップS115)、ローカルホスト1での同期ファ
イルFl,F2の占有排他を解除する(ステップS11
6)。
(7) Subsequently, the exclusive management means 1-1
Similarly, at the end processing exit of the update job 1 of the local host 1, the synchronization file F by the file transfer means 1-3 is output.
In response to the completion of the transfer of l and F2, the exclusive management unit 2-1 of the remote host 2 is notified of the exclusive exclusion release request (step S115), and then the exclusive exclusion of the synchronous files Fl and F2 on the local host 1 is performed. Release (step S11)
6).

【0039】以上の処理により、あらかじめ同期定義1
−2,2−2に同期をとりたいホスト名とファイル名リ
ストとの組をジョブ単位に定義しておけば、非同期更新
処理が各ホストの同期ファイルに対して行われ、ホスト
1,2間で同期ファイル1−4,2−4のファイル内容
の整合性をとることができる。
By the above processing, the synchronization definition 1
If a set of a host name and a file name list to be synchronized with each other is defined for each job, the asynchronous update process is performed on the synchronous file of each host, and Thus, the file contents of the synchronous files 1-4 and 2-4 can be made consistent.

【0040】なお、リモートホスト1とローカルホスト
2とは入れ替えることが可能であり、またホストが3台
以上存在する場合でも本発明が同様には成り立つことは
いうまでもない。
It is needless to say that the remote host 1 and the local host 2 can be interchanged, and that the present invention can be similarly applied to a case where there are three or more hosts.

【0041】[0041]

【発明の効果】以上説明したように本発明は、任意のホ
ストからの同期ファイルの更新処理終了後に各ホストの
同期定義に従ってファイル転送処理により他ホストの同
期ファイルを非同期更新処理することで複数ホスト間で
同期ファイルのファイル内容の整合性をとるとともに、
各ホストの同期定義に従ってジョブ単位の同期ファイル
の占有排他制御を行うことで他ホストでの同期ファイル
の占有排他と自ホスト内での同期ファイルの参照とを可
能にするようにしたことにより、従来、管理者が努力し
て各ホスト間における同期ファイルのファイル内容の整
合性を保つ必要があったものを、容易に同期をとって同
期ファイルの一元管理を行うことができるという効果が
ある。
As described above, according to the present invention, a synchronous file of another host is asynchronously updated by a file transfer process according to the synchronization definition of each host after the update process of the synchronous file from an arbitrary host is completed. The consistency of the file content of the sync file between
Conventionally, exclusive exclusion control of a synchronization file on another host and reference of the synchronization file on the local host are enabled by performing exclusive exclusion control of the synchronization file for each job according to the synchronization definition of each host. However, it is possible to easily perform synchronization and perform centralized management of the synchronization file, in which the administrator has to work hard to maintain the consistency of the file contents of the synchronization file between the hosts.

【0042】また、同期ファイルは各ホスト固有のロー
カルファイルでなるので、ホスト内での占有排他により
同時更新の危険性は排除され、各ホストの同期定義に従
ってジョブ単位の占有排他を行うことで他ホストでの同
期ファイルの占有排他と自ホスト内での同期ファイルの
参照とが可能となり、任意のホストからの更新ジョブが
同期ファイルを更新することによるファイル転送時のホ
スト間でのデッドロックも防止することができるという
効果がある。特に、多量のレコードを持つ同期ファイル
に対して検索処理を行う場合においては、複数のホスト
による処理の分散化が期待できる。
Since the synchronization file is a local file unique to each host, the risk of simultaneous update is eliminated by exclusive occupation in the host, and exclusive exclusion is performed by job unit according to the synchronization definition of each host. The exclusive exclusion of the synchronization file on the host and the reference of the synchronization file within the local host are enabled, and the update job from any host updates the synchronization file, preventing deadlock between hosts during file transfer. There is an effect that can be. In particular, when a search process is performed on a synchronous file having a large number of records, it is expected that the processing will be distributed by a plurality of hosts.

【0043】なお、同期定義にてホスト単位に任意のフ
ァイル名を指定できるため、各ホスト間での同期ファイ
ルのファイル内容の整合性を求める同期ファイルが(も
ちろん非同期ファイルも)容易に設定可能であるという
利点がある。
Since an arbitrary file name can be specified for each host in the synchronization definition, a synchronization file (of course, an asynchronous file) which requires consistency of the file contents of the synchronization file between the hosts can be easily set. There is an advantage that there is.

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

【図1】本発明の一実施例に係るファイル同期方式の構
成を示すを示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a file synchronization system according to an embodiment of the present invention.

【図2】図1中の同期定義の内容を示す図である。FIG. 2 is a diagram showing the contents of a synchronization definition in FIG. 1;

【図3】図1中の排他管理手段の処理を示す流れ図であ
る。
FIG. 3 is a flowchart showing a process of an exclusive management unit in FIG. 1;

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

1,2 ホスト 1−2,2−2 同期定義 1−3,2−3 ファイル転送手段 1−4,2−4 ローカルファイル 1−5,2−5 端末 1−6,2−6 ジョブエントリシステム 1−7,2−7 ジョブ制御手段 1, 2 Host 1-2, 2-2 Synchronous definition 1-3, 2-3 File transfer means 1-4, 2-4 Local file 1-5, 2-5 Terminal 1-6, 2-6 Job entry system 1-7, 2-7 Job control means

フロントページの続き (56)参考文献 特開 平7−141241(JP,A) 特開 平7−36763(JP,A) 特開 平6−259302(JP,A) 特開 平4−195558(JP,A) 特開 平3−202935(JP,A) ビル・クレイルブック著,信国 弘毅 訳,”OLTP オンライントランザク ション処理システム”,富士ソフトウエ ア,1994年,P.277−306Continuation of the front page (56) References JP-A-7-141241 (JP, A) JP-A-7-36763 (JP, A) JP-A-6-259302 (JP, A) JP-A-4-195558 (JP) , A) JP-A-3-202935 (JP, A) Bill Crail Book, translated by Hirotake Shinkoku, "OLTP Online Transaction Processing System", Fuji Software, 1994, p. 277-306

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 疎結合マルチホスト構成システムにおい
て、 ホスト名と同期ファイルのファイル名リストとの組をジ
ョブ単位に記述する同期定義と、 各ホストでのジョブの投入を受け付け、ジョブ単位の開
始処理の結果によりジョブの実行開始および再スケジュ
ールを制御するジョブエントリシステムと、 このジョブエントリシステムより起動される各ジョブ単
位にジョブ利用資源を管理し、各ジョブ単位の開始処理
出口および終了処理出口をもつジョブ制御手段と、 このジョブ制御手段の更新ジョブの開始処理出口にて自
ホストの同期定義に従って同期ファイルを更新ジョブの
占有排他とし、他ホストの排他管理手段にも同期ファイ
ルの占有排他要求を通知して要求結果を待ち合わせ、他
ホストでの同期ファイルの占有排他が成功した場合は自
ホストでの同期ファイルの占有排他を共有排他に変えて
同期ファイルの参照を可能にし、前記ジョブ制御手段の
更新ジョブの終了処理出口にて自ホストの同期定義に従
って同期ファイルに対して他ホストの排他管理手段に同
期ファイルの占有排他解除要求を通知してから自ホスト
での同期ファイルの占有排他解除を行う排他管理手段
と、 前記ジョブ制御手段の更新ジョブの終了処理出口にて自
ホストの同期定義に従って自ホストで更新済みの同期フ
ァイルを他ホストに転送コピーして他ホストでの同期フ
ァイルの非同期更新処理を行うファイル転送手段とを有
することを特徴とするファイル同期方式。
In a loosely-coupled multi-host configuration system, a synchronization definition that describes a set of a host name and a file name list of a synchronization file in a unit of a job, accepts a job submission in each host, and starts processing in a unit of a job A job entry system that controls the start and rescheduling of a job according to the result of the above, a job use resource is managed for each job started by the job entry system, and a start processing exit and an end processing exit for each job are provided. At the job processing means and at the start processing exit of the update job of the job control means, the synchronous file is exclusively occupied by the update job according to the synchronization definition of the own host, and the exclusive management means of the other host is notified of the exclusive exclusion request of the synchronous file. Waits for the result of the request, and if the exclusive Changes the exclusive exclusion of the synchronous file on the own host to the shared exclusion and enables the synchronous file to be referred to. The exclusive management means for notifying the exclusive management means of the synchronous file of the exclusive exclusion release request of the synchronous file and then releasing the exclusive exclusion of the synchronous file on the own host; A file transfer means for transferring and copying a synchronous file updated on its own host to another host in accordance with a synchronization definition and performing asynchronous update processing of the synchronous file on another host.
【請求項2】 前記同期定義がメモリ展開およびファイ
ル記述ともに可能で、前記同期定義をファイルとした場
合は同期定義ファイル自身も同期定義のファイル名リス
トに登録可能である請求項1記載のファイル同期方式。
2. The file synchronization according to claim 1, wherein the synchronization definition is capable of both memory expansion and file description, and when the synchronization definition is a file, the synchronization definition file itself can be registered in a file name list of the synchronization definition. method.
JP7234714A 1995-08-21 1995-08-21 File synchronization method Expired - Lifetime JP2701806B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7234714A JP2701806B2 (en) 1995-08-21 1995-08-21 File synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7234714A JP2701806B2 (en) 1995-08-21 1995-08-21 File synchronization method

Publications (2)

Publication Number Publication Date
JPH0962556A JPH0962556A (en) 1997-03-07
JP2701806B2 true JP2701806B2 (en) 1998-01-21

Family

ID=16975233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7234714A Expired - Lifetime JP2701806B2 (en) 1995-08-21 1995-08-21 File synchronization method

Country Status (1)

Country Link
JP (1) JP2701806B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11249943A (en) * 1998-03-03 1999-09-17 Nec Corp Method and system for synchronous management of distributed data base
JP2000066941A (en) * 1998-08-25 2000-03-03 Nec Corp Method and system for updating distributed file
JP3787472B2 (en) * 1999-11-12 2006-06-21 信越半導体株式会社 Silicon wafer, method for manufacturing the same, and method for evaluating silicon wafer
JP4672931B2 (en) * 2001-09-07 2011-04-20 株式会社日立製作所 Remote file sharing method, apparatus and system thereof
US8788589B2 (en) 2007-10-12 2014-07-22 Watchitoo, Inc. System and method for coordinating simultaneous edits of shared digital data
US10552384B2 (en) 2008-05-12 2020-02-04 Blackberry Limited Synchronizing media files available from multiple sources
US8706690B2 (en) 2008-05-12 2014-04-22 Blackberry Limited Systems and methods for space management in file systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ビル・クレイルブック著,信国 弘毅訳,"OLTP オンライントランザクション処理システム",富士ソフトウエア,1994年,P.277−306

Also Published As

Publication number Publication date
JPH0962556A (en) 1997-03-07

Similar Documents

Publication Publication Date Title
JP4187302B2 (en) Relational database synchronization method and recording medium recording the program
US5434994A (en) System and method for maintaining replicated data coherency in a data processing system
JP3088269B2 (en) Computer network system and operating system version management method
US20090049107A1 (en) Method and System of Database Management for Replica Database
JP4291060B2 (en) Transaction processing method, transaction control device, and transaction control program
EP1326184A2 (en) Conflict resolution for collaborative work system
US20170054802A1 (en) Read-after-write consistency in data replication
JPH0131216B2 (en)
JPH04232545A (en) System and apparatus for achieving agreement of writing time for distributed type computer database
JP4136615B2 (en) Database system and database access method
JP2701806B2 (en) File synchronization method
JP3042600B2 (en) Distributed file synchronization method
WO2018010603A1 (en) Storage mode upgrade method, apparatus and system based on video cloud storage system
US10740320B2 (en) Systems and methods of operation lock management and system catalog overrides in database systems
US20060123069A1 (en) Method and system for deferred synchronisation of data
CN115185966A (en) Method and device for processing data consistency in distributed cluster
JP2830826B2 (en) Distributed file synchronization system and method
JP2001067257A (en) Inter-distributed node exclusive updating device
US10754710B1 (en) Transactional watch mechanism
JP3077669B2 (en) Process Stop Method for Distributed Memory Multiprocessor System
JPH09231180A (en) Server dividing method
JPS63178358A (en) Down-load processing system
JP2003280933A (en) N-multiplexed system for resource management process
US11269922B2 (en) Database server, database management method, and storage medium
JP2000082005A (en) Data processing system for inter-system data base sharing system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071003

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101003

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 15