JP2007058769A - Synchronization method of distributed database - Google Patents
Synchronization method of distributed database Download PDFInfo
- Publication number
- JP2007058769A JP2007058769A JP2005246175A JP2005246175A JP2007058769A JP 2007058769 A JP2007058769 A JP 2007058769A JP 2005246175 A JP2005246175 A JP 2005246175A JP 2005246175 A JP2005246175 A JP 2005246175A JP 2007058769 A JP2007058769 A JP 2007058769A
- Authority
- JP
- Japan
- Prior art keywords
- site
- work area
- dedicated
- update
- distributed database
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、複数のサイトが同一の設計情報データベースを持つ分散データベースの同期方法およびそのシステムに関する。 The present invention relates to a distributed database synchronization method and a system thereof in which a plurality of sites have the same design information database.
ソフトウェアモジュールを複数サイトで共同設計する場合、各サイトが同一の設計情報データベースを持つ分散データベースを用いる。 When software modules are jointly designed at multiple sites, a distributed database having the same design information database at each site is used.
分散データベースではなく集中データベースを用いれば管理は容易であるが,障害発生時に全ての作業が中断してしまう恐れがあることや、スループットの低いネットワークからアクセスして設計を行う場合、応答速度が遅く設計効率が悪いといった欠点がある。これら欠点を改善しなければ、複数サイトで効率良く共同設計作業を行うことができない。そこで、障害発生時の可用性を確保し、さらに応答速度の問題に対応するために、各サイトに設計情報データベースを設置する分散データベースを用いる必要がある。 Management is easy if a centralized database is used instead of a distributed database, but all work may be interrupted when a failure occurs, and the response speed is slow when designing from a network with low throughput. There are drawbacks such as poor design efficiency. If these drawbacks are not improved, joint design work cannot be performed efficiently at multiple sites. Therefore, it is necessary to use a distributed database in which a design information database is installed at each site in order to ensure availability at the time of failure and to cope with the problem of response speed.
各サイトのデータベースには、設計した成果物を集めてモジュール全体のテストを行うための、共同作業領域が1つ設けられる。各サイトの設計者は、自分が設計を担当した情報を全てのサイトの設計者と共有するため、その情報の更新作業が終了すると、共同作業領域に更新情報を反映していた。(例えば、特許文献1参照)。この時、データの整合性を保つため、排他制御を行わなければならないが、分散データベースは複数のデータベースで運用されるため、複雑な権限設定と排他制御を必要とした。
従来は上述の権限設定と排他制御を共同作業領域の書き込み権限を用いる方法で行っていた。共同作業領域を更新する場合は、更新するサイトが前述の書き込み権限を所有している必要があった。サイトが書き込み権限を所有していないときは、その権限を所有しているサイトに要求し、転送してもらうことで権限を得、データを更新していた。 Conventionally, the above authority setting and exclusive control are performed by a method using the writing authority of the joint work area. When updating the collaborative work area, the site to be updated needs to have the above-mentioned write authority. When the site does not have the write permission, the request was made to the site that owns the permission, and the authority was obtained by transferring and updating the data.
従来は上記の方法によって分散データベースの同期をとっていたが、データベースが書き込み権限を所有していなければ、権限を所有するデータベースから転送されてくるまで待たなければならなかった。そのためデータベース更新の効率が悪く、設計効率の悪化を誘発していた。 Conventionally, the distributed database is synchronized by the above-described method. However, if the database does not have the write authority, it has to wait until it is transferred from the database having the authority. For this reason, the efficiency of database update is poor, and the design efficiency is deteriorated.
そこで本発明は、任意のタイミングで共同作業領域を更新可能な、分散データベースの同期方法を提供することを目的とする。 Therefore, an object of the present invention is to provide a distributed database synchronization method capable of updating a collaborative work area at an arbitrary timing.
本発明は、上記目的を達成するために、複数のサイトが同一の設計情報データベースを持つ分散データベースの同期方法において、
各サイトは、複数あるサイトそれぞれに対応した、各サイト専用共同作業領域を前記設計情報データベースに備え、
他サイトより送信される、前記各サイト専用共同作業領域の更新データを前記設計情報データベースに反映する、前記他サイトそれぞれに対応した他サイト専用共同作業領域更新手段と、前記他サイト専用共同作業領域の更新を受け、更新した前記他サイト専用共同作業領域の変更分を自サイト専用共同作業領域へマージする自サイト専用共同作業領域更新手段を備え、自サイトのユーザから更新要求を受けた時に、前記自サイト専用共同作業領域を更新する自サイト専用共同作業領域更新手段と、前記自サイト専用共同作業領域が更新された時に、更新データを前記他サイトへ送信する更新データ送新手段とを備えている。
In order to achieve the above object, the present invention provides a distributed database synchronization method in which a plurality of sites have the same design information database.
Each site has a joint work area dedicated to each site corresponding to each of a plurality of sites in the design information database,
Reflecting update data of each site-dedicated collaborative work area transmitted from another site in the design information database, another site-dedicated collaborative work area updating means corresponding to each other site, and the other site-dedicated collaborative work area When the update request is received from the user of the own site, the update unit is provided with the own site dedicated joint work area updating means for merging the updated change in the joint work area dedicated to the other site into the joint work area dedicated to the own site. A self-site-specific joint work area updating means for updating the self-site-specific joint work area; and update data sending means for sending update data to the other site when the self-site-only joint work area is updated. ing.
本発明の分散データベースの同期方法によれば、各サイトが全てのサイトそれぞれに対応した専用共同作業領域を持ち、その専用共同作業領域の書き込み権限を常に所有することで、書き込み権限を転送すること無くデータを専用共同作業領域に追加し、それを直ちに他サイトへ反映することができる。 According to the distributed database synchronization method of the present invention, each site has a dedicated collaborative work area corresponding to each site, and the write authority is transferred by always possessing the write permission of the dedicated collaborative work area. You can add data to the dedicated collaborative work area and immediately reflect it to other sites.
次に本発明の実施例について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
本実施例の分散データベースの同期方法は、図1に示すように、それぞれ、設計情報データベース101とサーバ102とLAN103とクライアント104を持つサイトA、サイトBとそれらをつなぐ外部ネットワーク105から成る分散データシステムにおいて、図2に示すように、システムを構成する各サイトが、それぞれの設計情報データベース216,226上に、それぞれ自サイト専用の共同作業領域214,224と、他サイト専用の共同作業領域215,223と、他サイトから送信された更新データを用いて、自サイトの設計情報データベース上にある他サイト専用共同作業領域を更新するための他サイト専用共同作業領域更新手段212,221と、他サイトでの変更内容を自サイトの専用共同作業領域へ反映させるための自サイト専用共同作業領域更新手段a211,222と、自サイトのユーザから自サイト専用共同作業領域の更新要求が発生した時に自サイト専用共同作業領域を更新するための自サイト専用共同作業領域更新手段b213,225および自サイト専用共同作業領域が自サイト専用共同作業領域更新手段bにより更新された時に、他サイトへその更新データを送信するための更新データ送信手段217,227とで構成されている。
As shown in FIG. 1, the distributed database synchronization method of this embodiment is distributed data comprising a
次に、図3に示す順番に従い、図2の構成のもとで、サイトAのユーザがサイトA専用共同作業領域の更新を要求した場合の動作について説明する。 Next, according to the order shown in FIG. 3, the operation when the user of the site A requests the update of the site A dedicated collaborative work area under the configuration of FIG.
図3は、本発明の動作説明図を示す。ユーザがサイトA専用共同作業領域の更新要求を出すと(ステップS301)、その要求を受けてサイトA専用共同作業領域更新手段b213によってサイトA専用共同作業領域を更新する(ステップS302)。サイトA、BそれぞれにサイトA、B専用の共同作業領域を設け、自サイト専用共同作業領域の書き込み権限を持たせるため、書き込み権限の転送無しに自サイト専用共同作業領域を更新することが可能である。 FIG. 3 is a diagram for explaining the operation of the present invention. When the user issues a request for updating the site A dedicated collaborative work area (step S301), the site A dedicated collaborative work area updating means b213 receives the request and updates the site A dedicated collaborative work area (step S302). Since each site A and B has a joint work area dedicated to sites A and B, and has write authority for the private work area dedicated to the own site, it is possible to update the joint work area dedicated to the own site without transferring the write authority It is.
次に、サイトAでの設計情報データベースの更新内容をサイトBに反映させるため、更新データをサイトBへ送信する(ステップS303)。その後、サイトBにおけるサイトA専用共同作業領域をサイトA専用共同作業領域更新手段221によって更新する(ステップS304)。さらに、サイトB専用共同作業領域更新手段a222によって、サイトA専用共同作業領域の更新分をサイトB専用共同作業領域へマージする(ステップS305)。 Next, the update data is transmitted to the site B in order to reflect the update contents of the design information database at the site A to the site B (step S303). Thereafter, the site A dedicated collaborative work area in the site B is updated by the site A dedicated collaborative work area updating means 221 (step S304). Further, the site B dedicated joint work area update means a222 merges the updated portion of the site A dedicated joint work area into the site B dedicated joint work area (step S305).
サイトBのユーザがサイトB専用共同作業領域の更新を要求した場合も上記と同様である。 The same applies to the case where the user of the site B requests the update of the site B dedicated work area.
また、本実施例においては2サイトで構成されているが、3サイト以上でも同様に同期をとることが可能である。3サイトでの構成図を図4に示す。 Further, in the present embodiment, it is configured with two sites, but it is possible to synchronize similarly with three or more sites. Fig. 4 shows the configuration diagram at three sites.
101,216,226,318,328,329 設計情報データベース
102 サーバ
103 LAN
104 クライアント
105 外部ネットワーク
212,221,312,313,321,323,331,332 他サイト専用共同作業領域更新手段
211,222,311,322,333 自サイト専用共同作業領域更新手段a
213,225,314,324,334 自サイト専用共同作業領域更新手段b
214,224,315,326,337 自サイト専用共同作業領域
215,223,316,317,325,327,335,336 他サイト専用共同作業領域
217,227,319,329,339 更新データ送信手段
101, 216, 226, 318, 328, 329
104
213, 225, 314, 324, 334 Own site dedicated collaborative work area update means b
214, 224, 315, 326, 337 Own site dedicated
Claims (1)
前記設計情報データベースに、各サイト専用の共同作業領域を有し、
ユーザからの更新要求を受け、そのユーザが属するサイト専用の共同作業領域を更新する更新ステップと、
他サイトから送信される更新データにより、自サイトにおける送信元のサイト専用共同作業領域を更新する更新ステップと、
前記送信元の専用共同作業領域が更新された後に、自サイト専用共同作業領域を更新する更新ステップと、
前記自サイト専用共同作業領域がユーザの要求により更新された後に、その更新データを他サイトへ送信する送信ステップと
を備えたことを特徴とする分散データベースの同期方法。 In a distributed database synchronization method in which multiple sites have the same design information database,
The design information database has a joint work area dedicated to each site,
An update step for receiving an update request from a user and updating a joint work area dedicated to the site to which the user belongs;
An update step for updating the site-specific collaborative work area of the source site with update data transmitted from another site,
An update step of updating the dedicated collaborative work area dedicated to the own site after the exclusive collaborative work area of the transmission source is updated;
A distributed database synchronization method, comprising: a step of transmitting the update data to another site after the own site-dedicated collaborative work area is updated by a user's request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005246175A JP2007058769A (en) | 2005-08-26 | 2005-08-26 | Synchronization method of distributed database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005246175A JP2007058769A (en) | 2005-08-26 | 2005-08-26 | Synchronization method of distributed database |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007058769A true JP2007058769A (en) | 2007-03-08 |
Family
ID=37922177
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005246175A Withdrawn JP2007058769A (en) | 2005-08-26 | 2005-08-26 | Synchronization method of distributed database |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007058769A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9026556B2 (en) | 2008-11-17 | 2015-05-05 | Fujitsu Limited | Computer-readable medium storing data sharing program, data sharing method, and data sharing processor |
KR101524743B1 (en) * | 2013-11-15 | 2015-06-24 | 주식회사 날리지큐브 | Virtual cluster |
-
2005
- 2005-08-26 JP JP2005246175A patent/JP2007058769A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9026556B2 (en) | 2008-11-17 | 2015-05-05 | Fujitsu Limited | Computer-readable medium storing data sharing program, data sharing method, and data sharing processor |
KR101524743B1 (en) * | 2013-11-15 | 2015-06-24 | 주식회사 날리지큐브 | Virtual cluster |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10892839B2 (en) | Method for fast reconfiguration of GM clocks in the TSN network by means of an explicit teardown message | |
JP2009505127A (en) | Display system, module and method | |
CN105404597A (en) | Data transmission method, device and system | |
KR20120072908A (en) | Distribution storage system having plural proxy servers, distributive management method thereof, and computer-readable recording medium | |
CN101483576B (en) | Version management implementing method in distributed system | |
JP5561334B2 (en) | Data transfer device | |
JP2018515850A (en) | Data copy method and device | |
CN106855869B (en) | Method, device and system for realizing high availability of database | |
JP4550604B2 (en) | Setting information synchronization program | |
JP3621392B2 (en) | Integrated simulation system and program | |
JP4723669B2 (en) | Control and communication systems including engineering units | |
JP2007058769A (en) | Synchronization method of distributed database | |
JP6805938B2 (en) | Virtual LAN time synchronization method | |
JP2008276553A (en) | Database equivalence system and database equivalence method | |
CN113742424B (en) | Natural resource integrated cross-network dynamic form data synchronization method based on RPA | |
JP5716460B2 (en) | Cluster system and control method thereof | |
JP2004030254A (en) | Remote si (storage interface) control system | |
JP2001305256A (en) | Time synchronization method in computer system | |
CN116049136B (en) | Cloud computing platform-based MySQL cluster deployment method and system | |
JP2009020581A (en) | Inter-application communication system | |
WO2018235348A1 (en) | Database server, database management method, and storage medium | |
JP4514672B2 (en) | Information distribution method | |
JP4138329B2 (en) | Data processing system and data processing method | |
JP3757762B2 (en) | Shared data management system and shared data management method | |
JP2001175522A (en) | Method and system for exclusive control |
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: 20081104 |