JPH05158892A - Data management system for distribution processing - Google Patents

Data management system for distribution processing

Info

Publication number
JPH05158892A
JPH05158892A JP32338591A JP32338591A JPH05158892A JP H05158892 A JPH05158892 A JP H05158892A JP 32338591 A JP32338591 A JP 32338591A JP 32338591 A JP32338591 A JP 32338591A JP H05158892 A JPH05158892 A JP H05158892A
Authority
JP
Japan
Prior art keywords
data
server
unit
name
processes
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
JP32338591A
Other languages
Japanese (ja)
Inventor
厚 ▲高▼原
Atsushi Takahara
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP32338591A priority Critical patent/JPH05158892A/en
Publication of JPH05158892A publication Critical patent/JPH05158892A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To permit multiple processes to share data efficiently and to reduce the processing for the consistency control for data reading and writing of each process even when a process occupies data for a long period. CONSTITUTION:The system is provided with a server 6 managing data and performing the exclusive control of process other than process '1' for data and multiple processes 1 receiving data from the server 6. The server 6 has a list corresponding to the name of data for the exclusive control and the place of storing data. The process 1 has a list indicating the changed state of data corresponding to the name of the data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は分散処理におけるデータ
管理方法に係り、特に、分散環境で動作する複数のプロ
セスが同一のデータを共有して動作する場合に、データ
の一貫性を保持して行う分散処理におけるデータ管理方
法に関する。このデータの一貫性を保持する機能は、複
数のプロセスが動作し、同一のデータを共有する環境、
例えば、複数の計算機をネットワークにより接続し、そ
のネットワーク上で同時に動作するプログラムが、一つ
のデータを同時に更新を行うような場合にそれらの複数
のプロセスによる更新を調停することにより用いられ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data management method in distributed processing, and more particularly, to maintain data consistency when a plurality of processes operating in a distributed environment operate by sharing the same data. The present invention relates to a data management method in distributed processing. This data consistency function is an environment where multiple processes operate and share the same data,
For example, when a plurality of computers are connected by a network and a program operating simultaneously on the network updates one data at the same time, the program is used by arbitrating the update by the plurality of processes.

【0002】[0002]

【従来の技術】従来のデータベース等においては、同一
データに対する複数の処理の主体であるプロセスによる
参照または更新を制御する手法として、ロック機構を用
いる手法がある。このロック機構は、一つのプロセスが
データを参照または更新する際に、他のプロセスによる
当該データへの参照または更新を禁止し、更新等によっ
て書き換えられた場合のデータの一貫性を保つものであ
る。
2. Description of the Related Art In a conventional database or the like, there is a method of using a lock mechanism as a method of controlling reference or update by a process which is a main body of a plurality of processes for the same data. This locking mechanism prohibits other processes from referencing or updating the data when one process references or updates the data, and maintains the consistency of the data when it is rewritten by the update or the like. ..

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ロック機構は、一つのプロセスが非常に長い間、データ
に対し他のプロセスの参照または更新を禁止しデータを
占有すると、他のプロセスが待ち状態となり、プロセス
全体の処理効率が低下するという問題がある。また、各
プロセスがデータの参照または更新時に、他のプロセス
のデータへの参照または更新状況を把握するための機構
を付加するため、各プロセスにおけるデータの参照また
は更新の処理が遅くなる。
However, the above locking mechanism is such that if one process prohibits the reference or update of data by another process for a very long time and occupies the data, the other process waits. Therefore, there is a problem that the processing efficiency of the entire process is reduced. Further, when each process refers to or updates data, a mechanism for grasping the status of referencing or updating data of another process is added, which slows down the process of referring to or updating data.

【0004】[0004]

【課題を解決するための手段】参照または更新処理を行
う複数のプロセスと、該プロセスが同時に同一データを
参照または更新する際にデータの一貫性を保証するサー
バを含むデータ管理方式において、プロセス間の通信及
びサーバとの通信を行い、データの参照及び更新処理を
行いデータを管理するプロセスと、現在参照及び更新処
理を行っている第1のプロセス以外の第2のプロセスに
対して排他制御のための通信を行い、第1のプロセスに
より処理された情報を格納するサーバとを有する。
In a data management system including a plurality of processes that perform reference or update processing and a server that guarantees data consistency when the processes simultaneously reference or update the same data, an inter-process Of the exclusive control of the process for performing data communication and server communication, performing data reference and update processing and managing data, and the second process other than the first process currently performing reference and update processing. And a server that stores information processed by the first process.

