JPH02297640A - Data access system for distributed data base system - Google Patents

Data access system for distributed data base system

Info

Publication number
JPH02297640A
JPH02297640A JP1118212A JP11821289A JPH02297640A JP H02297640 A JPH02297640 A JP H02297640A JP 1118212 A JP1118212 A JP 1118212A JP 11821289 A JP11821289 A JP 11821289A JP H02297640 A JPH02297640 A JP H02297640A
Authority
JP
Japan
Prior art keywords
file
data
data processing
processing
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.)
Pending
Application number
JP1118212A
Other languages
Japanese (ja)
Inventor
Koji Kotaki
小滝 孝二
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1118212A priority Critical patent/JPH02297640A/en
Publication of JPH02297640A publication Critical patent/JPH02297640A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the time for processing by executing write processing where a file for which data processing is already executed is written to a data base by time sharing processing using the idle time during data processing operation to the next file. CONSTITUTION:When the data processing operation such as addition, change and deletion, etc., to the data of a file 6 is executed and finished, a work station WS 2 does not immediately start the write processing to a data base 3 to this file 6, for which the data processing is already executed, but accepts read operation to a next data file 7. When the read operation to the next file 7 is executed, the read processing to the file 7 is executed and the data processing operation of the file is accepted. When an operator starts the data processing operation to the file, the data processing operation is accepted and write processing to a data base 3 in the preceding file 6, for which the data processing is already executed, is started. Thus, since the write processing is executed by utilizing the idle time during the data processing operation, processing speed is improved as a whole.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は複数のワークステーションが伝送路を介して接
続され、データを各ワークステーションのデータベース
へ分散して格納する分散データベースシステムに係わり
、特に、各データベースに格納された任意のファイルを
能率的にアクセスする分散データベースシステムのデー
タアクセス方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a distributed database in which a plurality of workstations are connected via a transmission line and data is distributed and stored in the database of each workstation. The present invention relates to systems, and particularly to a data access method for a distributed database system that efficiently accesses arbitrary files stored in each database.

(従来の技術) 複数のワークステーション(以下WSと略記する)を伝
送路で接続したLAN (ローカルエリアネットワーク
)の中には、ホストコンピュータを用いずに、データベ
ースを各WSに分散させて組込んだ分散データベースシ
ステムがある。
(Prior art) In a LAN (local area network) in which multiple workstations (hereinafter abbreviated as WS) are connected via transmission lines, a database is distributed and embedded in each WS without using a host computer. There is a distributed database system.

第6図は例えば病院における各患者の各種情報をデータ
ベースに記憶させて各WSから各患者の各種データを検
索、更新できるようにしたシステムを示す図である。す
なわち、伝送路1に接続され各w S 21:l: ハ
データベース3.CRT表示部4゜キーボード5等が組
込まれている。
FIG. 6 is a diagram showing a system in which, for example, various information on each patient in a hospital is stored in a database, and various data on each patient can be searched and updated from each WS. That is, each wS21:l: data base 3.1 connected to the transmission path 1. A CRT display section 4, a keyboard 5, etc. are incorporated.

そして、各WS2のデータベース3内には、第7図に示
すように、各患者毎にオーダファイル6と実施入力ファ
イル7が形成されている。そして、患者数が多いので、
複数のWS2のデータベース3に亘って格納されている
In the database 3 of each WS 2, as shown in FIG. 7, an order file 6 and an implementation input file 7 are created for each patient. And since the number of patients is large,
It is stored across the databases 3 of multiple WS2.

オーダファイル6には該当患者に対するドクターが看護
婦に対して指示する各種オーダデータが記憶されている
。また、実施入力ファイル7には、看護婦がドクターの
指示により実行された該当患者の各種実施データが記憶
されている。したがって、オーダファイル6はドクター
および看護婦が検索するのに対して、実施入力ファイル
7は主として看護婦が検索する。
The order file 6 stores various order data that the doctor instructs the nurse for the patient. Further, the implementation input file 7 stores various implementation data for the patient, which the nurse performed based on the doctor's instructions. Therefore, the order file 6 is searched by doctors and nurses, whereas the implementation input file 7 is searched mainly by nurses.

