JPH03252756A - Data managing system - Google Patents

Data managing system

Info

Publication number
JPH03252756A
JPH03252756A JP2050961A JP5096190A JPH03252756A JP H03252756 A JPH03252756 A JP H03252756A JP 2050961 A JP2050961 A JP 2050961A JP 5096190 A JP5096190 A JP 5096190A JP H03252756 A JPH03252756 A JP H03252756A
Authority
JP
Japan
Prior art keywords
data
update
processing unit
distributed
distributed processing
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
JP2050961A
Other languages
Japanese (ja)
Inventor
Hirohisa Shimazu
島津 浩久
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2050961A priority Critical patent/JPH03252756A/en
Publication of JPH03252756A publication Critical patent/JPH03252756A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

PURPOSE:To suppress the traffic of a communication line at a low level and to reduce a communication cost by arranging a file that becomes the target of reference and update processing at each distributed processor that is a generating source to request the file. CONSTITUTION:This system is comprised of a central processing unit 1 provided with a main memory device 2 storing block managing information 3 and an update information managing file 4, and the distributed processors 6, 6a connected to the central processing unit 1 via the communication lines 5, 5a and provided with displays 7, 7a, processors 8, 8a, keyboards 9, 9a, and the files 10, 10a storing data that become the target of the reference and update processing. Therefore, only updated data on which the update processing is applied actually can be transferred between the central processing unit 1 and the distributed processors 6, 6a even when a large amount of data that become the target of the processing exist. Thereby, it is possible to suppress the traffic of the communication line at a low level, and to reduce the communication cost.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は分散処理システムに関し、特に各分散処理装置
配下のデータ管理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a distributed processing system, and particularly to a data management system under each distributed processing device.

〔従来の技術〕[Conventional technology]

従来、分散するデータの管理方法は、 (1)参照・更新処理にリアルタイム性が求められる場
合、データは中央処理装置で一元管理し、各分散処理装
置がら要求される参照データは中央処理装置から分散処
理装置に転送され、また分散処理装置から入力された更
新データは中央処理装置に転送され、それを中央処理装
置のファイルに反映していた。この場合のデータ管理で
は、ファイル内の同一データに対し複数の分散処理装置
が同時に参照・更新処理を行なわないようにブロック単
位あるいはレコード単位の排他制御が実現されていた。
Conventionally, methods for managing distributed data are as follows: (1) When real-time performance is required for reference/update processing, data is centrally managed by a central processing unit, and reference data requested by each distributed processing unit is sent from the central processing unit. Updated data transferred to the distributed processing device and input from the distributed processing device is transferred to the central processing device, and is reflected in the files of the central processing device. In data management in this case, exclusive control is implemented on a block-by-block or record-by-record basis so that multiple distributed processing devices do not simultaneously refer to or update the same data in a file.

(2)参照処理はリアルタイム性が求められるが更新処
理は日次−括処理あるいは月次−括処理のようにリアル
タイム性が求められない場合、同一のデータを各々格納
したファイルが各分散処理装置ごとに配置され、参照処
理は各分散処理装置配下のファイルに対し行なわれてい
た。また、更新要求に関しては各分散処理装置で発生す
る更新データを中央処理装置に転送し、中央処理装置は
それらを一度蓄積・編集した後、全分散処理装置で参照
処理が行なわれていないことを条件に編集済み更新デー
タを全分散処理装置に転送し、各々のファイルに反映し
ていた。
(2) When real-time performance is required for reference processing but real-time performance is not required for update processing such as daily batch processing or monthly batch processing, files storing the same data are stored on each distributed processing device. Reference processing was performed on files under each distributed processing device. In addition, regarding update requests, the update data generated in each distributed processing device is transferred to the central processing unit, and after the central processing unit has stored and edited the data once, it confirms that no reference processing is being performed in all distributed processing devices. The edited updated data was transferred to all distributed processing devices and reflected in each file.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の任意のタイミングで複数の参照・更新要
求がある場合のデータ管理方式は、従来の技術(1)で
示した中央処理装置による一元管理の場合、扱うデータ
の1件あたりの情報量が多いかあるいは各分散処理装置
において1回の参照処理の対象となるデータ件数が多い
時、中央処理装置と分散処理装置とを結ぶ通信回線を転
送する情報量が多いために通信時間が長くなる欠点があ
る。
The conventional data management method described above when there are multiple reference/update requests at arbitrary timings is based on the amount of information per item of data handled in the case of centralized management by a central processing unit as shown in conventional technology (1). When there is a large amount of data, or when there is a large number of data items that are subject to one reference process in each distributed processing device, the communication time becomes long because the amount of information transferred through the communication line connecting the central processing device and the distributed processing device is large. There are drawbacks.