【0005】また、分散処理におけるデータ管理方式に
おいて、複数のプロセスとの通信を行うプロセス通信部
と、プロセスからアクセスされる単位でデータを格納す
るデータ格納部と、データ格納部でのデータの格納情報
を管理するデータ管理部とを含むサーバと、データの参
照または更新処理を行うデータ処理部と、データ処理部
で処理されたデータ及びデータ格納部でのデータの格納
場所を管理するデータ管理部と、サーバと通信を行うサ
ーバ通信部と、プロセス間との通信を行うプロセス通信
部とを含むプロセスとを有する。また、分散処理におけ
るデータ管理方式において、プロセスからアクセスされ
る単位毎にシーケンシャルファイル上にデータを格納す
る場合に、各単位毎に一意な名前を持つデータ名と、シ
ーケンシャルファイル上のデータ名の格納場所の情報と
を含むサーバのデータ格納部と、データ名とデータ名の
データ格納部上の格納場所の対応関係を示す第1の関係
表を含むサーバのデータ管理部と、データ名、データ名
のデータ格納部上の格納場所、及びプロセスの処理に伴
う前記データの変更の有無を示す情報の第2の関係表を
含むプロセスのデータ管理部とを有する。
Further, in a data management system in distributed processing, a process communication unit for communicating with a plurality of processes, a data storage unit for storing data in units accessed by the processes, and a data storage unit for storing data. A server including a data management unit that manages information, a data processing unit that refers to or updates data, and a data management unit that manages the data processed by the data processing unit and the storage location of the data in the data storage unit. And a process including a server communication unit that communicates with the server and a process communication unit that communicates with each other. Also, in the data management method in distributed processing, when storing data in a sequential file for each unit accessed by a process, the data name with a unique name for each unit and the data name in the sequential file are stored. A data storage unit of the server including location information, a data management unit of the server including a first relation table showing a correspondence relation between a data name and a storage location of the data name on the data storage unit, a data name, and a data name And a data management unit of the process including a second relation table of information indicating whether or not the data is changed due to the processing of the process.

【0006】[0006]

【作用】本発明のデータ管理方式は、一つのプロセスで
処理されているデータを管理し、それに対する排他制御
を行うサーバと、そのサーバと通信し、サーバからデー
タを受け取る複数のプロセスから構成され、サーバに
は、他のプロセスに対する排他制御のためのデータ名と
データの格納場所との対応関係を持つ表を有しており、
また、プロセスはデータ名とデータの格納場所とさら
に、そのデータが更新により変更されているかどうかの
状態を示す関係表を有し、プロセスとサーバの両者の関
係表を参照することにより、同一のデータに対する複数
のプロセスからの参照または更新におけるデータの一貫
性を保つ。各プロセスがデータの書込みを行う場合に
は、各プロセスが更新されたデータを更新前のデータに
追加する。また、プロセスは更新されたデータの格納場
所を記憶しておく。複数の更新が異なるプロセスで行わ
れた後に、プロセス間でデータの一貫性を保つ場合に
は、各プロセスが持つデータ名データの格納場所、及び
データの格納位置の情報をプロセス間及びプロセスとサ
ーバ間で交換し、両者のデータの一貫性を保つ。
The data management system of the present invention comprises a server that manages data processed by one process and performs exclusive control on the data, and a plurality of processes that communicate with the server and receive data from the server. , The server has a table having a correspondence relationship between data names and data storage locations for exclusive control with respect to other processes,
In addition, the process has a data name, a data storage location, and a relational table showing the state of whether the data has been changed by the update. By referring to the relational table of both the process and the server, the same process can be obtained. Keep data consistent with references or updates from multiple processes to the data. When each process writes data, each process adds the updated data to the data before updating. The process also stores the storage location of the updated data. When data is kept consistent between processes after multiple updates are performed in different processes, information on the storage location of the data name data and the storage location of the data possessed by each process is used between the processes and between the process and the server. Exchange between the two and keep the data consistent between them.

【0007】[0007]