第8図はドクターが任意の患者に対するオーダファイル
6のデータを追加、変更、削除等のデータ処理操作を実
行する場合の処理手順を示す流れ図であり、第9図は前
記ドクターによるオーダファイル6の更新と看護婦によ
る実施入力ファイル7の更新手順を示す図である。
FIG. 8 is a flowchart showing the processing procedure when the doctor executes data processing operations such as adding, changing, and deleting data in the order file 6 for a given patient, and FIG. It is a figure which shows the update and the update procedure of the implementation input file 7 by a nurse.

先ず、ドクターが一つのWS2において、例えば日付デ
ータを検索キーとして患者番号iの患者のオーダファイ
ル6に対するファイル読出操作を実行すると、該当患者
番号iのオーダファイル6が各WS2のデータベース3
内かから検索されてドクターが操作したWS2のデータ
バッファに読出されて、CR1表示部4に表示される。
First, when a doctor executes a file read operation on the order file 6 of the patient with patient number i in one WS2 using, for example, date data as a search key, the order file 6 of the corresponding patient number i is stored in the database 3 of each WS2.
The information is searched from within, read out to the data buffer of the WS2 operated by the doctor, and displayed on the CR1 display section 4.

そして、ドクターは、キーボード5を用いて、CR1表
示部4に読出されたi番目のオーダファイル6の各デー
タに対して、追加、変更、削除等のデータ処理操作を実
行する。所定のデータ処理操作が終了すると、ドクター
は、データ処理済みの1番目のオーダファイル6を元の
データベース3へ書込む書込操作を実行する。具体的に
は、キーボード5にて書込指令を入力する。書込指令が
入力されたWS2はi番目のオーダファイル6を元のデ
ータベース3へ書込む。
Then, the doctor uses the keyboard 5 to perform data processing operations such as addition, modification, and deletion on each data of the i-th order file 6 read out to the CR1 display section 4. When the predetermined data processing operation is completed, the doctor executes a write operation to write the data-processed first order file 6 to the original database 3. Specifically, a write command is input using the keyboard 5. The WS 2 to which the write command has been input writes the i-th order file 6 to the original database 3.

以上のオーダファイル6に対する更新操作を各患者のオ
ーダファイル6に対して順次実施していく 。
The above update operation for the order file 6 is performed sequentially for each patient's order file 6.

次に、看護婦は、例えばドクターの場合とは異なる一つ
のWS2にて、前述と同様に、日付データを検索キーと
して患者番号iの患者のオーダファイル6に対するファ
イル読出操作を実行する。
Next, the nurse, for example, in one WS 2 different from that of the doctor, executes a file read operation for the order file 6 of the patient with patient number i, using the date data as a search key, as described above.

すると、該当患者番号iのオーダファイル6が各WS2
のデータベース3内かから検索されて看護婦が操作した
WS2のデータバッファに読出されて、CR1表示部4
に表示される。
Then, the order file 6 of the corresponding patient number i is stored in each WS2.
is searched from within the database 3 of
will be displayed.

看護婦は、同様の操作にてデータベース3からi番目の
実施人力ファイル7に対する読出操作を実施して、この
i番目の実施入力ファイル7を自己のWS2へ読出して
、CR1表示部4に表示させる。
The nurse performs a read operation for the i-th implementation human input file 7 from the database 3 using a similar operation, reads this i-th implementation input file 7 to her own WS 2, and displays it on the CR1 display unit 4. .

そして、看護婦はオーダファイル6のドクターが指示し
た各データを見て、そのデータに基いて前記追加、変更
、削除されhデータを新規項目として実施入力ファイル
7に格納(複写)するデータ処理操作を実行し、新規項
目が加入された実施入力ファイル7に対して、ドクター
の指示に対応する実施結果データを、キーボード5を用
いて実施人力ファイル7へ書込む。すなわち、実施入力
ファイル7に対するデータ処理操作を実行する。
Then, the nurse looks at each data specified by the doctor in the order file 6, and based on that data performs a data processing operation to store (copy) the added, changed, and deleted data as new items in the input file 7. is executed, and with respect to the implementation input file 7 to which the new item has been added, implementation result data corresponding to the doctor's instructions is written into the implementation manual file 7 using the keyboard 5. That is, the data processing operation on the implementation input file 7 is executed.

所定のデータ処理操作が終了すると、看護婦は、データ
処理済みのi番目の実施入力ファイル7を元のデータベ
ース3へ書込む書込操作を実行する。
When the predetermined data processing operation is completed, the nurse executes a write operation to write the data-processed i-th implementation input file 7 into the original database 3.

