JPH0991184A - Drawing system - Google Patents

Drawing system

Info

Publication number
JPH0991184A
JPH0991184A JP7245783A JP24578395A JPH0991184A JP H0991184 A JPH0991184 A JP H0991184A JP 7245783 A JP7245783 A JP 7245783A JP 24578395 A JP24578395 A JP 24578395A JP H0991184 A JPH0991184 A JP H0991184A
Authority
JP
Japan
Prior art keywords
update
client
server
processing
updating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP7245783A
Other languages
Japanese (ja)
Inventor
Yukio Fukumoto
幸雄 福本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP7245783A priority Critical patent/JPH0991184A/en
Publication of JPH0991184A publication Critical patent/JPH0991184A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To perform an updating job in a client even during the suspension of a server relating to a drawing system in which updating is performed from the plural clients to the same record. SOLUTION: This drawing system is provided with drawing data bases 20 and 10 along with the server 2 and the plural clients 1. Updating processings in the respective clients 1 during the suspension of the server 2 are updated with a processing to plural updating elements in the record as a unit. When updating data in the respective clients 1 are concentrated while the server 2 is operated, all updating in the other clients 1 to the updating element of the early processing time in the certain client 1 is invalidated and all the processing for updating the same element as the element updated in the invalidated processing are invalidated in the client 1 which executed the invalidated processing. The drawing data base 20 of the server 2 is updated by the updating data 11 and 21 by valid processings and the updated data base 20 is distributed to the respective clients 1.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のオフライン
クランアント{例えば、ワークステーション(WS)}によ
り、図面、例えば、地図を更新する図面システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing system for updating a drawing, for example, a map, by a plurality of offline clients {for example, workstation (WS)}.

【0002】図面システムは、図面データを共用するこ
とが多いため、サーバで一括管理することが多い。然
し、エンドユーザが行う更新業務は、出張所などの出先
事業所で行われることが多く、しかも通常業務の終わっ
た夜間や休日に行われることが多い。然し、サーバの運
用時間は限られているため、オフライン時でも、各クラ
イアントで上記共用している図面データを更新できるこ
とが要求される。
Since a drawing system often shares drawing data, it is often managed collectively by a server. However, the update work performed by the end user is often performed at a branch office such as a branch office, and is often performed at night or on a holiday when the normal work is finished. However, since the operation time of the server is limited, it is required that each client can update the drawing data shared by each client even when offline.

【0003】[0003]

【従来の技術】図3は、従来の図面システムを説明する
図であり、図3(a) は、遠隔地のサーバファイルを直接
更新する場合を示し、図3(b) は、遠隔地のサーバから
図面データをダウンロードして更新する場合を示してい
る。
2. Description of the Related Art FIG. 3 is a diagram for explaining a conventional drawing system. FIG. 3 (a) shows a case where a server file at a remote place is directly updated, and FIG. 3 (b) shows a remote place. The case where the drawing data is downloaded from the server and updated is shown.

【0004】(1) 先ず、遠隔地のサーバファイルを直接
更新する場合は、図3(a) に示されているように、遠隔
地のクライアント{ワークステーション (以下、WSとい
うことがある) }1 同士を高速回線で結び、完全なクラ
イアント−サーバとして、ローカルエリアネットワーク
(LAN) を構築する。
(1) First, in the case of directly updating a server file at a remote location, as shown in FIG. 3 (a), a client at a remote location {workstation (hereinafter sometimes referred to as WS)} A local area network as a complete client-server by connecting one to another with a high-speed line
Build a (LAN).

【0005】そして、該遠隔地のクライアント(WS) 1か
らサーバ 2の地図データファイル 20 を直接アクセスし
て、図面単位、又は、その一部のデータを図示していな
い主記憶装置に読み取り、所定の更新をした後、該地図
データファイル 20 に戻すようにする。このとき、該ク
ライアント(WS) 1がアクセスしている図面単位の領域を
他のクライアント(WS) 1が更新するこができないように
排他制御することで、該地図データファイル 20 の内容
を保証することができる。
Then, the map data file 20 of the server 2 is directly accessed from the remote client (WS) 1 to read the drawing unit or a part of the data into a main storage device (not shown), and a predetermined memory is read. After updating, restore the map data file 20. At this time, the contents of the map data file 20 are guaranteed by exclusively controlling the area of the drawing unit accessed by the client (WS) 1 so that another client (WS) 1 cannot update it. be able to.