また、従来の技術(2)で示したファイルの分散配置で
は更新処理のリアルタイム性が全く考慮されていない。
Further, in the distributed arrangement of files shown in conventional technique (2), real-time nature of update processing is not considered at all.

従って参照・更新処理にリアルタイム性が要求され、か
つ扱うデータの1件あたりの情報量が多いあるいは1回
の参照処理の対象となるデータ件数が多い場合、これに
適用できるデータ管理方式は実現されていない。
Therefore, when real-time performance is required for reference/update processing and the amount of information per item of data to be handled is large, or the number of data items subject to one reference processing is large, a data management method that can be applied to this has not been realized. Not yet.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータ管理方式は、中央処理装置と複数台の分
散処理装置とを通信回線で接続した分散処理システムに
おいて、同一のデータをもつファイルを各分散処理装置
に分散配置した場合、各ファイルのデータの一致性を保
証するために、各分散処理装置で発生した更新情報を中
央処理装置の更新データ管理ファイルで一元管理し、更
新データ管理ファイルの認識状態フラグを参照すること
により各分散処理装置配下のデータファイルへの更新情
報の反映を任意のタイミングで行なう手段と、各データ
に対する処理の排他性を保証するために、中央処理装置
のブロック管理情報でファイル内のデータをブロック単
位で一元管理し、ある分散処理装置で処理の対象となっ
ているデータを含むブロックにフラグをセットすること
により同一データに対する他の分散処理装置からの処理
要求を受理しない手段とを有する。
The data management method of the present invention is such that in a distributed processing system in which a central processing unit and a plurality of distributed processing units are connected via communication lines, when files with the same data are distributed to each distributed processing unit, each file In order to guarantee data consistency, the update information generated in each distributed processing device is centrally managed in the update data management file of the central processing unit, and each distributed processing device is In order to ensure that updated information is reflected in subordinate data files at any timing and to ensure the exclusiveness of processing for each data, data within a file is centrally managed in blocks using the block management information of the central processing unit. , means for not accepting processing requests for the same data from other distributed processing apparatuses by setting a flag in a block containing data to be processed by a certain distributed processing apparatus.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成図である。同図におい
てデータ管理方式は、ブロック管理情報3のある主記憶
装置2および更新情報管理ファイル4を有する中央処理
装置1と、その中央処理装置1と通信回線5 (5a)
を介して接続されデイスプレィ7(7a)、処理装置f
f18 (8a) 、キーボード9(9a)、および参
照・更新処理の対象となるデータが格納されているファ
イル10(10a)を有する分散処理装置6 (6a)
で構成される。
FIG. 1 is a block diagram of an embodiment of the present invention. In the figure, the data management system includes a main storage device 2 containing block management information 3, a central processing unit 1 having an update information management file 4, and a communication line 5 (5a) between the central processing unit 1 and the central processing unit 1.
Display 7 (7a), processing device f
f18 (8a), a keyboard 9 (9a), and a distributed processing device 6 (6a) having a file 10 (10a) in which data to be referenced and updated is stored.
Consists of.

第2図は各管理情報の例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of each management information.

