JPS582939A - File controlling system - Google Patents

File controlling system

Info

Publication number
JPS582939A
JPS582939A JP56100143A JP10014381A JPS582939A JP S582939 A JPS582939 A JP S582939A JP 56100143 A JP56100143 A JP 56100143A JP 10014381 A JP10014381 A JP 10014381A JP S582939 A JPS582939 A JP S582939A
Authority
JP
Japan
Prior art keywords
data
index
write
processing
address
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.)
Granted
Application number
JP56100143A
Other languages
Japanese (ja)
Other versions
JPH0318215B2 (en
Inventor
Masaki Hirato
平戸 正樹
Tatsuo Yamaoka
山岡 辰男
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56100143A priority Critical patent/JPS582939A/en
Publication of JPS582939A publication Critical patent/JPS582939A/en
Publication of JPH0318215B2 publication Critical patent/JPH0318215B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9017Indexing; Data structures therefor; Storage structures using directory or table look-up

Abstract

PURPOSE:To perform processings without contradiction between the write side and the read side, by providing a write operation flag, a controlling part, index areas having data addresses and processing flags respectively, and data areas generating subvolumes in a file. CONSTITUTION:A direct access storage device DASD 1 is provided with a write operation flag which indicates whether the write processing is executed or not, a controlling part 4 having the latest index IDX number, IDXes 5-1-5-m having start and end data addresses and processing flags respectively, and subvolumes 6-1-6-m consisting of n-number of unit length data and is connected to an on- line real time processing part 2 and a batch processing part 3. In case of the data write from the processing part 2 to the device DASD1, data is written in the volume 6-m, and the end data address of the IDX5-m is updated, and the latest IDX number of the controlling part 4 is updated. In case of the data read from the device DASD1 to the processing part 3, IDXes are retrieved in order form the controlling part 4, and retrieval results are referred to read data subvolumes in parallel with the write operation.

Description

【発明の詳細な説明】 本発明は、ファイルを介して装置Aから装置Bヘデータ
が送られるようになったシステムにおいて、装置A側お
よび装置B側において矛盾なく処理を行い得るようにし
九ファイル制御方式に関するもので6る◎ 従来からファイルを介してリアルタイム的データの受渡
しが行われて米たが、その場合のファイル構造は単純な
シーケンシャル・データとそのポインタにより簡単K1
1llできる。しかし、ファイルの論理的な内部構造が
より複雑になりた場合、7アイルの書込み側および読出
し側圧おいて矛盾なく処理を行うことは容易てはない。
DETAILED DESCRIPTION OF THE INVENTION In a system where data is sent from device A to device B via a file, the present invention enables processing to be performed without contradiction on the device A side and device B side. Regarding the method, ◎ Real-time data exchange has traditionally been carried out via files, but the file structure in that case is simple with simple sequential data and its pointers.
I can do 1ll. However, when the logical internal structure of a file becomes more complex, it is not easy to perform consistent processing on the writing and reading sides of the seven isles.

本発明は、上記の考察に基づくものでTo−)て。The present invention is based on the above considerations.

複雑な論理的内部構造を有するファイルを介して装置A
から装置Bへのデータの受渡しが行われるシステムにお
いて、書込み側および貌出し側で矛盾なく処理を行い得
るようになり九ファイル制御方式を提供すること管目的
としている。そしてそのため、本発明のファイル制御方
式は、ファイルに、書込み処理中か否かを示す書込み動
作フラグと最新インデッタス番号を持つ管理部、先頭デ
ータφアドレスと最終データーアドレスと処理フラグt
もつインデックス會作成するためのインデックス領域、
および悌個(sは正の整数)の単位長のデータからなる
ナプ・ポリ轟−ム會作成するためのデータ領域を設け、
データを書込む場合、サブ・ポリ、−五を開設するため
の所定の事象が生起し九時には、上記インデックス領域
KfIfr次にイン、デッタス會作成して幽皺インデッ
クスに、上記データ領域の空き領域に新たに作成される
サブ拳ポリ墨−ムの先頭アドレスを書込むと共にオンの
処317ラグを書込み、次いで上記管理部の最新インデ
ッタス番号が当皺インデックスを指すように更新すると
共に上記書込み動作ブッダtオンとし。
Device A via a file with a complex logical internal structure
In a system in which data is transferred from device B to device B, the purpose of the present invention is to provide a nine-file control method that allows processing to be performed without contradiction on the writing side and on the displaying side. For this reason, the file control method of the present invention includes a management section that has a write operation flag indicating whether or not a write process is in progress and the latest index number, a start data φ address, a final data address, and a processing flag t.
An index area for creating an index society,
and provide a data area for creating a nap polymechanism consisting of data of unit length (s is a positive integer),
When writing data, a predetermined event for opening a sub-poly, -5 occurs, and at 9 o'clock, the above index area KfIfr is next created, and an empty area of the above data area is created in the wrinkled index. Write the start address of the newly created sub-fist polychrome and write the ON place 317 lag, then update the latest index number of the management section to point to the current index, and write the above write operation Buddha. Turn on t.