具体的には、キーボード5にて書込指令を人力する。書
込指令が入力されたWS2はi番目の実施入力ファイル
7を元のデータベース3へ書込む。
Specifically, a write command is input manually using the keyboard 5. The WS 2 to which the write command has been input writes the i-th execution input file 7 to the original database 3.

しかしながら、上述したような手順で分散データベース
システムの各データベース3に格納された各ファイル6
.7をデータ更新する手法にいおいては、まだ次のよう
な課題があった。
However, each file 6 stored in each database 3 of the distributed database system is
.. There were still problems with the method of updating data in 7.

すなわち、複数の患者に対するオーダファイル6と実施
入力ファイル7に対する更新処理を連続して実行する場
合、第、10図に示すように、ドクターがオーダファイ
ル6のデータ更新を行う場合には、各患者のオーダファ
イル6に対する読出処理、データ処理、書込処理が順番
に実行される。
That is, when updating the order file 6 and implementation input file 7 for multiple patients in succession, as shown in FIG. Read processing, data processing, and writing processing for the order file 6 are executed in order.

同様に看護婦が実施入力ファイル7のデータ更新を行う
場合においても、オーダファイル6の読出。
Similarly, when a nurse updates data in the implementation input file 7, the order file 6 is read.

実施入力ファイル7に対する読出、新規項目の加入のデ
ータ処理、実施結果データ入力のデータ処理、書込処理
が順番に実行される。
Data processing for reading data from the implementation input file 7, adding new items, data processing for inputting implementation result data, and writing processing are executed in order.

したがって、ドクター側にしても、看護婦側にしても、
1人の患者のファイル6.7に対する一連の処理が終了
しないと次の患者のファイル6.7に対する処理を開始
できない。よって、患者数が増えるとデータ更新に要す
る時間が増大する問題がある。
Therefore, whether it is the doctor's side or the nurse's side,
Unless a series of processes for one patient's file 6.7 is completed, processing for the next patient's file 6.7 cannot be started. Therefore, there is a problem in that as the number of patients increases, the time required to update data increases.

一方、ドクター及び看護婦がキーボード5のキー操作に
よって、CRT表示部4に表示された各ファイル6.7
のデータを追加、変更、削除するデータ処理作業におい
ては、キー人力速度に対してWS2の処理速度が格段に
速いので、WS2としてはキー人力待時間が増大して、
結果的にWS2の処理能力を有効に使用していないこと
になる。
On the other hand, each file 6.7 is displayed on the CRT display section 4 by the doctor and the nurse by key operations on the keyboard 5.
In data processing operations such as adding, changing, and deleting data, the processing speed of WS2 is much faster than the key human power speed, so the key human power waiting time increases for WS2.
As a result, the processing capacity of WS2 is not used effectively.

(発明が解決しようとする課題) このように、従来のデータアクセス方式によれば、更新
すべきファイル数が増大するとデータ更新に要する時間
がファイル数に対応して増大するとともに、逆に空き時
間が増大するという矛盾した現象が生じる不都合が生じ
る。
(Problem to be solved by the invention) As described above, according to the conventional data access method, as the number of files to be updated increases, the time required to update the data increases correspondingly to the number of files, and conversely, the free time increases. This results in the inconvenience of a paradoxical phenomenon in which the amount of energy increases.

本発明はこのような事情に鑑みてなされたものであり、
データ処理済ファイルをデータベースへ書込む書込処理
を次のファイルに対するデータ処理操作中の空き時間で
行うことにより、複数のファイルを連続して更新する場
合に、処理全体に要する時間を短縮でき、システム全体
の操作応答性を向上でき、ファイル更新業務の作業能率
を大幅に向上できる分散データベースシステムのデータ
アクセス方式を提供することを目的とする。
The present invention was made in view of these circumstances, and
By performing the write process of writing data-processed files to the database during data processing operations for the next file, the time required for the entire process can be shortened when multiple files are updated consecutively. The purpose of this invention is to provide a data access method for a distributed database system that can improve the operational responsiveness of the entire system and greatly improve the efficiency of file update operations.