まず、分散処理装置6aから中央処理装置1にレコード
番号301からレコード番号500までのレコードを対
象とした参照・更新要求が通知されるとする。中央処理
装置1では該当するレコードを含むブロックを第2図に
示すブロック管理情報3で探し、該当するブロック34
.35の処理フラグをオンにセットする。従って、この
処理フラグがオンにセットされているブロックは、その
ブロックの範囲のレコードがいずれかの分散処理装置で
参照・更新処理の対象となっていることを示している。
First, assume that the distributed processing device 6a notifies the central processing unit 1 of a reference/update request for records from record number 301 to record number 500. The central processing unit 1 searches for a block containing the corresponding record using the block management information 3 shown in FIG.
.. 35 processing flag is set on. Therefore, a block for which this processing flag is set to ON indicates that records within the range of that block are subject to reference/update processing in some distributed processing device.

処理フラグがオンにセットされているブロックに対して
他の分散処理装置Xから参照・更新処理要求があった場
合、中央処理装置1は分散処理装置Xにその要求が受は
入れられないことを通知する。
When there is a reference/update processing request from another distributed processing device X for a block whose processing flag is set to on, the central processing device 1 informs the distributed processing device Notice.

次に、中央処理装置1は分散処理装置6aから要求のあ
ったブロック34.35が参照・更新処理が可能である
ことを通知し、これにより分散処理装置t6aはファイ
ルIOAのレコード番号301からレコード番号500
の範囲のデータを自由にアクセスできる。この時、更新
処理ではファイル10aの内容を直接更新すると同時に
中央処理装置1にその更新データを転送する。転送され
た更新データは中央処理装置1の更新データ管理ファイ
ル4に格納される。ただし、格納される際第2図の更新
データファイル4に示すように更新データと初期状態に
セットされた認識状態フラグの対が更新レコード41と
して格納される。この認識状態フラグにオンがセットさ
れていると該当する分散処理装置のファイルにはその更
新データ管理レコードの更新データが反映されていない
ことを意味する。従って認識状態フラグの初期状態は実
際に更新処理を行なった分散処理装置に対応する部分の
みがオフで、それ以外の分散処理装置に対応する部分に
はオンがセットされている。
Next, the central processing unit 1 notifies the distributed processing unit 6a that blocks 34 and 35 requested by the distributed processing unit 6a can be referenced and updated. number 500
You can freely access a range of data. At this time, in the update process, the contents of the file 10a are directly updated and at the same time, the updated data is transferred to the central processing unit 1. The transferred update data is stored in the update data management file 4 of the central processing unit 1. However, when stored, as shown in the update data file 4 of FIG. 2, a pair of update data and a recognition state flag set to the initial state is stored as an update record 41. When this recognition state flag is set to on, it means that the update data of the update data management record is not reflected in the file of the corresponding distributed processing device. Therefore, in the initial state of the recognition state flag, only the portion corresponding to the distributed processing device that actually performed the update process is set to OFF, and the portion corresponding to the other distributed processing devices is set to ON.

さて、分散処理装置6aにおける一連の参照・更新処理
が終了すると、分散処理装置6aはその終了を中央処理
装置1に通知する。終了通知を受けた中央処理装置1は
分散処理袋’li 6 aが参照・更新処理の対象とし
ていたブロック34.35の処理フラグをオフにセット
し、そのブロックを解放する。
Now, when the series of reference/update processing in the distributed processing device 6a is completed, the distributed processing device 6a notifies the central processing unit 1 of the completion. Upon receiving the termination notification, the central processing unit 1 sets off the processing flags of blocks 34 and 35, which were targeted for reference/update processing by the distributed processing bag 'li 6 a, and releases the blocks.

また、その後に分散処理装置6から参照・更新処理要求
があった場合、中央処理装置1は処理の対象となるブロ
ックが使用可能かどうかをブロック管理情報で調べ、使
用可能であれば処理を許可する通知と共に更新データ管
理ファイル4で認識状態フラグの分散処理装置6(同図
の端末Aに対応)に対応する部分がオンにセットされて
いるレコード41,42.45の更新データを分散処理
装置6に転送する。更新データを受けた分散処理装置6
はその更新データをファイル10に反映させた後、許可
された参照・更新処理を受は付ける。
Furthermore, if there is a request for reference/update processing from the distributed processing device 6 after that, the central processing device 1 checks whether the block to be processed can be used or not using the block management information, and if it can be used, allows the processing. At the same time as the update data management file 4, the update data of records 41, 42, and 45 for which the part of the recognition status flag corresponding to the distributed processing device 6 (corresponding to terminal A in the figure) is set to ON is sent to the distributed processing device. Transfer to 6. Distributed processing device 6 that received updated data
After reflecting the updated data in the file 10, it accepts the permitted reference/update processing.