上記インデックスの作成および管理部の更新が行われ友
後、新しく作成されたテプ・ポリ凰−人に単位長のデー
タ會順次畳込むと共に新しく作成され曳対応するインデ
ックスの最終データ・アドレスを更新し、tプ・ポリ為
−ム會終結されるための所定の事象が生起し九時には、
書込中のサブ・ポリ為−五に対応するインデックスの処
理フラグをオフとし、データの読出しを行う場合には先
ず管理Sを検索し1次いでインデックス【検索し、これ
らの結果を参照してサブ・ポリ、−ムからのデータの読
出しt行うことを特徴とするものである0以下1本発明
會図面管参照しつつ説明する。
After the above index has been created and the management section has been updated, the unit-length data is sequentially folded into the newly created index and the final data address of the corresponding index is updated. At 9 o'clock, the predetermined event for terminating the meeting occurs.
When reading data by turning off the processing flag of the index corresponding to the sub-policy being written, first search the management S, then index [Search, refer to these results, and The present invention will be described with reference to the drawings.

図は本発明の1実施例會説明するものである。The figure illustrates one embodiment of the invention.

同図において、1はDA8D (直接アク七ス記憶装置
)、2はオンツインのリアルタイム処理部、3 Fiハ
y 9161111m−4B管n1ls、 5−171
イt、5−鶴はインデックス、6−1ないし6mはサブ
・ポリ轟−ム會それぞれ示している。
In the same figure, 1 is a DA8D (direct access storage device), 2 is an on-twin real-time processing unit, 3 is a Fi high 9161111m-4B tube n1ls, 5-171
It, 5-Tsuru indicates the index, and 6-1 to 6m indicate the sub-poly drum meeting, respectively.

DA8DIH,管j1ms4.4ンfylx5−1ない
しト1、サブ・ポリ暴−ム6−1ないし6−IIIt有
している0管理1部4は、オンライン側動作ブッダ、最
新インデックス番号および最新インデックス処理フラグ
を有している。オンライン側動作ブッダがONであれば
、オンライン・リアルタイム処11112がDA801
tアクセスしていることを示している0最新インデック
ス番号は最新のインデックスが何れであるかを示してい
る。図示の例では最新のインデックスは5−sとされて
いる0最新インデツクス処理フラグは最新インデックス
が使用中であるかを示す0インデックス5−1.5−2
.・・・曲・・ ト1はそれぞれサブ・ポリ凰−五と1
対1の対応上なして匹る。インデックス5−1ないし5
−aのそれぞれは、先頭データ・アドレス、最終データ
・アドレスおよびサブ・ポリ為−ム処塩フラグを有して
いる0図示の例では、インデックス5−1の先頭アドレ
スはサブ・ポリ番−五6−1の先頭のデータのアドレス
6を示し、最終データ・アドレスはサブ・ポリ、−五b
−1に書込まれた最終のデータのアドレスb會示シ、を
次、サブ・ポリ島−ムへのアクセスは行われていないの
で処理フラグはオフとされている。図示の例ではインデ
ックス5−2の先頭アドレスは、、最終アドレスはd1
処理7ラグはオフとされている。インデックス5−鶴は
使用中であるが、このインデックスの先頭アドレスは−
とされ、最終アドレスはfとされ1図示の例ではサブ・
ポリ凰−ム6−集にデータを書込み中であるので、処[
17ラグはオンとされている0オンライン・リアルタイ
ム処理部2は計測処理等のデータの集積1編集鵡理會行
う奄のでめって1例えば人工衛鳳から送られて米るデー
タ會処塩して処塩結果IDAsDK書込む0この際、デ
ータ種別の変化などが生ずると、サブ・ポリ島−五を切
り換え新しいサブ・ポリ為−ムにデータ管書込む。オン
ライン・リアルタイム処理s2は、常に階層構造の下部
から書込み/再書込みt行う。即ち、インデックス會新
九に作成する場合には、インデックス【作成してから、
管理s4を更新する。tfI−、サブ・lり為−ムロー
傷にデータ管理たに書込む場合には、ナプ・ポリ島−ム
6−mKデータ會書込んだ後、インデックス5− sの
更新を行う。バッチ処11113は計画データの解析等
の科学技術針算勢を行うものである。バッチ処111s
3は、データtlI出すとき、常に階層構造の上部から
索引してデータ管W識する0また。最新データを追いか
けるように貌む九めには、一定時間毎に索引を行うとと
により可能である0なお、データの読出し/書込みの単
位はレコードである0 オンライン・リアルタイム処理部2からDA8D1への
データの書込みは下記のようにして行われる。い壕、デ
ータがサブ・ポリ、−ムロ」に書込まれているものとす
ると、データはlレコードずつナプ・ポリ暴−ム6− 
s K書込まれ、これに応じてインデックス5−mの最
終データ・アドレスが更新される。データ種別の変化や
発信局の変化、:1ンソールからのサブ・ポリ1−ム切
替指示などの所定の事象が生起すると、サブ・lり鼻−
五M結処理が行われ、サブ・ボ9.−ム終結処理が完了
した後、サブ・ポリ瓢−ム閤設処理が行われる。サブ・
ポリ島−五終結処理では、ナプ・ポリ島−五5−sの処
理フラグがオフとされる。
DA8DIH, tube j1ms4.4 number fylx5-1 to 1, sub-polymers 6-1 to 6-IIIt 0 management 1 part 4, online side operation Buddha, latest index number and latest index processing Has a flag. If the online side operation Buddha is ON, the online real-time processing 11112 is activated by the DA801.
The latest index number 0, which indicates that t access is being made, indicates which index is the latest index. In the illustrated example, the latest index is 5-s. 0 latest index processing flag indicates whether the latest index is in use 0 index 5-1.5-2
.. ...Song... G1 is subpoly-凰-5 and 1, respectively.
On a one-to-one basis, there is no match. Index 5-1 to 5
In the illustrated example, the start address of index 5-1 is the first address of index 5-1, which has a first data address, a last data address, and a sub-poly address flag. Indicates address 6 of the first data of 6-1, and the final data address is sub-poly, -5b
Since the sub-poly island is not accessed after the address b of the last data written in the address b is set to 1, the processing flag is set to OFF. In the illustrated example, the first address of index 5-2 is, and the last address is d1.
Processing 7 lag is turned off. Index 5 - Tsuru is in use, but the first address of this index is -
The final address is f, and in the example shown in the figure, the sub-address is f.
Since data is being written to the polygraph 6-book, the process [
17 The lag is on 0 The online real-time processing unit 2 collects data such as measurement processing 1 edits the data, so it rarely handles the data sent from the artificial intelligence. Processing result IDAsDK write 0 At this time, if a change in data type occurs, the sub-poly island-5 is switched and the data is written to a new sub-poly island. Online real-time processing s2 always writes/rewrites from the bottom of the hierarchical structure. In other words, when creating an index in a new way, the index [after creating]
Update management s4. When data management is to be written to the tfI-, sub-I, Muro-wound, the index 5-s is updated after writing the Nappoli Island 6-mK data. The batch processing 11113 performs science and technology planning such as analysis of plan data. batch processing 111s
3, when outputting data tlI, always index from the top of the hierarchical structure and identify the data pipe. In order to keep track of the latest data, it is possible to perform indexing at regular intervals.0 Note that the unit of reading/writing data is a record.0 From the online real-time processing unit 2 to the DA8D1. Writing of data is performed as follows. Assuming that the data is written in the sub-poly and memory areas, the data is written to the nap-poly memory by l records.
s K is written and the final data address of index 5-m is updated accordingly. When a predetermined event occurs, such as a change in the data type, a change in the originating station, or an instruction to switch the sub-poly mode from the console,
5M knot processing is performed, and sub-Bo 9. - After the system termination process is completed, the sub-polyme construction process is performed. sub·
In the Pori Island-5 finalization process, the processing flag of Napu Pori Island-55-s is turned off.

サブ・ポリ凰−ム開設処理では、インデックス5−s+
1(図示せず)が新1g−に作成され、この中にサブ・
ポリ、−ムト1+1の先頭アドレスが書込まれると共に
その処理フラグがオンとされ。
In the sub-polyom opening process, index 5-s+
1 (not shown) is created in the new 1g-, and the sub-
At the same time as the start address of poly, -mut 1+1 is written, its processing flag is turned on.

次いで管理部4の最新インデックス番号が集+1に更新
される。このサブ・ポリ島−ム開設処理が行われた後、
サブ・ポリ、−ムロ−10にデータがlレコードずつ書
込まれる。上記のサブ昏ポリ為−ム終結処理は、コンソ
ールからの処理終結指示によりて4行われる。なお、上
記のような処理は、オンライン・リアルタイム処理部2
の制御によって行われる。
Next, the latest index number of the management section 4 is updated to Collect+1. After this sub-poli island opening process is done,
Data is written to sub-poly, -muro-10 one record at a time. The above-mentioned sub-system termination process is performed four times in response to a process termination instruction from the console. Note that the above processing is performed by the online real-time processing unit 2.
This is done under the control of

パッチ処llsがDA8D1からデータ管読込む方法に
は2通りの方法がある。その1つは書込み側がファイル
を作成完了した後で読込む方法であり、他は読込み側が
書込みフェイズ中の最新サブeポリ、−五 対して書込
まれたデータを追いがけるようKしてWlbLむ方法で
める。前者の方法は下記のようにして実行される。
There are two methods for the patch process to read data from the DA8D1. One method is to read the file after the writing side has completed creating the file, and the other is to read it after the writing side has completed creating the file, and the other is to read it after the writing side has finished creating the file. Melt it using the following method. The former method is executed as follows.

0) 管理部中の最新インデックス番号より作成済のナ
プ・ポリ畠−ムに対応するインデックス群を識別し、該
当するサブ・ポリ為−ムのインデックス會検索する。
0) Identify the index group corresponding to the created nap polyme based on the latest index number in the management section, and search the index group for the corresponding sub-polyme.

(→ インデックス中の先頭データ・アドレス、最終デ
ータ・アドレスに従匹、データを読み込む。
(→ Read data according to the first data address and last data address in the index.

また、後者の方法は下記のようにして実行される。Moreover, the latter method is executed as follows.

0) 一定時間間隔に管理部中の最新インデックス番号
を参照し、書込み7エイズになりたサブ・lIJ&−ム
の有無を判断する。
0) Refer to the latest index number in the management section at regular time intervals to determine whether there is a sub-lIJ&-me that has reached write 7 aids.

−) 有る場合、対応するインデックス中の最終データ
eアドレス會一定時間間隔に参照し、データが書込まれ
たか否かを、最終データ・アドレスが更新されることに
より判断する。
-) If there is, the last data e-address in the corresponding index is referred to at regular time intervals, and whether or not data has been written is determined by updating the last data address.