【実施例】図1は本発明の構成を示すブロック図を示
す。本発明のデータ管理方式は、複数のプロセス1との
通信機能、データを管理するする機能を備えたサーバ6
と、サーバ6及び他のプロセスとの通信機能、データ管
理機能、データ処理機能を備えたプロセス1から構成さ
れる。
1 is a block diagram showing the structure of the present invention. The data management system of the present invention is a server 6 having a function of communicating with a plurality of processes 1 and a function of managing data.
And a process 1 having a communication function with the server 6 and other processes, a data management function, and a data processing function.

【0008】また、この方式をハードウェア構成で表す
と、以下のような構成となる。図2は本発明のハードウ
ェア構成を示すブロック図である。プロセス1は中央演
算装置と主記憶21及び、通信装置22を含み、サーバ
6は中央演算装置及び主記憶27、通信装置28、外部
記憶制御装置29から構成され、サーバ6からの格納情
報を記憶する外部記憶装置24がサーバ6に接続され、
プロセス1及びサーバ6は通信媒体27により接続され
る。
The hardware structure of this system is as follows. FIG. 2 is a block diagram showing the hardware configuration of the present invention. The process 1 includes a central processing unit, a main memory 21, and a communication device 22, and the server 6 is composed of a central processing unit and a main memory 27, a communication device 28, and an external storage control device 29, and stores the stored information from the server 6. External storage device 24 is connected to the server 6,
The process 1 and the server 6 are connected by the communication medium 27.

【0009】図3は本発明の図1の詳細を示すブロック
図である。先ず、プロセス1は、データの参照及び更新
等の処理を行うデータ処理部2、データ名、データの変
更の有無、データのサーバ6上の管理場所を関係表とし
て管理するデータ管理部3、対サーバ6と通信するため
の機能を有するサーバ通信部4及び、他のプロセスとの
通信を行うためのプロセス間通信部5を有する。次にサ
ーバ6は複数のプロセスとの通信を行うための機能を有
するプロセス通信部7、データ名、データの格納場所の
関係を表として管理するデータ管理部8、外部記憶装置
として、データをシーケンシャルファイルに格納するデ
ータ格納部9を有する。
FIG. 3 is a block diagram showing details of FIG. 1 of the present invention. First, the process 1 includes a data processing unit 2 that performs processing such as data reference and update, a data management unit 3 that manages a data name, whether or not the data has been changed, and a management location of the data on the server 6 as a relation table. A server communication unit 4 having a function of communicating with the server 6 and an inter-process communication unit 5 for communicating with other processes are included. Next, the server 6 sequentially processes data as a process communication unit 7 having a function of communicating with a plurality of processes, a data management unit 8 that manages a relationship between data names and data storage locations as a table, and an external storage device. It has a data storage unit 9 for storing it in a file.

【0010】図4は本発明のサーバのデータ格納部9を
詳細に示す図である。このデータ格納部9はシーケンシ
ャルファイルであり、例として、格納領域を1〜100
の100個の領域とし、それぞれの格納データはプロセ
ス1からアクセスされる単位で格納され、各データ単位
毎に名前が付けられる。この名前をデータ名と呼び、デ
ータ名“A”を格納場所“1”に格納し、データ名
“B”を格納場所“2”に格納し、データ名“Z”を格
納場所“100”に格納する。
FIG. 4 is a diagram showing in detail the data storage unit 9 of the server of the present invention. The data storage unit 9 is a sequential file, and as an example, the storage area is 1 to 100.
Of 100 areas, each stored data is stored in a unit accessed by the process 1, and a name is given to each data unit. This name is called a data name, the data name “A” is stored in the storage location “1”, the data name “B” is stored in the storage location “2”, and the data name “Z” is stored in the storage location “100”. Store.

【0011】図5は本発明のサーバのデータ管理部8を
詳細に示す。サーバのデータ管理部8は、図4のデータ
格納部9におけるデータ名、そのデータ名に対応するシ
ーケンシャルファイル上のデータの格納場所の対応を表
として管理する。
FIG. 5 shows in detail the data management unit 8 of the server of the present invention. The data management unit 8 of the server manages, as a table, the correspondence between the data name in the data storage unit 9 in FIG. 4 and the storage location of the data on the sequential file corresponding to the data name.