なお、中央処理装置1は更新データを分散処理装置6に
転送する際に該当する更新データ管理レコード41,4
2.45で認識状態フラグの分散処理装置6に対応する
部分をオフにセットする。
Note that when the central processing unit 1 transfers update data to the distributed processing unit 6, the central processing unit 1 uses the corresponding update data management records 41, 4.
At step 2.45, the part of the recognition state flag corresponding to the distributed processing device 6 is set to OFF.

また、分散処理装置6に対応する部分をオフにすること
により、認識状態フラグが全てオフになる更新データ管
理レコード42はこの時更新データ管理ファイル4から
削除される。
Further, by turning off the portion corresponding to the distributed processing device 6, the update data management record 42 whose recognition status flags are all turned off is deleted from the update data management file 4 at this time.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、 (1)参照・更新処理の対象となるファイルをその要求
の発生源である各分散処理装置に配置することにより、
処理の対象となるデータ量が多い場合でも中央処理装置
と分散処理装置との間でやり取りされるのは実際に更新
処理を受けた更新データのみであり、これにより通信回
線のトラヒックを低くおさえ、通信コストが低減される
As explained above, the present invention provides: (1) By placing files to be referenced and updated in each distributed processing device that is the source of the request,
Even when the amount of data to be processed is large, only the updated data that has actually undergone update processing is exchanged between the central processing unit and the distributed processing unit, thereby keeping communication line traffic low. Communication costs are reduced.

(2)ブロック管理情報および更新データ管理ファイル
を用いることにより、分散された各ファイルに対するリ
アルタイムの更新処理においても各ファイルのデータ間
の無矛盾性が保証される。
(2) By using the block management information and the update data management file, consistency among the data of each file is guaranteed even in real-time update processing for each distributed file.

という効果がある。There is an effect.

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

第1図は本発明の一実施例の構成図、第2図は各管理情
報の説明図である。 1・・・中央処理装置、2・・・主記憶装置、3・・・
ブロック管理情報、4・・・更新データ管理ファイル、
5゜5a・・・通信回線、6,6a・・・分散処理装置
FIG. 1 is a configuration diagram of an embodiment of the present invention, and FIG. 2 is an explanatory diagram of each management information. 1...Central processing unit, 2...Main storage device, 3...
Block management information, 4... Update data management file,
5゜5a...Communication line, 6,6a...Distributed processing device.

Claims (1)

【特許請求の範囲】 中央処理装置と複数台の分散処理装置とを通信回線で接
続した分散処理システムにおいて、同一のデータをもつ
ファイルを各分散処理装置に分散配置した場合、 各ファイルのデータの一致性を保証するために、各分散
処理装置で発生した更新情報を中央処理装置の更新デー
タ管理ファイルで一元管理し、更新データ管理ファイル
の認識状態フラグを参照することにより各分散処理装置
配下のデータフアイルへの更新情報の反映を任意のタイ
ミングで行なう手段と、 各データに対する処理の排他性を保証するために、中央
処理装置のブロック管理情報でファイル内のデータをブ
ロック単位で一元管理し、ある分散処理装置で処理の対
象となっているデータを含むブロックにフラグをセット
することにより同一データに対する他の分散処理装置か
らの処理要求を受理しない手段とを有することを特徴と
するデータ管理方式。
[Claims] In a distributed processing system in which a central processing unit and a plurality of distributed processing units are connected via communication lines, when files with the same data are distributed to each distributed processing unit, the data of each file is In order to guarantee consistency, the update information generated in each distributed processing device is centrally managed in the update data management file of the central processing unit, and the update information under each distributed processing device is managed by referring to the recognition status flag in the update data management file. In order to ensure that update information is reflected in data files at arbitrary timing and to ensure the exclusiveness of processing for each piece of data, the data within a file is centrally managed in blocks using block management information of the central processing unit. 1. A data management system comprising: means for not accepting processing requests for the same data from other distributed processing apparatuses by setting a flag in a block containing data to be processed by the distributed processing apparatus.
JP2050961A 1990-03-01 1990-03-01 Data managing system Pending JPH03252756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2050961A JPH03252756A (en) 1990-03-01 1990-03-01 Data managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2050961A JPH03252756A (en) 1990-03-01 1990-03-01 Data managing system