【0006】(2) 次に、遠隔地のサーバから図面データ
をダウンロードして更新する場合は、図3(b) に示され
ているように、クライアント(WS) 1は、例えば、版数を
指定して、更新したい図面のみを、サーバ 2の地図デー
タファイル 20 から、自己の地図データファイル 10 に
ダウンロードして更新する。更新が完了した図面に、更
新版数を付与して、サーバ 2の地図データファイル 20
に転送する。
(2) Next, when the drawing data is downloaded from a remote server and updated, as shown in FIG. 3 (b), the client (WS) 1 determines the version number, for example. Specify and update only the drawing you want to update from the map data file 20 of server 2 to your own map data file 10. Add the updated version number to the drawing that has been updated,
Transfer to.

【0007】従って、各クライアント(WS) 1は、自己の
地図データファイル 10 に格納されている図面の版数
と、今、更新しようとする図面の版数とが同じであれ
ば、サーバ 2から該版数の図面をダウンロードすること
なく、自己の地図データファイル10 内の該当の図面を
更新することができる。
Therefore, if each client (WS) 1 has the same version number of the drawing stored in its own map data file 10 and the version number of the drawing to be updated now, the client (WS) 1 receives from the server 2 The corresponding drawing in the self map data file 10 can be updated without downloading the drawing of the version number.

【0008】[0008]

【発明が解決しようとする課題】従って、(1) の遠隔地
のサーバファイルを直接更新する方法では、遠隔地のク
ライアント(WS) 1から、サーバ 2の地図データファイル
20 を直接更新することができ、且つ排他制御も完全な
形で行えることから、最も、理想的な方法と言える。
Therefore, in the method (1) of directly updating the remote server file, the remote client (WS) 1 sends the map data file of the server 2 to
It is the most ideal method because 20 can be updated directly and exclusive control can be performed in a perfect form.

【0009】然し、この方法では、前述のように、高速
な回線が必要となり、回線経費が嵩む問題があった。
又、サーバ 2が休止中は、全てのクライアント(WS) 1
も、更新処理を休止せざるを得ないという問題があっ
た。
However, with this method, as described above, a high-speed line is required, and there is a problem that the line cost increases.
Also, while the server 2 is idle, all clients (WS) 1
However, there was a problem that the update process had to be stopped.

【0010】又、(2) の遠隔地のサーバから図面データ
をダウンロードして更新する方法では、比較的低速な回
線でも利用でき、回線経費が安くする利点がある反面、
地図の大量データ (約1MB/図面)をダウンロードす
るのに時間がかかり、レスポンスが悪化するという問題
があった。又、サーバ 2が休止中には、該当の図面を更
新することができないという問題があった。
The method (2) of downloading drawing data from a remote server and updating the drawing data has the advantage of being able to use even a relatively low speed line and reducing the line cost.
There was a problem that it took time to download a large amount of map data (about 1MB / drawing) and the response deteriorated. In addition, there is a problem that the corresponding drawing cannot be updated while the server 2 is at rest.

【0011】又、類似の技術として、特開昭64-21622号
公報「ローカル画面ページング方式」に開示されている
技術がある。この技術では、要約すると、「連続した画
面のデータを端末に接続される二次記憶媒体上のファイ
ルに登録し、そこから画面を読込んで表示させ、終了キ
ーが押下されたならば、ホスト側に一括して画面データ
を送出する」ことで、回線の負荷の軽減、回線効率の向
上、ならびに処理時間の短縮を図るものであり、前述の
(2) に対応し、ホスト (サーバ) が休止中は、端末での
図面データの更新ができないという問題がある。
As a similar technique, there is a technique disclosed in JP-A-64-21622, "Local screen paging system". In this technology, in summary, "Register continuous screen data to a file on the secondary storage medium connected to the terminal, read the screen from there, and display it. If the end key is pressed, the host side By sending the screen data to all at once ", the load of the line is reduced, the line efficiency is improved, and the processing time is shortened.
Corresponding to (2), there is a problem that drawing data cannot be updated on the terminal while the host (server) is idle.

【0012】又、他の類似の技術として、本願出願人が
先願している特開平4-349574号公報「地図データ管理方
式」に開示されている技術がある。この技術は、要約す
ると、「複数の端末を回線を介して、ホストと接続し、
端末の版数チェック部が参照対象の地図番号をキーに自
己の持つ版数をホストに通知して、版数が異なるときの
み、新しい版数および地図データの送信を受けて、自己
が持つ地図データを最新に更新する」ようにしたもので
あり、これも、前述の(2) の方式に対応し、ホスト (サ
ーバ) が休止中は、端末での図面データの更新ができな
いという問題がある。
As another similar technique, there is a technique disclosed in Japanese Unexamined Patent Publication No. 4-349574, "Map Data Management System", which the applicant of the present application filed earlier. This technology can be summarized as "Connecting multiple terminals to a host via a line,
The version check unit of the terminal notifies the host of its own version number using the map number of the reference target as a key, and only when the version number is different, the new version number and map data are sent, and the map Update data to the latest ". This also corresponds to the method of (2) above, and there is a problem that drawing data cannot be updated on the terminal while the host (server) is idle. .