(ハ)データが書込まれ九場合、その最終データ・アド
レスに従い、データを読み込む。
(c) If data has been written, read the data according to its final data address.

以上の説明から明らかなように、本発明によれば、DA
SDへのデータ書込み処理と並行して準実時間的KDA
SDからデータt−絖出すtことも可能で61.tた。
As is clear from the above description, according to the present invention, DA
Semi-real-time KDA in parallel with data writing process to SD
It is also possible to export data from SD.61. It was.

単純に過去のデータも矛盾なく読むことが出来る。You can simply read past data without any contradictions.

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

図は本発明の1実施例を説明するものである。 1・・・DASD (直接アクセス記憶装置)%2・・
・オンライン・リアルタイム処理部、3・・・バッチ処
理部、4・・・管理部、5−1ないし5− s−インデ
ックス、6−1ないし6−s・・・サブ拳ポリ暴−ム0
特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部
The figure illustrates one embodiment of the invention. 1...DASD (direct access storage device)%2...
・Online real-time processing section, 3...Batch processing section, 4...Management section, 5-1 or 5-s-index, 6-1 or 6-s...Sub-fist poly-random 0
Patent Applicant: Fujitsu Limited Representative Patent Attorney Yotsube Kyotani

Claims (1)

【特許請求の範囲】[Claims] ファイルに、書込み処理中か否かを示す書込み動作フラ
グと最新インデックス番号1持つ管理部、先−データ・
アドレスと最終データ・アドレスと処理フラグ會もつイ
ンデックスを作成するだめのインデックス領域、および
負側(%は正の整数)の単位長のデータからなるサブ・
ポリ、−ム會作成すゐ良めのデータ領域管設け、データ
會書込む場合、サブ・ポリ、−ムを開設する九めの所定
の事象が生起し曳時には、上記インデックス領域に新た
にインデックスを作成して轟骸インデックスに、上記デ
ータ領域の空き領域に新たに作成されるナプ・ボリム一
ムO先頭アドレス會書込むと共にオンの処理フラグ管書
込み11次いで上記管理部の最新インデックス番号が幽
鋏インデックスを指すように更新すると共に上記書込み
動作フラグtオン−とし、上記インデックスの作成およ
び管理部の更新が行われた後・、新しく作成されたナプ
・ポリ1−五に単位長のデータ會順次書込むと共に新し
く作成された対応するインデックスの最終データ令アド
レス會更新し、すブーポリニーム會終結される曳めの所
定の事象が生起した時には、書込み中のサブ・ポリ嘉−
ムに対応するインデックスの処理ブラダ會オフとし、デ
ータの読出し會行う場合には先ず管理部を検索し、次い
でインデック
A management unit that has a write operation flag indicating whether or not a write process is in progress and the latest index number 1, and a destination data file.
An index area for creating an index with an address, a final data address, and a processing flag, and a sub area consisting of unit length data on the negative side (% is a positive integer).
When creating a poly-mechanism, setting up a data area with a smooth structure, and writing data, when the ninth predetermined event that opens a sub-poly-me occurs, a new index is created in the above index area. , and write the newly created Nap Volume 1 O start address in the empty area of the data area to the Todoroki index, and write the processing flag 11 on, and then write the latest index number of the management section. Update the scissors index to point to it, set the write operation flag to on, and after creating the index and updating the management section, add a unit length data session to the newly created nap poly 1-5. While writing sequentially, the last data command address of the newly created corresponding index is updated, and when a predetermined event occurs to terminate the subpolynyme, the subpolynyme being written is updated.
When the processing bladder for the index corresponding to the system is turned off and the data is read, the management section is first searched, and then the index is
JP56100143A 1981-06-27 1981-06-27 File controlling system Granted JPS582939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56100143A JPS582939A (en) 1981-06-27 1981-06-27 File controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56100143A JPS582939A (en) 1981-06-27 1981-06-27 File controlling system