【0012】図6は本発明のプロセスのデータの管理部
を詳細に示す。プロセス1のデータ管理部3は、データ
名、データのサーバ側のデータ格納部9における格納場
所と、更新処理等によりデータ名に対応するデータの変
更があったかを示す変更有無を表として管理する。
FIG. 6 shows in detail the data manager of the process of the invention. The data management unit 3 of the process 1 manages a data name, a storage location of the data in the data storage unit 9 on the server side, and presence / absence of a change indicating whether or not the data corresponding to the data name has been changed due to update processing or the like.

【0013】次に、上述の構造を有するプロセス1とサ
ーバ6においてデータの管理手順を説明する。図7は本
発明の第1の実施例のプロセスのデータを変更する例を
示す。第1の実施例では、プロセス1の名称を“TOO
L−A”と“TOOL−B”とし、サーバ6の名称を
“DATA−SERVER”とする。同図(A)はプロ
セスTOOL−Aのデータ管理部3、(B)はプロセス
TOOL−Bのデータ管理部、(C)はサーバDATA
−SERVER、(D)はデータ格納部9のデータ格納
状態を示す。図7に示すTOOL−A及びTOOL−B
の内容及びサーバDATA−SERVERの内容は、更
新前のデータである。同図の例では、データ“A”、
“B”がプロセスTOOL−A及びプロセスTOOL−
Bで共用されており、これらに対してデータの一貫性を
とる必要がある。プロセスTOOL−Aがデータ名
“A”のデータを変更したとき、プロセスTOOL−A
では、データAが変更したことを表に登録し、さらに、
これまで格納されていた場所のデータを削除する。
Next, a data management procedure in the process 1 and the server 6 having the above structure will be described. FIG. 7 shows an example of changing the data of the process of the first embodiment of the present invention. In the first embodiment, the name of process 1 is "TOO".
Let L-A "and" TOOL-B ", and the name of the server 6 be" DATA-SERVER. "FIG. Data management unit, (C) is server DATA
-SERVER, (D) shows the data storage state of the data storage unit 9. TOOL-A and TOOL-B shown in FIG.
And the contents of the server DATA-SERVER are data before updating. In the example of the figure, data “A”,
"B" is process TOOL-A and process TOOL-
It is shared by B and it is necessary to make data consistent with them. When the process TOOL-A changes the data of the data name "A", the process TOOL-A
Then, register that the data A has changed in the table, and further,
Delete the location data that was previously stored.

【0014】この結果を図8に示す。プロセスTOOL
−Aのデータ名“A”に対応する“格納場所”のデータ
は削除され、“変更の有無”については、「変更有
り」、となる。この変更されたデータ名“A”と変更さ
れたデータは、サーバDATA−SERVERに送ら
れ、サーバ6のデータ格納部9はこの情報を格納する。
プロセスTOOL−Aが変更したデータの名前と変更さ
れたデータはサーバDATA−SERVERに送られ、
プロセスTOOL−AはサーバDATA−SERVER
から変更データの新たな“格納場所”の情報を受け取
る。この結果、プロセスTOOL−A,TOOL−Bの
データ管理部3、及びサーバDATA−SERVERの
データ管理部8、及びデータ格納部9は図9に示すよう
な結果になる。
The results are shown in FIG. Process TOOL
The data in the “storage location” corresponding to the data name “A” of −A is deleted, and the “presence or absence of change” becomes “changed”. The changed data name “A” and the changed data are sent to the server DATA-SERVER, and the data storage unit 9 of the server 6 stores this information.
The name of the data changed by the process TOOL-A and the changed data are sent to the server DATA-SERVER,
Process TOOL-A is a server DATA-SERVER
Receives new "storage location" information for changed data from. As a result, the data management unit 3 of the processes TOOL-A and TOOL-B, the data management unit 8 of the server DATA-SERVER, and the data storage unit 9 have the results shown in FIG.

【0015】サーバDATA−SERVERのデータ
“A”の“格納場所”はデータ格納部9の格納場所
「3」となり、新しいデータは新たな格納場所として、
データ格納部9の第3番目の格納位置にデータ名“A”
が格納される。しかし、プロセスTOOL−AとTOO
L−Bの間においては、サーバDATA−SERVER
からの変更情報を受け取るのはプロセスTOOL−Aの
みであるので、プロセスTOOL−Bに対してデータの
一貫性が失われる。
The "storage location" of the data "A" of the server DATA-SERVER becomes the storage location "3" of the data storage unit 9, and the new data becomes a new storage location.
The data name “A” is stored in the third storage position of the data storage unit 9.
Is stored. However, the process TOOL-A and TOOL
Between LB, the server DATA-SERVER
Since only the process TOOL-A receives the change information from, the data consistency is lost with respect to the process TOOL-B.