【0013】又、他の類似の技術として、本願出願人が
先願している特開平4-349575号公報「端末DB最新管理
方式」に開示されている技術がある。この技術は、要約
すると、「複数の端末を、回線を介してホストに接続
し、所定時刻あるいはホストからの指示に対応して、配
信定義ファイルに定義されていに地図番号以外の地図番
号の地図データを削除すると共に、定義されている地図
番号の地図の現在の端末版数を、回線を介してホストに
通知し、端末版数がホストの版数よりも古いときに、最
新の地図データとホスト版数を、該回線を介して端末に
転送し、端末DBを最新に更新する」ようにしたもの
で、この技術も、前述の(2) に対応し、ホスト (サー
バ) が休止中は、端末での図面データの更新ができない
という問題がある。
As another similar technique, there is a technique disclosed in Japanese Unexamined Patent Publication No. 4-349575, "Terminal DB latest management system", which the applicant of the present application filed earlier. This technology can be summarized as follows: "Connecting multiple terminals to a host via a line, and responding to instructions from the host at a predetermined time or at a map number other than the map number defined in the distribution definition file. While deleting the data, notify the host of the current terminal version of the map of the defined map number via the line, and when the terminal version is older than the version of the host, the latest map data and The host version is transferred to the terminal via the line and the terminal DB is updated to the latest ". This technology also corresponds to (2) above, and when the host (server) is idle There is a problem that the drawing data cannot be updated on the terminal.

【0014】いずれの方法を見ても、サーバ(ホスト)
が休止中の夜間・休日に、クライアント(端末)で地図
の更新を行うことができず、地図更新業務に時間的制約
を加えるという問題があった。
Whichever method is used, the server (host)
There was a problem that the client (terminal) could not update the map during the nights and holidays during which the service was suspended, which imposes time constraints on the map update work.

【0015】本発明は上記従来の欠点に鑑み、サーバ休
止中での各クライアントでの更新を、更新要素単位で行
い、その更新結果を、サーバの稼働中に読み取り、サー
バで更新要素単位の排他制御を行うことで、サーバ休止
中でのクライアントでの更新業務を行うことができる図
面システムを提供することを目的とするものである。
In view of the above-mentioned conventional drawbacks, the present invention updates each client while the server is inactive for each update element, reads the update result while the server is operating, and locks the update element by the server. An object of the present invention is to provide a drawing system capable of performing update work on a client while the server is idle by performing control.

【0016】[0016]

【課題を解決するための手段】図1,図2は、本発明の
一実施例を示した図であり、図1は、本発明の図面シス
テムの構成例を時系列的に示しており、図2は、サーバ
で更新要素単位の排他制御を行う例を示している。上記
の問題点は下記の如くに構成した図面システムによって
解決される。
1 and 2 are views showing an embodiment of the present invention, and FIG. 1 shows a configuration example of a drawing system of the present invention in time series. FIG. 2 shows an example in which the server performs exclusive control in update element units. The above problems can be solved by the drawing system configured as follows.

【0017】(1) サーバ 2、複数のクライアント(WS) 1
共に、図面データベース(DB) (地図データファイル) 1
0,20 を持ち、同一のレコードに対して、複数のクライ
アント(WS) 1から更新処理が行われる図面システムであ
って、サーバ 2の休止中での、各クライアント(WS) 1で
の更新処理を、上記レコード中の複数個の更新要素 a1,
a2, 〜に対する処理を単位として更新する手段と、サー
バ 2が稼働時に、上記各クライアント(WS) 1での更新デ
ータを集信したとき、上記更新要素 a1,a2, 〜単位で所
定の排他処理を行って、自己の図面データベース(DB)
(地図データファイル) 20を更新し、該更新された図面
データを各クライアント(WS) 1に配信する手段とを備え
るように構成する。
(1) Server 2, multiple clients (WS) 1
Together, drawing database (DB) (map data file) 1
A drawing system that has 0, 20 and the same record is updated from multiple clients (WS) 1, and the update process in each client (WS) 1 while the server 2 is idle , Multiple update elements a1,
A means for updating the processing for a2, ... as a unit, and when the server 2 is operating, when the update data of each client (WS) 1 is collected, a predetermined exclusive processing is performed for each of the update elements a1, a2, ... Do your own drawing database (DB)
(Map data file) 20 is updated, and means for delivering the updated drawing data to each client (WS) 1 is provided.