Publications (2)

Publication Number Publication Date
JPS582939A true JPS582939A (en) 1983-01-08
JPH0318215B2 JPH0318215B2 (en) 1991-03-12

Family

ID=14266083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56100143A Granted JPS582939A (en) 1981-06-27 1981-06-27 File controlling system

Country Status (1)

Country Link
JP (1) JPS582939A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293462A (en) * 1986-06-13 1987-12-21 インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション Document revisable data processor
JPH01220060A (en) * 1988-02-29 1989-09-01 Fujitsu Ltd Application program linkage system between sub-systems

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5481049A (en) * 1977-12-12 1979-06-28 Fujitsu Ltd Data processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5481049A (en) * 1977-12-12 1979-06-28 Fujitsu Ltd Data processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293462A (en) * 1986-06-13 1987-12-21 インタ−ナショナル・ビジネス・マシ−ンズ・コ−ポレ−ション Document revisable data processor
JPH0528868B2 (en) * 1986-06-13 1993-04-27 Intaanashonaru Bijinesu Mashiinzu Corp
JPH01220060A (en) * 1988-02-29 1989-09-01 Fujitsu Ltd Application program linkage system between sub-systems

Also Published As

Publication number Publication date
JPH0318215B2 (en) 1991-03-12

Similar Documents