[発明の構成] (課題を解決するための手段) 上jピ課題を解消するために本発明の分散データベース
システムのデータアクセス方式は、それぞれデータベー
スを有した複数のワークステーションを伝送路を介して
接続すると共に、複数のデータを1単位として記憶する
複数のファイルを前記各データベースに分散格納してな
る分散データベースシステムにおいて、 各ワークステーションは、ファイル読出操作に応動して
データベースから指定されたファイルの読出処理を行い
、データ処理操作に応動して読出されたファイルのデー
タに対して指定されたデータ処理を行い、データ処理済
ファイルを元のデータベースに書込む書込処理を、次の
ファイル読出操作にて読出されたファイルに対するデー
タ処理操作期間中における空き時間を利用した時分割処
理で行うようにしたものである。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the data access method of the distributed database system of the present invention connects a plurality of workstations each having a database via a transmission line. In a distributed database system in which multiple files storing multiple pieces of data as one unit are distributed and stored in each database, each workstation reads a specified file from the database in response to a file read operation. Performs read processing, performs specified data processing on the data of the read file in response to the data processing operation, and performs write processing to write the data-processed file to the original database before the next file read operation. This is a time-sharing process that utilizes free time during the data processing operation period for the file read out.

(作用) このように構成されたデータアクセス方式であれば、複
数のファイルに対するデータ更新を連続して実施するる
場合に、一つのファイルに対する読出操作を実施すると
、該当ファイルがデータベースから読出される。そして
、このファイルのデータに対して追加、変更、削除等の
データ処理操作を実行する。そして、このデータ処理操
作が終了すると0、ワークステーション(WS)はこの
データ処理済ファイルに対するデータベースへの書込処
理を直ちに開始せずに、次のデータファイルに対する読
出操作を受付ける。
(Operation) With the data access method configured in this way, when data is updated for multiple files in succession, when a read operation is performed on one file, the corresponding file is read from the database. . Then, data processing operations such as addition, modification, and deletion are performed on the data in this file. When this data processing operation is completed, the workstation (WS) accepts a read operation for the next data file without immediately starting writing processing to the database for this data processed file.

そして、次のファイルに対する読出操作が実施されと、
そのファイルに対する読出処理を実行し、該当ファイル
のデータ処理操作を受付ける。操作者が該当ファイルに
対するデータ処理操作を開始すると、そのデータ処理操
作を受44けると共に、前回のデータ処理済ファイルの
データベースへの書込処理を開始する。すなわち、この
書込処理はデータ処理操作の空き時間を利用して実施さ
れるので、データ処理操作に応動するデータ処理に要す
る時間が増大することはないので、従来の書込処理を独
立して実施していた場合に比較して、全体の処理速度が
増大する。
Then, when a read operation is performed on the next file,
Execute read processing for the file and accept data processing operations for the file. When the operator starts a data processing operation for a corresponding file, the data processing operation is received 44 and writing processing of the previously data-processed file to the database is started. In other words, since this write processing is performed using the free time of data processing operations, the time required for data processing in response to data processing operations does not increase, so conventional write processing can be performed independently. The overall processing speed will be increased compared to when it was implemented.

(実施例) 以下本発明の一実施例を図面を用いて説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例のデータアクセス方式を採用した分散デ
ータシステムの概略構成を示ブロック図である。第6図
及び第7図と同一部分には同一符号を付して、重複する
部分の説明を省略する。
FIG. 1 is a block diagram showing a schematic configuration of a distributed data system employing the data access method of the embodiment. The same parts as in FIGS. 6 and 7 are given the same reference numerals, and the explanation of the overlapping parts will be omitted.

すなわち、伝送路1に接続され各WS2にはデータベー
ス3.CR7表示部4.キーボード5等が組込まれてい
る。そして、各WS2のデータベース3内には、第7図
に示だように、各患者毎にオーダファイル6と実施入力
ファイル7が形成されている。そして、患者数が多いの
で、各ファイル6.7が複数のWS2のデータベース3
に亘って格納されている。
That is, each WS2 connected to the transmission line 1 has a database 3. CR7 display section 4. A keyboard 5 etc. is incorporated. In the database 3 of each WS 2, as shown in FIG. 7, an order file 6 and an implementation input file 7 are created for each patient. Since the number of patients is large, each file 6.7 has multiple WS2 databases 3.
It is stored over the period.

また、各WS2内には、各データベース3がら読出した
各ファイル6.7やデータ処理済ファイルを一時記憶す
るデータバッファやファイル書込予約リスト等を記憶す
るファイル管理情報メモリ8が設けられている。
Furthermore, each WS 2 is provided with a data buffer for temporarily storing each file 6.7 read from each database 3 and data-processed files, and a file management information memory 8 for storing a file write reservation list, etc. .