【0018】(2) 上記(1) 項に記載の排他処理として、
あるクライアント(WS) 1での処理時刻 t1 の早い更新要
素 a1,a2, 〜に対する、他のクライアント(WS) 1での更
新を全て無効とする処理と、該無効となった処理を実行
したクライアント(WS) 1で、該無効となった処理(T1)で
更新した要素 a1,a2, 〜と同じ要素(a3)を更新している
処理(T2)を全て無効とする処理と、からなるように構成
する。
(2) As the exclusive processing described in the above item (1),
A process that invalidates all the updates by other client (WS) 1 for the early update elements a1, a2, ... of processing time t1 in a client (WS) 1, and the client that executed the invalid process (WS) 1 consists of a process that invalidates all processes (T2) that update the same element (a3) as the elements a1, a2, ... updated by the invalid process (T1). To configure.

【0019】即ち、図1に示した図面システムにおい
て、通常の運用時では、サーバ 2, クライアント(WS) 1
共に、地図データベース(DB) (地図データファイル) 2
0,10 を持ち、更新履歴を出力する。このため、サーバ
2が休止中でも、各クライアント(WS) 1で更新すること
ができ、ユーザにとってメリットがある。
That is, in the drawing system shown in FIG. 1, during normal operation, the server 2 and the client (WS) 1
Together, map database (DB) (map data file) 2
It has 0 and 10 and outputs the update history. Because of this, the server
Even if 2 is dormant, it can be updated by each client (WS) 1, which is beneficial to the user.

【0020】然しながら、サーバ 2が休止中では、オフ
ライン処理となるため、排他情報を持つことができず、
同一のレコード (図面) に対する複数のクライアント(W
S) 1での更新処理に対して、排他制御を行うことができ
ない。
However, since the offline processing is performed while the server 2 is inactive, it cannot hold exclusive information.
Multiple clients (W) for the same record (drawing)
S) Exclusive control cannot be performed for the update process in 1.

