JPS6113630B2 - - Google Patents
Info
- Publication number
- JPS6113630B2 JPS6113630B2 JP53104919A JP10491978A JPS6113630B2 JP S6113630 B2 JPS6113630 B2 JP S6113630B2 JP 53104919 A JP53104919 A JP 53104919A JP 10491978 A JP10491978 A JP 10491978A JP S6113630 B2 JPS6113630 B2 JP S6113630B2
- Authority
- JP
- Japan
- Prior art keywords
- update
- computer
- file
- directory
- request
- 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
Links
- 238000007726 management method Methods 0.000 claims description 14
- 238000000034 method Methods 0.000 claims description 3
- 238000013523 data management Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Description
【発明の詳細な説明】
本発明は、分散型データベース管理システムの
管理方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a management method for a distributed database management system.
従来の分散型データベース管理技術は、特定の
コンピユータシステムをコンピユータ・コミユニ
ケーシヨン・ネツトワークとして接続したもの
で、各コンピユータが保有するフアイルの管理
は、それぞれのコンピユータが管理している。従
つて各コンピユータ間の情報の交信は、それぞれ
約束をきめて行なわねばならないため、分散型フ
アイルの統合的管理を行なうためには、事前のシ
ステム設計がたいへんであり、システム稼動後の
拡張性も乏しかつた。 In conventional distributed database management technology, specific computer systems are connected as a computer communication network, and files held by each computer are managed by each computer. Therefore, the exchange of information between each computer must be carried out after making a separate agreement, so in order to perform integrated management of distributed files, advance system design is difficult, and scalability after system operation is difficult. It was scarce.
本発明の目的は、上記従来技術に述べた問題点
を解決する目的をもつてなされたものであり、分
散しているコンピユータがそれぞれ持つている関
連フアイルを統合的に管理する分散型データベー
ス管理システムの管理方式である。 An object of the present invention is to solve the problems described in the prior art described above, and to provide a distributed database management system that integrally manages related files owned by distributed computers. This is a management method.
以下、本発明を実施例を参照して詳細に説明す
る。本発明の分散型データベース管理システムの
1例として、第1図に医療情報システムの例を示
す。C1〜Co101,102,……,108(第
1図ではn=8)は医療情報サブシステムであ
り、それぞれ、処理装置、フアイル、端末装置等
を有する。これらのサブシステムは通信回線で接
続されていると同時に、デイレクトリ・コンピユ
ータ(以下、DCと称す)109に接続されてい
る。 Hereinafter, the present invention will be explained in detail with reference to Examples. As an example of the distributed database management system of the present invention, FIG. 1 shows an example of a medical information system. C 1 to C o 101, 102, . . . , 108 (n=8 in FIG. 1) are medical information subsystems, each of which has a processing device, a file, a terminal device, and the like. These subsystems are connected through communication lines and are also connected to a directory computer (hereinafter referred to as DC) 109.
今、C1に接続されている端末装置から、患者
PN6の診療情報aを検索する場合を示すと、ま
ず、C1の端末装置から、PN6,aを入力し、C1
からDCに送信する。DCには、第2図に示すデー
タ・デイレクトリ・テーブル(以下、DDTと称
す)201がある。DDTには、本システムに登
録されるすべてのデータに関して、そのデータが
記録されているフアイル番号D1〜Dnを持つてい
る。この情報は、サブシステムのフアイルにデー
タを登録すると同時に、サブシステムからDCに
送られる。各サブシステムには、DCとのこれら
の交信を行なうためのフアイル情報通信プログラ
ムがあり、この機能を行なう。実施例では、
DDTは、診療情報項目毎に作られており、PN
6,aの情報からDCでは、まず、診療情報アド
レステーブルMRATをテーブルサーチしてaの
テーブル・アドレスを求め、そのアドレスによ
り、aのテーブル・サーチを行なう。 Now, from the terminal device connected to C 1 , the patient
To search for medical information a of PN6, first input PN6,a from the terminal device of C1 , and then search for medical information a of C1.
to the DC. The DC has a data directory table (hereinafter referred to as DDT) 201 shown in FIG. The DDT has file numbers D1 to Dn in which all data registered in this system are recorded. This information is sent from the subsystem to the DC at the same time as the data is registered in the subsystem's file. Each subsystem has a file information communication program for carrying out these communications with the DC to perform this function. In the example,
DDT is created for each medical information item, and PN
6. Based on the information of a, the DC first performs a table search on the medical information address table MRAT to obtain the table address of a, and performs a table search of a using that address.
このような分散型データベースでの情報更新で
問題となるのは、データの統一的更新の実現をど
のようにして行なうかということが、そのひとつ
である。本発明でのアルゴリズムは次の通りであ
る。 One of the problems with updating information in such distributed databases is how to achieve unified updating of data. The algorithm according to the present invention is as follows.
DDTのフオーマツトは、第2図の通りである
が、今、データ更新の要求があるとフアイル番号
の後の要求フラグ205を1、更新フラグ206
を0にする。更新の優先順位をDDTの上程高く
付けてある。最上位のデータから更新権を与え、
該当サブシステムへ更新要求を送信する。更新が
該当サブシステムでなされると、更新済コード
が、DCへ戻され、更新フラグを1にする。すべ
てのフアイル番号の更新フラグが1になると、要
求フラグおよび更新フラグを0とすると同時に、
データ更新要求元のサブシステム完了コードを送
信する。尚、要求元サブシステムと更新フアイル
を持つサブシステムとは、更新権情報をもとにし
て直接交信を行なう。検索に関しても更新権情報
により行なうが、更新時との相違は、要求元サブ
システムとの交信の際、要求データを要求元サブ
システムへ送信することである。要求元サブシス
テムは、データをそれぞれのデータフアイルを持
つサブシステムから取得した後、DCから完了コ
ードを受けとるのでデータを全部取得したことが
わかる。 The format of DDT is as shown in Figure 2. Now, when there is a request to update data, the request flag 205 after the file number is set to 1, and the update flag 206 is set to 1.
Set to 0. The update priority is set higher than DDT. Give update rights starting from the highest level data,
Send an update request to the relevant subsystem. When an update is made in the relevant subsystem, the updated code is returned to the DC and the update flag is set to 1. When the update flags of all file numbers become 1, the request flag and update flag are set to 0, and at the same time,
Sends the subsystem completion code of the data update requester. Note that the requesting subsystem and the subsystem having the update file directly communicate with each other based on the update right information. The search is also performed using the update right information, but the difference from the update is that request data is sent to the requesting subsystem when communicating with the requesting subsystem. After the requesting subsystem obtains data from each subsystem with its own data file, it receives a completion code from the DC, so it knows that all data has been obtained.
尚、本方式によれば、各サブシステムは異機種
で差しつかえなく、それぞれの機種が持つている
ソフトウエア体系をそのまま利用できる特長を持
つている。医療情報システムのように、各医療機
関(部門)が異なつたシステムを持ち、それらを
後で接続して統合化する例が多い場合には特に有
利な方式である。 According to this method, each subsystem can be a different model, and the software system of each model can be used as is. This method is particularly advantageous in cases such as medical information systems, where each medical institution (department) has different systems and these systems are often connected and integrated later.
以上説明したごとく本発明によれば、分散型デ
ータベース管理システムにおいて、デイレクト
リ・コンピユータを置き、各サブシステムと接続
して、システムに登録されるすべての情報の所在
するフアイル番号および更新権制御を行なうデー
タ・デイレクトリ・テーブルにより、全システム
の分散データベースを統合的に管理することがで
きる。 As explained above, according to the present invention, in a distributed database management system, a directory computer is installed, connected to each subsystem, and controls file numbers and update rights where all information registered in the system is located. Data directory tables allow integrated management of distributed databases across all systems.
また、分散データベース管理システムを構成す
るサブシステムは、異機種でしかもそれぞれのコ
ンピユータが保有するソフトウエア体系がそのま
ま使用できるという特長を持つ。 Furthermore, the subsystems that make up the distributed database management system are of different types, and have the advantage that the software systems owned by each computer can be used as is.
第1図は、本発明に係る分散型データベース管
理システムの管理方式を説明するための図面であ
る。101,102,……,108は分散型デー
タベース管理システムを構成するサブシステムで
あり、それぞれ、処理装置、フアイル、端末装置
等からなる。109は、デイレクトリ・コンピユ
ータであり、処理装置、フアイル、入出力機器か
らなる。これらのシステムは通信回線110によ
り接続されている。
第2図は、データ・デイレクトリ・テーブル2
01である。202は、診療情報項目、203は
患者番号、204はフアイル番号、205は、要
求フラグ、206は更新フラグである。
FIG. 1 is a diagram for explaining a management method of a distributed database management system according to the present invention. 101, 102, . . . , 108 are subsystems constituting the distributed database management system, each of which includes a processing device, a file, a terminal device, and the like. A directory computer 109 includes a processing device, files, and input/output devices. These systems are connected by a communication line 110. Figure 2 shows data directory table 2.
It is 01. 202 is a medical information item, 203 is a patient number, 204 is a file number, 205 is a request flag, and 206 is an update flag.
Claims (1)
間で情報の交信を行なう分散型データベース管理
システムにおいて、 該複数のコンピユータの夫々と接続したデイレ
クトリ・コンピユータと、 該デイレクトリ・コンピユータにより管理さ
れ、各複数のコンピユータが保有するフアイル番
号とそのフアイルの登録情報項目とフアイルの更
新要求フラグと更新フラグとを記憶するデイレク
トリ・テーブルとを有し、 該デイレクトリ・コンピユータは、該複数のコ
ンピユータのうちの第1コンピユータから第1の
フアイルに対する更新要求を受けると、まず、該
デイレクトリ・テーブル中の対応するフアイル番
号の要求フラグを立て、次に該第1のフアイルを
有する第2のコンピユータへ更新要求を送出し、
該第2のコンピユータから更新が終了したことを
示す更新済コードを受けると、対応するフアイル
番号の更新フラグを立て、そしてすべてのフアイ
ル番号の更新フラグが立つと、要求フラグおよび
更新フラグをリセツトし、該第1のコンピユータ
に更新の完了コードを送信することを特徴とする
データ管理方式。[Claims] 1. In a distributed database management system in which information is exchanged between a plurality of computers each having a file, a directory computer connected to each of the plurality of computers, and a system managed by the directory computer. , a directory table that stores file numbers held by each of the plurality of computers, registration information items of the files, update request flags and update flags of the files, and the directory computer is one of the plurality of computers. When an update request for a first file is received from the first computer of , first, a request flag is set for the corresponding file number in the directory table, and then an update request is sent to the second computer that owns the first file. send out,
When it receives an updated code indicating that the update has been completed from the second computer, it sets an update flag for the corresponding file number, and when the update flags for all file numbers are set, it resets the request flag and update flag. , a data management method characterized by transmitting an update completion code to the first computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10491978A JPS5532140A (en) | 1978-08-30 | 1978-08-30 | Data managing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10491978A JPS5532140A (en) | 1978-08-30 | 1978-08-30 | Data managing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5532140A JPS5532140A (en) | 1980-03-06 |
JPS6113630B2 true JPS6113630B2 (en) | 1986-04-14 |
Family
ID=14393505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10491978A Granted JPS5532140A (en) | 1978-08-30 | 1978-08-30 | Data managing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5532140A (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5768437A (en) * | 1980-10-17 | 1982-04-26 | Hayakawa Rubber | Water swellable water stopping material and method |
JPS5777410U (en) * | 1980-10-27 | 1982-05-13 | ||
JPH05504428A (en) * | 1989-08-01 | 1993-07-08 | シリコン・グラフィックス,インコーポレイテッド | File change monitor for computer operating and file management systems |
JPH0764940A (en) * | 1993-08-27 | 1995-03-10 | Nec Corp | Logical pass control system for loosely coupled multiplex system |
JPH11353404A (en) * | 1998-06-11 | 1999-12-24 | Hitachi Ltd | Electronic clinical record card system |
-
1978
- 1978-08-30 JP JP10491978A patent/JPS5532140A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS5532140A (en) | 1980-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108717861B (en) | Medical data sharing method based on block chain | |
CN108431804A (en) | Multiple containers database is grouped into the ability of single container data-base cluster | |
CN111881223B (en) | Data management method, device, system and storage medium | |
CN104160381A (en) | Managing tenant-specific data sets in a multi-tenant environment | |
JPH04319774A (en) | Distributed design cad system | |
WO1991010191A1 (en) | Object oriented distributed processing system | |
WO2018036324A1 (en) | Smart city information sharing method and device | |
JPS63205747A (en) | Communication system | |
JPH0765032A (en) | Information processing system having data base language converting function | |
CN111782235A (en) | Data upgrading and querying method and device | |
CN109800234A (en) | Service platform database system, upgrade method, equipment and storage medium | |
CN110287264A (en) | Batch data update method, device and the system of distributed data base | |
JP2969627B2 (en) | Management method of distributed database system | |
US20030195987A1 (en) | Method, system, and article of manufacture for transferring structured data between different data stores | |
JPS6113630B2 (en) | ||
CN107066595A (en) | A kind of many application searches method of servicing of big data and system | |
US20040049558A1 (en) | System and method for synchronizing unstructured documents | |
JPS61285535A (en) | Hybrid directory data dispersion system | |
JPH0256070A (en) | Design data managing system | |
US20200097573A1 (en) | Identification of records for post-cloning tenant identifier translation | |
AU709604B2 (en) | Method of linking processor units in exchange control | |
JPH07175547A (en) | Terminal environment setting system of network system | |
JPS63291142A (en) | System for managing file attribute in remote file access | |
JP2710329B2 (en) | User information management method in distributed system | |
JP2575817B2 (en) | Finding input system |