第2図は、ドクターが複数の患者に対するオーダファイ
ル6のデータを追加5変更、削除等のデータ処理を実行
する場合における、WS2の動作を示す流れ図(メイン
ルーチン)であり、第3図はデータ処理済ファイル6.
7を元のデータベース3へ書込む書込処理を示す流れ図
(サブルーチン)である。また、第4図は前記ドクター
によるオーダファイル6の更新手順と看護婦による実施
人力ファイル7の更新手順を示す図である。
FIG. 2 is a flowchart (main routine) showing the operation of the WS 2 when a doctor executes data processing such as adding, changing, or deleting data in an order file 6 for multiple patients. Processed file 6.
7 is a flowchart (subroutine) showing a write process for writing 7 to the original database 3. FIG. 4 is a diagram showing the procedure for updating the order file 6 by the doctor and the procedure for updating the implementation manual file 7 by the nurse.

第2図のメインルーチンにおいて、S(ステップ)1に
て、患者番号iの患者のオーダファイル6に対するファ
イル読出操作がドクターのキー操作にて実行されると、
S2にて、第3図の書込処理サブルーチンの実行を一時
停止する。
In the main routine of FIG. 2, in S (step) 1, when a file reading operation for the order file 6 of the patient with patient number i is executed by the doctor's key operation,
At S2, execution of the write processing subroutine shown in FIG. 3 is temporarily stopped.

次に、S3にて、該当患者番号lのオーダファイル6を
各WS2のデータベース3内から検索してWS2のデー
タバッファに読出す。同時にCR7表示部4に表示する
Next, in S3, the order file 6 of the corresponding patient number l is retrieved from the database 3 of each WS2 and read into the data buffer of the WS2. It is displayed on the CR7 display section 4 at the same time.

オーダファイル6の読出処理が終了すると、S4にて、
データバッファに記憶されている一つ前のデータ処理済
オーダファイルに対する第3図の書込処理サブルーチン
を起動する。そして、キーボード5からのオーダファイ
ル6に対する追加。
When the reading process of the order file 6 is completed, in S4,
The write processing subroutine of FIG. 3 for the previous data-processed order file stored in the data buffer is activated. Then, additions are made to the order file 6 from the keyboard 5.

変更、削除等のデータ処理操作入力待ちとなる。Waiting for data processing operation input such as modification or deletion.

そして、キーボード5からデータ処理操作指令が入力れ
ると、S5にて、該当データファイル6の各データに対
して、追加、変更、削除等のデータ処理を行う。
When a data processing operation command is input from the keyboard 5, data processing such as addition, modification, deletion, etc. is performed on each data in the corresponding data file 6 in S5.

キーボード5にてデータ処理終了操作が実施されると、
S6にて、データ処理済の患者番号iのオーダファイル
6をデータバッファに格納すると共に、ファイル書込予
約リストに該当オーダファイル6の番号iを登録する。
When the data processing end operation is performed on the keyboard 5,
In S6, the order file 6 of the patient number i whose data has been processed is stored in the data buffer, and the number i of the corresponding order file 6 is registered in the file write reservation list.

S7にて次の患者番号jのオーダファイル6に対するフ
ァイル読出操作が実施されると、S2へ戻り、ファイル
書込処理のサブルーチンを一時停止させ、S3にて患者
番号jのオーダファイル6の読出処理を実行する。
When the file reading operation for the next order file 6 of patient number j is performed in S7, the process returns to S2, the subroutine for file writing processing is temporarily stopped, and the reading process of the order file 6 of patient number j is performed in S3. Execute.

そして、S7にて次の患者番号のオーダファイル6に対
するファイル読出操作が実行されなれければ、このメイ
ンルーチンを終了する。
If the file reading operation for the order file 6 of the next patient number is not executed in S7, this main routine is ended.

第2図の84にて書込処理サブルーチンが51されると
、第3図へ進み、S8にて、ファイル書込予約リストに
データベース3に書込むべきオーダファイル6の番号が
登録されていれば、ファイル書込予約リストの該当番号
を読出し、データバッファに記憶されている該当番号の
オーダファイル6に対するデータベース3への書込処理
を開始する。一つのオーダファイルに対する書込処理が
終了すると88へ戻り、ファイル書込予約リストにまだ
書込が終了していないオーダファイル6の番号が存在す
るか否かを調べ、存在しなければ、この書込処理サブル
ーチンを終了する。
When the write processing subroutine is executed at step 84 in FIG. 2, the process proceeds to FIG. , reads the corresponding number from the file write reservation list, and starts writing processing to the database 3 for the order file 6 with the corresponding number stored in the data buffer. When the writing process for one order file is completed, the process returns to 88, and it is checked whether or not the number of the order file 6 that has not been written yet exists in the file write reservation list, and if it does not exist, this write Terminates the input processing subroutine.