【0021】そこで、本発明の図面システムでは、図2
(a) に示されているように、レコード(図面)中の更新
要素 a1 に対して、クライアント(WS)A 1が、図示され
ている a1'の如き更新を行ったとすると、図2(b) に示
されているように、他のクライアント(WS)B 1が、同じ
更新要素 a1 に対する更新処理、具体的には、該更新要
素 a1 と、該更新要素 a1 と繋がっている更新要素 a3
に対する更新処理{この更新要素 a1 に対する更新開始
から、該更新要素 a1 と繋がっている更新要素a3,〜
に対する更新処理が終了するまでの一連の更新処理を、
ここでは、トランザクションと言う}を、サーバ 2での
集信処理において全て無効とすることで、クライアント
(WS)A 1での更新処理(a1 → a1') のみを有効とするこ
とができ、各クライアント(WS) 1でのオフラインで行わ
れた更新処理の矛盾を無くすことができる。
Therefore, in the drawing system of the present invention, FIG.
As shown in FIG. 2A, if the client (WS) A 1 updates the update element a1 in the record (drawing) as shown in FIG. ), The other client (WS) B 1 performs the update process for the same update element a1, specifically, the update element a1 and the update element a3 connected to the update element a1.
Update process for {update element a1, update element a3 connected to update element a1 from start of update,
A series of update process until the update process for
Here, by saying "Transaction", the client 2
Only the update process (a1 → a1 ′) in (WS) A 1 can be validated, and the inconsistency of the update process performed offline in each client (WS) 1 can be eliminated.

【0022】又、図2(b) に示されているように、上記
無効となったトランザクション T1を実行したクライア
ント(WS)B 1において、該無効となったトランザクショ
ン T1 内で更新した要素 a3 と同じ更新要素 a3 を更新
している更新処理、具体的には、図2(b) において、更
新要素 a3 と a4,〜とを更新している処理 (トランザク
ション T2)は全て無効とすることで、図2(c) に示され
ている更新結果、即ち、クライアント(WS)A 1で行った
更新処理のみを有効とした結果を得ることができ、各ク
ライアント(WS) 1がオフラインで行った更新処理を、矛
盾のないものにすることができる。
Further, as shown in FIG. 2B, in the client (WS) B 1 which has executed the invalidated transaction T1, the element a3 updated in the invalidated transaction T1 and By updating all the update processing that updates the same update element a3, specifically, the processing that updates update elements a3 and a4, ... (transaction T2) in FIG. 2 (b), It is possible to obtain the update result shown in FIG. 2 (c), that is, the result of validating only the update processing performed by the client (WS) A 1, and the update performed by each client (WS) 1 offline. The process can be consistent.

【0023】[0023]

【発明の実施の形態】以下本発明の実施例を図面によっ
て詳述する。前述の図1,図2が、本発明の一実施例を
示した図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 and FIG. 2 are views showing an embodiment of the present invention.

【0024】本発明においては、サーバ 2、複数のクラ
イアント(WS) 1共に、図面データベース(DB) (地図デー
タファイル) 10,20 を持ち、同一のレコードに対して、
複数のクライアント(WS) 1から更新処理が行われる図面
システムであって、サーバ 2の休止中での、各クライア
ント(WS) 1での更新処理を、上記レコード中の複数個の
更新要素 a1,a2, 〜に対する処理を単位として更新する
手段と、サーバ 2が稼働時に、上記各クライアント(WS)
1での更新データを集信したとき、上記更新要素 a1,a
2, 〜単位で所定の排他処理を行って、自己の図面デー
タベース(DB) 20 を更新し、該更新された図面データを
各クライアント(WS) 1に配信する手段と、該排他処理と
して、あるクライアント(WS) 1での処理時刻 t1 の早い
更新要素 a1,a2, 〜に対する、他のクライアント(WS) 1
での更新を全て無効とする処理と、該無効となった処理
を実行したクライアント(WS) 1で、該無効となった処理
で更新した要素 a1,a2, 〜と同じ要素を更新している処
理を全て無効とする処理手段が、本発明を実施するのに
必要な手段である。尚、全図を通して同じ符号は同じ対
象物を示している。
In the present invention, both the server 2 and the plurality of clients (WS) 1 have a drawing database (DB) (map data file) 10,20, and for the same record,
A drawing system in which an update process is performed from a plurality of clients (WS) 1, and the update process at each client (WS) 1 while the server 2 is inactive is performed by a plurality of update elements a1, Means to update the processing for a2, ... as a unit, and when the server 2 is operating, each of the above clients (WS)
When the update data in 1 is collected, the above update elements a1, a
There is a means for performing predetermined exclusive processing in units of 2, to update its own drawing database (DB) 20 and delivering the updated drawing data to each client (WS) 1, and the exclusive processing. Other client (WS) 1 for early update element a1, a2, ... at processing time t1 in client (WS) 1
And the client (WS) 1 that executed the invalidated process updates the same elements as the elements a1, a2, ... updated by the invalidated process. The processing means for invalidating all the processing is the means necessary for implementing the present invention. Note that the same reference numerals indicate the same object throughout the drawings.

【0025】本実施例では、水道事業所での利用を例に
して説明する。水道事業所では、サーバ(本庁)2 とク
ライアント (工事事務所) 1 の運用時間は、例えば、 ・サーバ (本庁) 2 の運用時間:9時〜16時30分、
月曜〜金曜 ・クライアント(工事事務所)の運用時間:9時〜翌日
の4時、休日なし、但し、昼の作業が終了した17時以
降及び休日での利用が多い。
In this embodiment, the use at a waterworks will be described as an example. At the waterworks, the operating hours of the server (main office) 2 and the client (construction office) 1 are, for example: -Operating hours of the server (main office) 2: 9:00 to 16:30,
Monday-Friday ・ Operating hours of client (construction office): 9:00 to 4:00 the next day, no holidays, however, it is often used after 17:00 when the daytime work is completed and on holidays.

【0026】従って、サーバ(本庁)2 の休止中に、各
クライアント (工事事務所) 1 側だけで、水道地図の更
新作業を行うことができる必要がある。図1は、上記水
道図面システムの構成例を、時系列的に示した図であ
り、〜が、上記時系列な動作の順序を示している。
Therefore, it is necessary for each client (construction office) 1 side to be able to update the water map while the server (main office) 2 is at rest. FIG. 1 is a diagram showing a configuration example of the water supply drawing system in chronological order.

【0027】本図において、クライアント(工事事務
所)には、例えば、ワークステーション(WS) 1が設置さ
れており、該ワークステーション(WS) 1で、現地で行わ
れるいる配管工事に伴う水道地図の更新、例えば、水道
管 a1,a2, 〜が示されている地図上において、該配管工
事を行うときの、該水道管 a1,a2, 〜の移動, 廃止, 増
設等を行う更新処理を行い、サーバ (本庁) 2 が稼働し
ているとき、該サーバ (本庁) 2 に転送し、サーバ (本
庁) 2 に備えられている地図データファイル (マスタフ
ァイル) 20を更新して、該水道工事に伴う地図を一元管
理する。以下、時系列的に、更新処理の詳細を説明す
る。
In this figure, for example, a workstation (WS) 1 is installed in a client (construction office), and at the workstation (WS) 1, a water supply map accompanying the piping work being carried out locally is carried out. Update of the water pipes a1, a2, ... on the map showing the water pipes a1, a2, ... , When the server (main office) 2 is operating, transfer it to the server (main office) 2 and update the map data file (master file) 20 provided in the server (main office) 2 to Centrally manage the accompanying maps. Hereinafter, the details of the update process will be described in chronological order.

【0028】 クライアント(WS) 1側で、地図データ
ファイル 10 から地図データを図示していない主記憶領
域に読み出して更新を行い、更新結果を地図データファ
イル10 に戻す。
The client (WS) 1 side reads the map data from the map data file 10 into a main storage area (not shown), updates the map data, and returns the update result to the map data file 10.

【0029】 該クライアント(WS) 1での更新データ
を、地図データファイル 10 に格納すると同時に、更新
データファイル 11 へも格納しておく。このときのデー
タフォーマットは、例えば、図2(d) に示されているよ
うに、更新要素 (更新が可能な水道管の単位) a1,a2,〜
単位で構成され、前情報 a1 、後情報 a1'、更新時刻t1
、クライアント(WS) 1の識別番号A,〜からなる。
The update data of the client (WS) 1 is stored in the map data file 10 and at the same time stored in the update data file 11. The data format at this time is, for example, as shown in FIG. 2 (d), update elements (units of water pipes that can be updated) a1, a2, ...
It is composed of units, the previous information a1, the subsequent information a1 ', and the update time t1.
, Client (WS) 1 identification number A, ...

【0030】 サーバ 2では、稼働時に、各クライア
ント(WS) 1に対して、更新データがあるか否かを認識す
るためのポーリングを行い、更新データが存在すること
を認識したとき、上記更新データファイル 11 から更新
データを更新データファイル21 に集信する。
When the server 2 operates, it polls each client (WS) 1 for recognizing whether or not there is update data, and when it recognizes that there is update data, it updates the above-mentioned update data. Collect update data from file 11 to update data file 21.

【0031】 該更新データは、前述のように、各ク
ライアント(WS) 1において、オフラインで更新されたデ
ータであるので、互いに矛盾のあるものとなっているこ
とがある。そこで、本発明の図面システムでは、該集信
した更新データを、サーバ 2において、上記更新要素 a
1,a2, 〜単位で、排他制御を行い、相互に矛盾のない更
新データを抽出して、自己の地図データファイル 20 の
更新する。
As described above, since the update data is the data updated offline in each client (WS) 1, it may be inconsistent with each other. Therefore, in the drawing system of the present invention, the collected update data is stored in the server 2 as the update element a.
Exclusive control is performed in units of 1, a2, ..., extract update data that does not conflict with each other, and update the self map data file 20.

【0032】上記の排他制御を、図2を用いて、具体的
に説明する。図2において、a1,a2,〜は、更新要素を示
し、上記の実施例では、更新が可能が水道管の単位を示
している。
The above exclusive control will be specifically described with reference to FIG. In FIG. 2, a1, a2, ... Show update elements, and in the above-mentioned embodiment, the units that can be updated are water pipe units.

【0033】先ず、1レコード(図面)中の更新要素
(水道管、以下略) a1に対して、クライアント(WS)A 1
が、時刻 t1 において、図2(a) に図示されている a1'
の如き更新 (水道管の移動) を行っているとすると、図
2(b) に示されているように、他のクライアント(WS)B
1が、上記時刻 t1 より遅い時刻で、同じ更新要素 a1
に対する更新処理、具体的には、該更新要素 a1 と、該
更新要素 a1 と繋がっている更新要素 a3 に対する更新
処理{この更新要素 a1 に対する更新開始から、該更新
要素 a1 と繋がっている更新要素 a3,〜 に対する更新
処理が終了するまでの一連の更新処理を、ここでは、ト
ランザクションT1 (図2(b) で、点線で囲った処理)
と言う}を、サーバ 2での集信処理において全て無効と
することで、クライアント(WS)A 1での更新処理(a1 →
a1') のみを有効とすることができ、各クライアント(W
S) 1でのオフラインで行われた更新処理の矛盾を無くす
ことができる。
First, for the update element (water pipe, abbreviated below) a1 in one record (drawing), the client (WS) A 1
At time t1, a1 'shown in Fig. 2 (a)
As shown in Fig. 2 (b), if another client (WS) B is renewed (moving the water pipe),
1 is later than the above time t1 and the same update element a1
To the update element a1, and the update element a1 and the update element a3 connected to the update element a1 (the update element a3 connected to the update element a1 from the start of the update for this update element a1 Here, a series of update processing until the update processing for the, ... is completed is here a transaction T1 (processing surrounded by a dotted line in FIG. 2B).
Is invalidated in the receiving process in the server 2, and the updating process in the client (WS) A 1 (a 1 →
a1 ') can only be enabled and each client (W
S) It is possible to eliminate the inconsistency of the update processing performed offline in 1.

【0034】又、図2(b) に示されているように、上記
無効となったトランザクションT1(図2(b) の点線で
囲った処理) を実行したクライアント(WS)B 1におい
て、該無効となったトランザクション内で更新した要素
a3 と同じ更新要素 a3 を更新している更新処理、具体
的には、図2(b) において、更新要素 a3 と a4,〜とを
更新している処理 (二重線で示したトランザクションT
2)は全て無効とすることで、図2(c) に示されている
更新結果、即ち、クライアント(WS)A 1で行った更新処
理のみを有効とした結果を得ることができ、各クライア
ント(WS) 1がオフラインで行った更新処理を、矛盾のな
いものにすることができる。このような排他処理を行わ
ないと、水道管 a2',a1'と、水道管 a3,a4とが繋がらな
い結果となる。
Further, as shown in FIG. 2B, in the client (WS) B 1 which has executed the invalidated transaction T1 (process surrounded by a dotted line in FIG. 2B), Element updated in invalid transaction
Update processing that updates the same update element a3 as a3, specifically, processing that updates update elements a3 and a4, ... in FIG. 2 (b) (transaction T shown by double line
By making all 2) invalid, the update result shown in FIG. 2 (c), that is, the result of validating only the update processing performed by the client (WS) A 1 can be obtained. (WS) 1 is able to make the update processing performed offline offline consistent. Without such exclusion processing, the water pipes a2 'and a1' and the water pipes a3 and a4 are not connected.

【0035】このような更新処理を行う為に、例えば、
図2(d) に示したフォーマットの更新データを集信し
て、サーバ 2で、時刻 t1 、クライアント(WS) 1の番号
A,B,〜を参照して、有効な更新処理、即ち、更新要
素 a1 → a1', 更新要素 a2 →a2' とした処理のみを有
効とすることができる。
In order to perform such update processing, for example,
The update data of the format shown in FIG. 2 (d) is collected, the server 2 refers to the time t1, the number A, B, ... of the client (WS) 1, and the effective update process, that is, the update Only the processing with element a1 → a1 'and update element a2 → a2' can be valid.

【0036】 サーバ 2では、全クライアント(WS) 1
の更新情報を反映した地図データを地図データファイル
20 に格納した後、各クライアント(WS) 1に対して、該
更新の行われた図面を配信する。
On the server 2, all clients (WS) 1
Map data file that reflects the map update information
After storing in 20, the updated drawing is delivered to each client (WS) 1.

【0037】 該配信された地図データを自己の地図
データファイル 10 に格納し、運用する。このように、
本発明の図面システムは、サーバ、複数のクライアント
共に、図面データベースを持つ図面システムであって、
サーバ休止中での、各クライアントでの更新処理を、上
記レコード中の複数個の更新要素に対する処理を単位と
して更新し、サーバが稼働時に、上記各クライアントで
の更新データを集信したとき、あるクライアントでの処
理時刻の早い更新要素に対する、他のクライアントでの
更新を全て無効とし、該無効となった処理を実行したク
ライアントで、該無効となった処理で更新した要素と同
じ要素を更新している処理を全て無効として、有効処理
による更新データで、該サーバの図面データベースを更
新し、該更新したデータベースを、各クライアントに配
信するようにしたところに特徴がある。
The distributed map data is stored in its own map data file 10 and operated. in this way,
A drawing system of the present invention is a drawing system in which a server and a plurality of clients each have a drawing database,
When the update processing in each client while the server is idle is updated in units of processing for a plurality of update elements in the above record, and when the server is running, the update data in each client is collected. For the update element whose processing time is early on the client, invalidate all updates on other clients, and update the same element as the element updated by the invalidated processing on the client that executed the invalidated processing. All of the processes are invalidated, the drawing database of the server is updated with the updated data by the valid process, and the updated database is distributed to each client.

【0038】[0038]

【発明の効果】以上、詳細に説明したように、本発明の
図面システムによれば、サーバが休止中の夜間・休日に
も、クライアント(WS)側で、図面を更新することがで
き、運用性が向上する。又、実時間処理ではないので、
回線は、比較的低速の回線を利用することができ、回線
負担を軽減させることができる。
As described above in detail, according to the drawing system of the present invention, the drawing can be updated on the client (WS) side even during the night / holiday when the server is idle, and the drawing system can be used. The property is improved. Also, because it is not real-time processing,
A relatively low speed line can be used as the line, and the line load can be reduced.

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

【図1】本発明の一実施例を示した図(その1)FIG. 1 is a diagram showing an embodiment of the present invention (No. 1).

【図2】本発明の一実施例を示した図(その2)FIG. 2 is a diagram showing an embodiment of the present invention (Part 2).

【図3】従来の図面システムを説明する図FIG. 3 is a diagram illustrating a conventional drawing system.

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

1 クライアント(WS), クライアント (工事事務所) 10 地図データファイル 11 更新データ
ファイル 2 サーバ (本庁) 20 地図データファイル 21 更新データ
ファイル 〜 各処理
1 Client (WS), Client (construction office) 10 Map data file 11 Update data file 2 Server (main office) 20 Map data file 21 Update data file ~ Each process

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】サーバ、複数のクライアント共に、図面デ
ータベースを持ち、同一のレコードに対して、複数のク
ライアントから更新処理が行われる図面システムであっ
て、 サーバ休止中での、各クライアントでの更新処理を、上
記レコード中の複数個の更新要素に対する処理を単位と
して更新する手段と、 サーバが稼働時に、上記各クライアントでの更新データ
を集信したとき、上記更新要素単位で所定の排他処理を
行って、自己の図面データベースを更新し、該更新され
た図面データベースを各クライアントに配信する手段と
を備えたことを特徴とする図面システム。
1. A drawing system in which a server and a plurality of clients each have a drawing database, and a plurality of clients perform update processing on the same record. A means for updating the processing in units of processing for a plurality of update elements in the record, and a predetermined exclusive processing for each update element when the update data of each client is collected while the server is operating. A drawing system for updating the own drawing database and delivering the updated drawing database to each client.
【請求項2】請求項1に記載の排他処理として、あるク
ライアントでの処理時刻の早い更新要素に対する、他の
クライアントでの更新を全て無効とする処理と、 該無効となった処理を実行したクライアントで、該無効
となった処理で更新した要素と同じ要素を更新している
処理を全て無効とする処理と、 からなることを特徴とする図面システム。
2. The exclusive process according to claim 1, which executes a process of invalidating all the updates of another client for an update element whose processing time is early in one client, and the invalidated process. A drawing system comprising: a process of invalidating all processes of updating the same element as the element updated by the invalidated process in the client.
JP7245783A 1995-09-25 1995-09-25 Drawing system Withdrawn JPH0991184A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7245783A JPH0991184A (en) 1995-09-25 1995-09-25 Drawing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7245783A JPH0991184A (en) 1995-09-25 1995-09-25 Drawing system

Publications (1)

Publication Number Publication Date
JPH0991184A true JPH0991184A (en) 1997-04-04

Family

ID=17138769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7245783A Withdrawn JPH0991184A (en) 1995-09-25 1995-09-25 Drawing system

Country Status (1)

Country Link
JP (1) JPH0991184A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11224217A (en) * 1998-02-09 1999-08-17 Nec Corp Managing method for data and radio equipment data management system
US6374262B1 (en) 1998-03-25 2002-04-16 Fujitsu Limited Relational database synchronization method and a recording medium storing a program therefore
WO2009147701A1 (en) * 2008-01-08 2009-12-10 株式会社 アテナテレコムラボ Parallel access program of database
US8171003B2 (en) 2007-06-06 2012-05-01 Kunio Kamimura Method and apparatus for changing reference of database
US9678996B2 (en) 2007-06-06 2017-06-13 Kunio Kamimura Conflict resolution system for database parallel editing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11224217A (en) * 1998-02-09 1999-08-17 Nec Corp Managing method for data and radio equipment data management system
US6374262B1 (en) 1998-03-25 2002-04-16 Fujitsu Limited Relational database synchronization method and a recording medium storing a program therefore
US8171003B2 (en) 2007-06-06 2012-05-01 Kunio Kamimura Method and apparatus for changing reference of database
US9678996B2 (en) 2007-06-06 2017-06-13 Kunio Kamimura Conflict resolution system for database parallel editing
WO2009147701A1 (en) * 2008-01-08 2009-12-10 株式会社 アテナテレコムラボ Parallel access program of database

Similar Documents

Publication Publication Date Title
US5140689A (en) Data recovery system and method of distributed transaction processing system
JP2725885B2 (en) Method and apparatus for opening file caching in a networked computer system
CN107787490A (en) Function is directly connected in distributed data base grid
JPH0944342A (en) Computer network system and version number managing method for its operating system
JP2004152247A (en) Transaction cache consistency maintenance system in mobile computer environment, and its method
JPH0991184A (en) Drawing system
JPH1021174A (en) Data transfer system
JPH0528021A (en) Management of binary arranged data
JPH034339A (en) System for updating data base in distributed processing system
JPH10124419A (en) Software and data matching distribution method for client server system
JP3296570B2 (en) File transfer method
JPH03282745A (en) File distribution system
JP2000184595A (en) Display drawing generation management system and storage medium for recording processing program thereof
JPH09146815A (en) Distributed file management method
JP2002215400A (en) Program delivering method
JPH06332777A (en) Transaction processing system
JP2000020374A (en) Replication control system
JP2001337832A (en) Terminal device
JP3534333B2 (en) Data exchange device
JPH03196341A (en) Data synchronization managing system in on-line system
JPH04354046A (en) Decentralized processing system
JPH11288383A (en) Master registration time difference reflection system and master registration time difference reflection method
JP2001022562A (en) Device and method for software management
JPH05134906A (en) Memory information collecting system
JPH06175902A (en) Distributed file system, file managing device, centralized controller and distributed file managing method

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021203