Publication Publication Date Title
JPS582939A (en) File controlling system
CA1308493C (en) Method for storing a topological network in a memory and for finding a 2-cell in said network, and device for performing the finding method, and memory containing accordingly stored data
JP2606305B2 (en) Data processing device
JPS61175838A (en) Data processing system
JPS6129955A (en) Information accumulating method in postscript type medium
JPH0744426A (en) File management method for file system
JPS62269256A (en) Data storage system for semiconductor file
JP2649675B2 (en) Optical disk storage management method
JPS63106053A (en) Data base writing/reading system
JPS62113231A (en) Virtual disk control system for extended storage device
JPS63216143A (en) File access system
JPS62106539A (en) Virtual disk control system for extended memory device
JPS6079444A (en) Garbage collection processing system
JPH0656595B2 (en) Virtualization object control method
JPS61273617A (en) Control system for message queue
JPH01119839A (en) File constitution control system
JPS63129586A (en) Information storage device
JPS60114938A (en) Back track system of processing
JP2001142782A (en) Virtual storage space computer system
JPH02231662A (en) Storage system storing with updated time
JPH04116736A (en) Data base reformation system
JPS61123951A (en) Memory system
JPS6243745A (en) Information processor
JPH02253450A (en) File managing method and file editing method
JPS5917649A (en) Device for retrieving data base