なお、この書込処理のサブルーチンはメインルーチンに
おける各処理の空き時間を利用して時分割処理にて実施
される。
Note that this write processing subroutine is executed in a time-sharing manner using the free time of each processing in the main routine.

すなわち、第3図の書込処理サブルーチンは第2図のメ
インルーチンにおけるデータ処理操作が開始されると起
動し、新たなオーダファイルに対する読出操作が実行さ
れると、その書込処理動作を一時中断する。すなわち、
データ処理済オーダファイル6は、次のオーダファイル
6に対するデータ処理操作期間中に実行される。
That is, the write processing subroutine in Figure 3 starts when the data processing operation in the main routine in Figure 2 is started, and temporarily suspends the write processing operation when a read operation for a new order file is executed. do. That is,
The data processed order file 6 is executed during the data processing operation for the next order file 6.

なお、オーダファイル6のデータベース3に対する書込
処理に要する処理時間、は、ドクターがデータ処理操作
を実行しているキー操作の待時間内で十分処理できる時
間である。したがって、データファイル6のデータベー
ス3に対する書込処理は次のデータファイルに対するデ
ータ処理操作期間中にほぼ終了する。
Note that the processing time required for writing the order file 6 into the database 3 is a time that can be sufficiently processed within the waiting time of the key operation during which the doctor is performing the data processing operation. Therefore, the writing process of the data file 6 to the database 3 is almost completed during the data processing operation period for the next data file.

看護婦が、各患者のオーダファイル6および実施人力フ
ァイル7を読出て、実施入力ファイル7に対するデータ
処理操作を実行して、データ処理済実施入力ファイル7
を元のデータベース3へ書込む場合においても、各WS
2における、データ処理済実施入力ファイル7の書込処
理は、前述と同様に、次の実施入力ファイル7に対する
データ処理操作中に空き時間を利用して時分割処理にて
実行される。
The nurse reads each patient's order file 6 and implementation personnel file 7, executes data processing operations on the implementation input file 7, and creates a data-processed implementation input file 7.
Even when writing to the original database 3, each WS
The writing process of the data-processed implementation input file 7 in step 2 is executed in a time-sharing process using free time during the data processing operation for the next implementation input file 7, as described above.

第5図は、このようなデータアクセス方式を採用した場
合における、各WS2における、ドクターおよび看護婦
が行う操作と、その操作に応動して該当WS2が行う各
処理1、および各WS2が単独で行う時分割処理の実施
タイミングを示すタイムチャートである。
Figure 5 shows the operations performed by doctors and nurses in each WS2, each process 1 performed by the corresponding WS2 in response to the operations, and the operations performed by each WS2 independently when such a data access method is adopted. 3 is a time chart showing the implementation timing of time-sharing processing to be performed.

すなわち、ドクターはi番目のオーダファイル6を読出
し、該当オーダファイル6に対するデータ処理操作を実
施する。次にj番目のオーダファイル6を読出し、該当
オーダファイル6に対するデータ処理操作を実施する。
That is, the doctor reads the i-th order file 6 and performs a data processing operation on the corresponding order file 6. Next, the j-th order file 6 is read and data processing operations are performed on the corresponding order file 6.

この場合、i番目のデータ処理済オーダファイル6はj
番目のオーダファイル6に対するデータ処理操作中に元
のデータベース3へ書込まれる。
In this case, the i-th data processed order file 6 is j
is written to the original database 3 during the data processing operation for the order file 6.

一方、看護婦はi番目のオーダファイル6を読出し、次
にi番目の実施入力ファイル7を読出し、その読出した
i番目の実施入力ファイル7に対する新規事項追加のデ
ータ処理を実行し、次に同じi番目の実施入力ファイル
7に対する実施結果データ入力のデータ処理操作を実行
する。
On the other hand, the nurse reads the i-th order file 6, then reads the i-th implementation input file 7, performs data processing to add new items to the read i-th implementation input file 7, and then performs the same process. A data processing operation for inputting implementation result data to the i-th implementation input file 7 is executed.