Publications (1)

Publication Number Publication Date
JPH03252756A true JPH03252756A (en) 1991-11-12

Family

ID=12873413

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2050961A Pending JPH03252756A (en) 1990-03-01 1990-03-01 Data managing system

Country Status (1)

Country Link
JP (1) JPH03252756A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644114A (en) * 1992-07-22 1994-02-18 Oki Electric Ind Co Ltd Method for controlling version of resources
JP3004850U (en) * 1994-05-19 1994-11-29 有限会社カートップトミタ Vehicle inventory information system
JPH08147205A (en) * 1994-11-18 1996-06-07 Nec Corp Disk sharing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62192850A (en) * 1986-02-20 1987-08-24 Fujitsu Ltd Data managing system for network system
JPH01184555A (en) * 1988-01-19 1989-07-24 Fujitsu Ltd File information managing system
JPH01245344A (en) * 1988-03-28 1989-09-29 Oki Electric Ind Co Ltd Distributed data base commitment processor
JPH022450A (en) * 1987-12-02 1990-01-08 Xerox Corp Expression of cooperative multi-user activity pertaining to commonly configured data object in net work designed work station environment
JPH0218635A (en) * 1988-07-06 1990-01-22 Nec Software Ltd Decentralized process file control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62192850A (en) * 1986-02-20 1987-08-24 Fujitsu Ltd Data managing system for network system
JPH022450A (en) * 1987-12-02 1990-01-08 Xerox Corp Expression of cooperative multi-user activity pertaining to commonly configured data object in net work designed work station environment
JPH01184555A (en) * 1988-01-19 1989-07-24 Fujitsu Ltd File information managing system
JPH01245344A (en) * 1988-03-28 1989-09-29 Oki Electric Ind Co Ltd Distributed data base commitment processor
JPH0218635A (en) * 1988-07-06 1990-01-22 Nec Software Ltd Decentralized process file control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644114A (en) * 1992-07-22 1994-02-18 Oki Electric Ind Co Ltd Method for controlling version of resources
JP3004850U (en) * 1994-05-19 1994-11-29 有限会社カートップトミタ Vehicle inventory information system
JPH08147205A (en) * 1994-11-18 1996-06-07 Nec Corp Disk sharing system

Similar Documents

Publication Publication Date Title
CN110334145A (en) The method and apparatus of data processing
JPH03252756A (en) Data managing system
JPS63289657A (en) Common file access system
JPH0677958A (en) Electronic conference system
JPH02171846A (en) Transaction processing system
JP2693773B2 (en) Exclusive control method for drawing information
JP2723954B2 (en) Display control device
JPH04305751A (en) File transfer system
JP2001331398A (en) Server-managing system
JPH03266046A (en) Data base high speed access method
JPH04153844A (en) Data base update system
JPS62286137A (en) Decentralized file processing system
JPH06175902A (en) Distributed file system, file managing device, centralized controller and distributed file managing method
JPH06214856A (en) Data backup system
JPH0460850A (en) Transaction completion processing system
CN116662440A (en) Block chain storage method, device, electronic equipment, storage medium and program product
JPH0448365A (en) Local area network and file managing method
JPS6368960A (en) Sequential access controller for shared storage medium
JPH04310146A (en) Data unitary control system for decentralized processing system
JPH04105142A (en) Transaction end processing system
JPH08305621A (en) Data base access sharing system
JPH056317A (en) Document information management system
JPH01220046A (en) Exclusive control method
JPH0387941A (en) Decentralized data base processing system
JPH03240825A (en) Screen data transfer/display system