【0016】プロセスTOOL−A及びTOOL−B間
でのデータの一貫性を保つ処理は、次の手順で行われ
る。まず、プロセスTOOL−Aはデータ変更した情報
について、変更したデータのデータ名、新しい格納場所
をプロセス間通信部5を用いてプロセスTOOL−Bに
対してデータ変更を知らせる。次にプロセスTOOL−
BはTOOL−Aから知らされた情報に基づき、プロセ
スTOOL−Bの表を変更する。
The process of keeping the data consistent between the processes TOOL-A and TOOL-B is performed in the following procedure. First, the process TOOL-A informs the process TOOL-B of the data change by using the interprocess communication unit 5 about the data name of the changed data and the new storage location of the changed information. Next, the process TOOL-
B modifies the process TOOL-B table based on the information provided by TOOL-A.

【0017】図10は本発明の一実施例のプロセス間に
おけるデータ一貫性保持の例を示す図である。 プロセスTOOL−Aのデータ“A”の格納場所が
「3」に変更されたことをプロセスTOOL−Bに通知
する。 プロセスTOOL−Bは自身の表の当該データ“A”
の格納場所を「1」から「3」に変更する。 さらに、プロセスTOOL−Bでは、変更されたデー
タが必要とする際に、データ管理部の表のデータ名と格
納場所を指定して、サーバに要求することにより、変更
後のデータ管理部3の表に基づいて、データをサーバD
ATA−SERVERのデータ格納部9から読み込む。 これにより、プロセスTOOL−A、TOOL−B間の
データの一貫性が保たれる。
FIG. 10 is a diagram showing an example of maintaining data consistency between processes according to an embodiment of the present invention. The process TOOL-B is notified that the storage location of the data “A” of the process TOOL-A has been changed to “3”. Process TOOL-B has the corresponding data “A” in its own table.
The storage location of is changed from "1" to "3". Further, in the process TOOL-B, when the changed data is needed, the data name and the storage location of the table of the data management unit are designated, and the server is requested, whereby the changed data management unit 3 Data from server D based on table
The data is read from the ATA-SERVER data storage unit 9. Thereby, the data consistency between the processes TOOL-A and TOOL-B is maintained.

【0018】データの一貫性を保つ処理では、プロセス
により行われる処理内容によっては、即座にデータの変
更を反映する必要がある場合と、プロセスがそのデータ
を必要となった時点で反映する場合がある。本発明は、
変更を行った第1のプロセスから送られた情報を受け取
った第2のプロセスが、その情報をデータ管理するため
の表に反映する時期を変化させることにより、調整する
ことができる。
In the process of keeping the data consistent, depending on the contents of the process, it may be necessary to immediately reflect the change in the data, or the process may reflect the data when it is needed. is there. The present invention is
Adjustment can be made by changing the time when the second process that receives the information sent from the first process that has made the change reflects the information in the table for data management.

【0019】[0019]

【発明の効果】上述のように本発明によれば、各プロセ
スのデータの参照または更新の処理は変更されたデータ
を変更する以前のデータに追加することにより、他のプ
ロセスに影響を与えないで行うことができるため、従来
の方法のように、他のプロセスの処理を中断することが
ない。
As described above, according to the present invention, the process of referring to or updating the data of each process does not affect other processes by adding the changed data to the data before the change. Therefore, unlike the conventional method, the processing of other processes is not interrupted.

【0020】また、データの一貫性を保つ処理は、各プ
ロセスが必要になった時にのみ行われるため、従来の方
法がデータのアクセス毎に調停を行うのとは異なり、効
率的に行うことができる。
Further, since the process for maintaining the data consistency is performed only when each process is required, it can be efficiently performed unlike the conventional method in which arbitration is performed for each data access. it can.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明のハードウェア構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing a hardware configuration of the present invention.

【図3】本発明の一実施例の図1の詳細を示すブロック
図である。
FIG. 3 is a block diagram showing details of FIG. 1 of one embodiment of the present invention.