続いて、同様に、j番目のオーダファイル6を読出し、
次にj番目の実施入力ファイル7を読出し、その読出し
たi番目の実施入力ファイル7に対する新規事項追加の
データ処理操作を実行し、次に同じi番目の実施入力フ
ァイル7に対する実施結果データ入力のデータ処理操作
を実行する。
Next, read the j-th order file 6 in the same way,
Next, the j-th implementation input file 7 is read, the data processing operation of adding new items is executed to the read i-th implementation input file 7, and then the implementation result data input to the same i-th implementation input file 7 is performed. Perform data processing operations.

この場合、i番目のデータ処理済実施人力ファイル7は
j番目の実施入力ファイル7に対する新規事項追加のデ
ータ処理操作中に元のデータベース3へ書込まれる。な
お、前期i番目のデータ処理済実施人力ファイル7のデ
ータベース3に対する書込処理は実施人力ファイル7に
対する実施結果データ入力のデータ処理操作中にも継続
して実行されることがある。
In this case, the i-th data-processed implementation manual file 7 is written to the original database 3 during the data processing operation of adding new items to the j-th implementation input file 7. Note that the writing process of the i-th data-processed implementation manual file 7 to the database 3 may be continuously executed even during the data processing operation of inputting implementation result data to the implementation manual file 7.

このように、データ処理済の各ファイル6.7は次の各
ファイルに対するデータ処理操作中に、データベース3
へ書込まれるので、各ファイル6゜7に対するデータ処
理操作が終了すると、直ちに次の各ファイル6.7に対
する読出操作を実施することが可能となる。
In this way, each data processed file 6.7 is stored in the database 3 during the data processing operation for each next file.
Therefore, when the data processing operation for each file 6.7 is completed, it becomes possible to immediately perform a read operation for the next file 6.7.

よって、第10図の従来方式と比較しても明らかなよう
に、ドクターや看護婦等の操作者における一つのファイ
ルの更新作業から次のファイルの更新作業までの時間間
隔を短縮することができ、ファイル更新業務の作業能率
を大幅に向上できる。
Therefore, as is clear from the comparison with the conventional method shown in Fig. 10, the time interval between the update work of one file and the update work of the next file by an operator such as a doctor or nurse can be shortened. , the work efficiency of file update operations can be greatly improved.

なお、本発明は上述した実施例に限定されるものではな
い。実施例においては、病院における各患者の各種デー
タをファイルに記憶させたが、病院に限定されるもので
はなく、種々の設備における各種データの検索、更新に
応用できることは言うまでもない。
Note that the present invention is not limited to the embodiments described above. In the embodiment, various data of each patient in a hospital is stored in a file, but it goes without saying that the present invention is not limited to hospitals and can be applied to searching and updating various data in various facilities.

[発明の効果] 以上説明したように本発明の分散データベースシステム
のアクセス方式によれば、データ処理済ファイルをデー
タベースへ書込む書込処理を次のファイルに対するデー
タ処理操作中の空き時間を利用した時分割処理で行うよ
うにしている。上記データ処理操作は操作者が例えばキ
ーボードを用いて行う場合が一般的であり、データ処理
操作中に十分な空き時間が存在する。したがって、複数
のファイルを連続して更新する場合に、処理全体に要す
る時間を短縮でき、システム全体の操作応答性を向上で
き、ファイル更新業務の作業能率を大幅に向上できる。
[Effects of the Invention] As explained above, according to the access method of the distributed database system of the present invention, the write process of writing a data-processed file to the database is performed by utilizing free time during data processing operations for the next file. This is done using time-sharing processing. The data processing operation described above is generally performed by an operator using, for example, a keyboard, and there is sufficient free time during the data processing operation. Therefore, when updating a plurality of files in succession, the time required for the entire process can be shortened, the operational responsiveness of the entire system can be improved, and the work efficiency of file updating operations can be significantly improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図乃至第5図は本発明の一実施例に係わる分散デー
タベースシステムのデータアクセス方式を示すものであ
り、第1図は実施例のデータアクセス方式を採用した分
散データベースシステムを示すブロック図、第2図及び
第3図は動作を示す流れ図、第4図及び第5図は操作手
順を示す図であり、第6図は従来のデータアクセス方式
を採用した分散データベースシステムを示すブロック図
、第7図は各WS内に形成された各ファイルを示す図、
第8図は同従来方式を示す流れ図、第9図及び第10図
は同従来方式の操作手順を示す図である。 1・・・伝送路、2・・・ワークステーション(WS)
、3・・・データベース、4・・・CRT表示部、5・
・・キーボード、6・・・オーダファイル、7・・・実
施入力ファイル、8・・・ファイル管理メモリ。 出願人代理人 弁理士 鈴江武彦 第1図 第2図 第8図 第9図
1 to 5 show a data access method of a distributed database system according to an embodiment of the present invention, and FIG. 1 is a block diagram showing a distributed database system adopting the data access method of the embodiment, FIGS. 2 and 3 are flowcharts showing operations, FIGS. 4 and 5 are diagrams showing operating procedures, FIG. 6 is a block diagram showing a distributed database system adopting a conventional data access method, and FIG. Figure 7 is a diagram showing each file formed in each WS,
FIG. 8 is a flowchart showing the conventional method, and FIGS. 9 and 10 are diagrams showing the operating procedure of the conventional method. 1...Transmission line, 2...Work station (WS)
, 3... Database, 4... CRT display section, 5.
...Keyboard, 6...Order file, 7...Implementation input file, 8...File management memory. Applicant's representative Patent attorney Takehiko Suzue Figure 1 Figure 2 Figure 8 Figure 9

Claims (1)

【特許請求の範囲】 それぞれデータベースを有した複数のワークステーショ
ンを伝送路を介して接続すると共に、複数のデータを1
単位として記憶する複数のファイルを前記各データベー
スに分散格納してなる分散データベースシステムにおい
て、 前記各ワークステーションは、ファイル読出操作に応動
して前記データベースから指定されたファイルの読出処
理を行い、データ処理操作に応動して読出されたファイ
ルのデータに対して指定されたデータ処理を行い、デー
タ処理済ファイルを元のデータベースに書込む書込処理
を、次のファイル読出操作にて読出されたファイルに対
するデータ処理操作期間中における空き時間を利用した
時分割処理で行うことを特徴とする分散データベースシ
ステムのデータアクセス方式。
[Claims] A plurality of workstations each having a database are connected via a transmission line, and a plurality of data are
In a distributed database system in which a plurality of files stored as a unit are distributed and stored in each of the databases, each workstation performs data processing by reading a specified file from the database in response to a file read operation. The specified data processing is performed on the data of the file read in response to the operation, and the write process of writing the data-processed file to the original database is performed on the file read in the next file read operation. A data access method for a distributed database system characterized by performing time-sharing processing using free time during a data processing operation period.
JP1118212A 1989-05-11 1989-05-11 Data access system for distributed data base system Pending JPH02297640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1118212A JPH02297640A (en) 1989-05-11 1989-05-11 Data access system for distributed data base system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1118212A JPH02297640A (en) 1989-05-11 1989-05-11 Data access system for distributed data base system

Publications (1)

Publication Number Publication Date
JPH02297640A true JPH02297640A (en) 1990-12-10

Family

ID=14730985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1118212A Pending JPH02297640A (en) 1989-05-11 1989-05-11 Data access system for distributed data base system

Country Status (1)

Country Link
JP (1) JPH02297640A (en)

Similar Documents

Publication Publication Date Title
EP0037264A2 (en) Associative memory system
JPH0468470A (en) Data sharing control system for cad system
JPH02297640A (en) Data access system for distributed data base system
JP2859214B2 (en) Simplified function selection menu method
JPH02297670A (en) Data base retrieving system
JP2540940B2 (en) Multi-window editing management method
JPH0830426A (en) Data processor
JPS63205741A (en) File managing method
JPH01120621A (en) Retrieving/updating system for data base
JPH0816369A (en) Method and system for clustering
JP2641399B2 (en) File management device
JP3333540B2 (en) Hierarchical symbol correction system
JP2000132518A (en) Small electronic computer
JPH0375873A (en) Data base processing system
JPS62298846A (en) Memory controller
JP2634908B2 (en) Information processing device
JPS63307552A (en) Control system for simultaneous execution
JPH04318635A (en) Data controller
JPS62259136A (en) Method for registering and retrieving document file
JPH01258170A (en) Data set management system
JPH02224152A (en) File exclusive control device
JPH11175325A (en) Device and method for managing cooperation of attribute data between system development supporting tools
JPH01123369A (en) Presentation device
JPS61206053A (en) Data base control system
JPS62120534A (en) Management system of sequence property of data