【図4】本発明の一実施例のサーバのデータ格納部を詳
細に示す図である。
FIG. 4 is a diagram showing in detail a data storage unit of the server according to the embodiment of the present invention.

【図5】本発明の一実施例のサーバのデータ管理部を詳
細に示す図である。
FIG. 5 is a diagram showing in detail a data management unit of the server according to the embodiment of the present invention.

【図6】本発明の一実施例のプロセスのデータ管理部を
詳細に示す図である。
FIG. 6 is a diagram showing in detail the data management unit of the process of the embodiment of the present invention.

【図7】本発明の一実施例のプロセスのデータを変更す
る例を示す図(その1)である。
FIG. 7 is a diagram (No. 1) showing an example of changing the data of the process according to the embodiment of the present invention.

【図8】本発明の一実施例のプロセスのデータを変更す
る例を示す図(その2)である。
FIG. 8 is a diagram (No. 2) showing an example of changing the data of the process according to the embodiment of the present invention.

【図9】本発明の一実施例のプロセスのデータを変更す
る例を示す図(その3)である。
FIG. 9 is a diagram (No. 3) showing an example of changing data of the process according to the embodiment of the present invention.

【図10】本発明の一実施例のプロセス間におけるデー
タ一貫性保持を行う順序を示す図である。
FIG. 10 is a diagram showing an order of maintaining data consistency between processes according to an embodiment of the present invention.

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

1 プロセス 2 データ処理部 3 データ管理部 4 サーバ通信部 5 プロセス間通信部 6 サーバ 7 プロセス通信部 8 データ管理部 9 データ格納部 21,27 中央演算装置(CPU) 22,28 通信装置 24 外部記憶装置 25,26 計算機 29 外部記憶制御装置 1 process 2 data processing unit 3 data management unit 4 server communication unit 5 inter-process communication unit 6 server 7 process communication unit 8 data management unit 9 data storage unit 21, 27 central processing unit (CPU) 22, 28 communication device 24 external storage Device 25, 26 Computer 29 External storage controller

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 参照または更新処理を行う複数のプロセ
スと、該プロセスが同時に同一データを参照または更新
する際にデータの一貫性を保証するサーバを含むデータ
管理方式において、 前記プロセス間の通信及び前記サーバとの通信を行い、
データの参照及び更新処理を行い該データを管理するプ
ロセスと、 現在参照及び更新処理を行っている第1のプロセス以外
の第2のプロセスに対して排他制御のための通信を行
い、該第1のプロセスにより処理された情報を格納する
サーバとを有することを特徴とする分散処理におけるデ
ータ管理方式。
1. A data management system including a plurality of processes for performing a reference or update process and a server for guaranteeing data consistency when the processes simultaneously reference or update the same data. To communicate with the server,
Communication for exclusive control is performed with respect to a process that performs data reference and update processing and manages the data, and a second process other than the first process that is currently performing reference and update processing for exclusive control. And a server for storing information processed by the above process, a data management method in distributed processing.
【請求項2】 分散処理におけるデータ管理方式におい
て、 複数のプロセスとの通信を行うプロセス通信部と、該プ
ロセスからアクセスされる単位でデータを格納するデー
タ格納部と、該データ格納部でのデータの格納情報を管
理するデータ管理部とを含むサーバと、 データの参照または更新処理を行うデータ処理部と、該
データ処理部で処理されたデータ及び該データ格納部で
の該データの格納場所を管理するデータ管理部と、前記
サーバと通信を行うサーバ通信部と、プロセス間との通
信を行うプロセス通信部とを含むプロセスとを有するこ
とを特徴とする請求項1記載の分散処理におけるデータ
管理方式。
2. In a data management method in distributed processing, a process communication unit that communicates with a plurality of processes, a data storage unit that stores data in units accessed by the processes, and data in the data storage unit. A server including a data management unit that manages storage information of the data, a data processing unit that refers to or updates data, a data processed by the data processing unit, and a storage location of the data in the data storage unit. The data management in distributed processing according to claim 1, further comprising a data management unit that manages the data, a server communication unit that communicates with the server, and a process including a process communication unit that communicates between the processes. method.
【請求項3】 分散処理におけるデータ管理方式におい
て、 前記プロセスからアクセスされる単位毎にシーケンシャ
ルファイル上にデータを格納する場合に、各単位毎に一
意な名前を持つデータ名と、該シーケンシャルファイル
上の該データ名の格納場所の情報とを含むサーバのデー
タ格納部と、 前記データ名と前記データ名の前記データ格納部上の格
納場所の対応関係を示す第1の関係表を含むサーバのデ
ータ管理部と、 前記データ名、前記データ名の前記データ格納部上の格
納場所、及びプロセスの処理に伴う前記データの変更の
有無を示す情報の第2の関係表を含むプロセスのデータ
管理部とを有することを特徴とする請求項2記載の分散
処理におけるデータ管理方式。
3. A data management method in distributed processing, wherein, when data is stored in a sequential file for each unit accessed by the process, a data name having a unique name for each unit and the sequential file Data of the server including information on the storage location of the data name of the server, and data of the server including a first relationship table indicating a correspondence relationship between the data name and the storage location of the data name on the data storage section A management unit, and a process data management unit including a second relation table of the data name, a storage location of the data name on the data storage unit, and information indicating whether or not the data is changed due to process processing. The data management method in distributed processing according to claim 2, further comprising:
JP32338591A 1991-12-06 1991-12-06 Data management system for distribution processing Pending JPH05158892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32338591A JPH05158892A (en) 1991-12-06 1991-12-06 Data management system for distribution processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32338591A JPH05158892A (en) 1991-12-06 1991-12-06 Data management system for distribution processing

Publications (1)

Publication Number Publication Date
JPH05158892A true JPH05158892A (en) 1993-06-25

Family

ID=18154158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32338591A Pending JPH05158892A (en) 1991-12-06 1991-12-06 Data management system for distribution processing

Country Status (1)

Country Link
JP (1) JPH05158892A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002373143A (en) * 2001-06-13 2002-12-26 Seiko Epson Corp System and method for updating resource for device and information recording medium
WO2018042644A1 (en) * 2016-09-05 2018-03-08 三菱電機株式会社 Embedded system, embedded system control method, and data consistency determination method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002373143A (en) * 2001-06-13 2002-12-26 Seiko Epson Corp System and method for updating resource for device and information recording medium
WO2018042644A1 (en) * 2016-09-05 2018-03-08 三菱電機株式会社 Embedded system, embedded system control method, and data consistency determination method
JP6351901B1 (en) * 2016-09-05 2018-07-04 三菱電機株式会社 Embedded system and embedded system control method
US10838786B2 (en) 2016-09-05 2020-11-17 Mitsubishi Electric Corporation Embedded system, embedded system control method and data consistency judgment method

Similar Documents

Publication Publication Date Title
US7024525B2 (en) Distributed background track processing
US6269432B1 (en) Distributed transactional processing system having redundant data
US5832521A (en) Method and apparatus for performing consistent reads in multiple-server environments
JPH0713813B2 (en) Data access method and data processing system
US5093782A (en) Real time event driven database management system
US6088757A (en) Computer program means and device for conducting high performance locking facility in a loosely coupled environment
US5900009A (en) System and method for accessing records in a cache slot which are associated with a current owner storage element or at least one previous owner storage element
US6092166A (en) Cross-system data piping method using an external shared memory
JPH05158892A (en) Data management system for distribution processing
JPH07244642A (en) Parallel processing computers
JP2545436B2 (en) Distributed database commitment processor
JP2746189B2 (en) File access control system
US8275809B2 (en) Object processing system using an object model
JPH05128070A (en) Remote cache control device and its method
JPH1139208A (en) Shared memory system
JPH0498546A (en) Duplicate data updating system
JPS6368960A (en) Sequential access controller for shared storage medium
JP3559571B2 (en) Data processing device and data processing method
KR20020037399A (en) method for processing a transaction of the database management system
JP3050194B2 (en) A system for dynamically adding a shared memory file between hosts, a method for dynamically adding a shared memory file between hosts, and a recording medium storing a program for dynamically adding a shared memory file between hosts
JPH039443A (en) Data set managing system
JPH06175902A (en) Distributed file system, file managing device, centralized controller and distributed file managing method
JPH0387941A (en) Decentralized data base processing system
JPS6022784B2 (en) Duplicate data integrity maintenance method
JPH0397044A (en) Distributed data base system