JPH0219968A - File device - Google Patents

File device

Info

Publication number
JPH0219968A
JPH0219968A JP63168858A JP16885888A JPH0219968A JP H0219968 A JPH0219968 A JP H0219968A JP 63168858 A JP63168858 A JP 63168858A JP 16885888 A JP16885888 A JP 16885888A JP H0219968 A JPH0219968 A JP H0219968A
Authority
JP
Japan
Prior art keywords
data
file
item
group data
search
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
JP63168858A
Other languages
Japanese (ja)
Inventor
Kazuo Yamasue
山末 一夫
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 JP63168858A priority Critical patent/JPH0219968A/en
Publication of JPH0219968A publication Critical patent/JPH0219968A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten a retrieving time and to freely add or delet items by collecting the data on a single item into a data file. CONSTITUTION:A file control part 2 is prepared together with a control file part 3 and a data file part 4. A group data producing part collects data for each item and produces the group data for each item. Then the part 4 files each group data obtained by said data producing part into a magnetic disk device. The additional new items are added to the group data which are already collected and registered. At the same time, one of these group data is selected in response to the due retrieving command and the data are retrieved out of the selected group data. Thus the data are extracted in response to the retrieving command. As a result, the data retrieving time is shortened and the items can be freely added or deleted without rearranging data.

Description

【発明の詳細な説明】 [発明の目的1 〈産業上の利用分野) 本発明は、複数項目に属する複数のデータを関連させて
ファイルしたり、ファイルされているデータを検索した
りするファイル装置に関する。
[Detailed Description of the Invention] [Objective of the Invention 1 (Field of Industrial Application) The present invention provides a file device that files a plurality of data belonging to a plurality of items in association with each other, and searches the filed data. Regarding.

(従来の技術) 複数項目にわたる複数のデータを取り扱う場合には、検
索を容易にするために、これらの各データを関連させて
ファイルするとともに、検索することが予め想定される
項目を“キー項目″にして、前記各データが収納された
ファイル(データファイル)からこの゛ギー項目″に対
応するデータを抽出し、この抽出結果を並べたファイル
(索引編成ファイル)を作成することが多い。
(Prior art) When handling multiple pieces of data covering multiple items, in order to facilitate searches, these pieces of data are related to each other in a file, and the items that are expected to be searched are designated as “key items.” In many cases, the data corresponding to this "digital item" is extracted from the file (data file) in which each of the above-mentioned data is stored, and a file (index organization file) is created in which the extraction results are arranged.

そして、検索時には、前記索引編成ファイルを参照しな
がら、データファイル中の各データを1デ一タ単位(例
えば、” 256 ”バイト単位)で、逐次読み込みな
がら、この読み込み動作によってjqられた内容と、検
索内容とを比較して、これらが一致するまで、この動作
を繰り返し、検索内容に対応するデータを抽出する。
Then, during a search, while referring to the indexed file, each data in the data file is sequentially read in one data unit (for example, "256" byte unit), and the contents jqed by this reading operation are compared. , and the search content, and repeats this operation until they match, and extracts data corresponding to the search content.

(発明が解決しようとする課題) ところでこのような従来のファイル装置においては、複
数項目A〜Fのデータが複数組あるとき、これを第8図
に示す如くこれらを各組単位でシリアルに並べる動作を
繰り返して、ファイルを作成していたので、1つの同一
項目、例えば項目Aについて検索するとき、最初のフィ
ールドに書き込まれた項目A1を読み込んだ後、次の項
目A2が書き込まれたフィールドまで、ジャンプしなけ
ればならない。
(Problem to be Solved by the Invention) By the way, in such a conventional file device, when there are multiple sets of data of multiple items A to F, these are serially arranged in units of sets as shown in Figure 8. Since the file was created by repeating the operation, when searching for the same item, for example item A, after reading item A1 written in the first field, up to the field where the next item A2 was written. , have to jump.

このため、これらフィールド間をジャンプする分だけ、
検索時間に要する時間が長くなってしまうという問題が
あった。
Therefore, by jumping between these fields,
There is a problem in that the time required for the search becomes long.

また、第9図に示す如く最終項目Fの後に、別の項目G
を追加する場合、各組の間に空きエリアを形成しなけれ
ば、これを追加することができないので、実用上、項目
の追加が不可能であった。
Also, as shown in Figure 9, after the final item F, another item G
When adding items, it is impossible to add items unless an empty area is created between each set, so it is practically impossible to add items.

本発明は上記の事情に鑑み、検索動作に必要な時間を大
幅に短縮させることができるとともに、データを並べ替
えることなく項目の追加や、削除を自由に行うことがで
きるファイル装置を提供することを目的としている。
In view of the above circumstances, it is an object of the present invention to provide a file device that can significantly shorten the time required for a search operation and that can freely add and delete items without rearranging data. It is an object.

[発明の構成] (課題を解決するための手段) 上記の目的を達成するために本発明によるファイル装置
は、複数項目にわたる複数のデータを関連ざゼでファイ
ルするファイル装置において、各データを同一項目毎に
まとめて、項目毎にまとめて、項目毎のグループデータ
を作成するグループデータ作成部と、このグループデー
タ作成部によって得られた各グループデータを磁気ディ
スク装置にフッイルするファイル部と、 検索指令が入力されたとき、前記各グループデータのな
かから前記検索指令に対応したものを1つ選択するとと
もに、この選択動作によって選択されたグループデータ
内を検索して検索指令に対応したデータを抽出する検索
部と、 を備えたことを特徴としている。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, a file device according to the present invention is a file device that files a plurality of data covering a plurality of items in a related manner. a group data creation unit that creates group data for each item by creating group data for each item; a file unit that fills each group data obtained by the group data creation unit into a magnetic disk device; and a search unit. When a command is input, one of the group data corresponding to the search command is selected, and the group data selected by this selection operation is searched to extract data corresponding to the search command. It is characterized by having a search section for searching, and the following.

(作用) 上記の構成において、新たな項目のデータを追加する時
には、グループデータ作成部によってこれらがグループ
データとしてまとめられるとともに、ファイル部によっ
て前記グループデータが既に登録されているグループデ
ータに追加される。
(Function) In the above configuration, when data of a new item is added, the group data creation section collects the data as group data, and the file section adds the group data to the already registered group data. .

また、検索指令が入力された時には、検索部によって航
記各グループデータのなかから前記検索指令に対応した
ものが1つ選択されるとともに、この選択動作によって
選択されたグループデータ内のデータが検索されて検索
指令に対応したデータが抽出される。
Furthermore, when a search command is input, the search unit selects one of the navigation group data corresponding to the search command, and the data in the selected group data is searched by this selection operation. The data corresponding to the search command is extracted.

(実施例) 第1図は本発明によるファイル装置の一実施例を示すブ
ロック図である。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of a file device according to the present invention.

この図に示づファイル装置は、操作部1と、ファイル管
理部2と、管理ファイル部3と、データファイル部4と
、出力部5とを備えており、入力されたデータを登録し
たり、既に登録されているデータを検索したりする。
The file device shown in this figure includes an operation section 1, a file management section 2, a management file section 3, a data file section 4, and an output section 5, and is capable of registering input data, Search for data that has already been registered.

操作部1は、キーボードや、CRTなどを備えており、
前記キーボードからデータや、指令などが入力されたと
き、これをファイル管理部2に供給したり、このノフイ
ル管理部2から表示データが供給されたとき、これを表
示さけたりする。
The operation unit 1 includes a keyboard, a CRT, etc.
When data, commands, etc. are input from the keyboard, they are supplied to the file management section 2, and when display data is supplied from the file management section 2, it is prevented from being displayed.

またデータファイル部4は、第2図に示ケ如く複数のデ
ータツノフィル10(1)〜10(N)と、空きエリア
7とを備えており、前記ファイル管理部2から書ぎ込み
指令が供給されたときには、この書き込み指令とともに
供給されるデータを、M詔書き込み指令で指定されたデ
ータファイルの指定された番地に格納する。また、前記
ファイル管理nI 2から読出し指令が供給されたとき
には、この読出し指令によって指定されたデータファイ
ルの指定された番地に格納されている内容を読み出して
、これを前記ファイル管理部2に供給する。
The data file unit 4 also includes a plurality of data horn files 10(1) to 10(N) and an empty area 7, as shown in FIG. When supplied, the data supplied together with this write command is stored in the specified address of the data file designated by the M edict write command. Further, when a read command is supplied from the file management unit 2, the content stored at the specified address of the data file specified by the read command is read out, and this is supplied to the file management unit 2. .

前記データファイル10(1)は、項1−1 ’“A 
”に屈するデータが格納される部分であり、1つの管理
レコード11と、複数のデータレコード12(1)〜1
2(L)とに区分されている。
The data file 10(1) includes term 1-1'“A
This is the part where data subject to "is stored, and includes one management record 11 and multiple data records 12(1) to 1
It is divided into 2 (L).

データレコード12(1)は、項目”A″に属するm″
個のデータを実際に保持する部分であリ、ポインタ〈図
示は省略する)によって指示されたレコードからの相対
位置データが書き込まれる相対レコード番号エリアと、
項四゛A Ilを構成する”m”個のデータA(1)〜
A(Il)が舟き込まれる゛(IIl)個の詳細データ
エリアとに区分されている。
Data record 12(1) is m'' belonging to item “A”
a relative record number area in which relative position data from the record indicated by a pointer (not shown) is written;
"m" pieces of data A(1) composing the term 4A Il
It is divided into (IIl) detailed data areas into which A(Il) is loaded.

また他のデータレコード12(2)〜12(L)も、前
記データレコード12(1)と同様に構成されている。
Further, the other data records 12(2) to 12(L) are configured similarly to the data record 12(1).

そして、これらデータレコード12(1)〜12(L)
の各詳細データエリアは、番号の小さいものから順次、
使用され、最後の詳細データエリアが使用されれば、ま
た最初の詳細データエリアから順に書き換えられて再使
用される。
And these data records 12(1) to 12(L)
Each detailed data area is arranged in order from the smallest number.
If the last detailed data area is used, it is rewritten and reused in order starting from the first detailed data area.

また管理レコード11は、前記各データレコード12(
1)〜12(1−)を管理するためのレコードであり、
前記ポインタによって指示されたレコードからの相対(
O置を示す相対位置データが書き込まれる相対レコード
番号エリアと、現在指定されている詳細データの位置を
示す縦カレント値、横カレント値が古き込まれるカレン
トポインタエリアと、このデータファイル10(1)内
にある詳細データエリアがづべて使用された時にセット
されるリイクル識別子エリアとに区分されている。
Furthermore, the management record 11 includes each data record 12 (
This is a record for managing 1) to 12(1-),
Relative to the record pointed to by said pointer (
A relative record number area where relative position data indicating the O position is written, a current pointer area where the vertical current value and horizontal current value indicating the currently specified detailed data position are updated, and this data file 10 (1) It is divided into a recycle identifier area, which is set when the detailed data area within is used.

また他のデータファイル10(2)〜10(N>も、上
述したデータファイル10(1)と同様に構成されてお
り、各々、項目111−3 IT〜“N”に属する詳細
データB(1)〜B (M)・・・N(1)〜N(M)
がサイクリックに格納される。
Other data files 10(2) to 10(N> are also configured in the same manner as the data file 10(1) described above, and each includes detailed data B(1) belonging to item 111-3 IT to "N". )~B (M)...N(1)~N(M)
is stored cyclically.

また管理ファイル部3は、前記データファイル部4に格
納されている各データファイル10(1)〜10(N)
を管理する部分であり、第3図に示りように前記データ
ファイル10〈1)・〜1゜(N)と同じ数の管理ファ
イルレコード15(1)〜15(N)と、空きエリア8
とに区分されている。
Further, the management file section 3 stores each data file 10(1) to 10(N) stored in the data file section 4.
As shown in FIG.
It is divided into.

管理ファイルレコード15(1)は、前記データファイ
ル10(1)を管理するレコードであり、前記データフ
ァイル10(1)を特定するためのエリア16と、この
エリア16によって特定されたデータファイル10(1
)内のデータ構造を示すエリア17と、前記各データフ
ァイル10(1)〜10(N)内に格納されている各詳
細データA(1) 〜A (m )−N (1) 〜N
 (n )ノ属t’tテータが格納されるエリア18と
に区分されている。
The management file record 15(1) is a record for managing the data file 10(1), and includes an area 16 for specifying the data file 10(1) and a data file 10(1) specified by this area 16. 1
) and each detailed data A(1) to A(m)-N(1) to N stored in each data file 10(1) to 10(N).
(n) The area 18 is divided into an area 18 in which the data of the genus t't is stored.

エリア16は、第4図に示す如く前記データフッ・イル
10(1)を指定する名称(項目グループ名)が書き込
まれる項目グループ名エリアと、シス戸ムが自動的に発
生したファイル番号値が格納される5EQ(No>エリ
アと、前記データファイル部4が存在している磁気ディ
スク装置の名称や前記データファイル部4を指定づると
きに使用される外部ファイル名が書き込まれる外部ファ
イル情報エリアとに区分されている。
As shown in FIG. 4, the area 16 includes an item group name area where a name (item group name) specifying the data file 10(1) is written, and a file number value automatically generated by the system. 5EQ (No> area) and an external file information area where the name of the magnetic disk device in which the data file section 4 is located and the external file name used when specifying the data file section 4 are written. Separated.

またエリア17は、前記データファイル10(1)内に
ある管理レコード11のアドレス(管理行アドレスデー
タ)を示ずデータや、前記データファイル10(1)内
にあるデータレコード12(1)の7ドレス(開始行ア
ドレス)を示4データ、データレコード12(N)のア
ドレス(終了行アドレス)を示すデータ、前記各データ
レコード12(1)〜12<N>に各々格納可能な詳細
データの数(増分数)が書き込まれるアドレス情報エリ
アと、前記データファイル10(1)内に格納されてい
る詳細データの数が書き込まれるデータ数エリアと、エ
リア18に格納される項lI数が多過ぎて1つの管理レ
コードで管理しきれない場合に、次の管理レコードのS
EQ (No )値が古き込まれる連結情報エリアとに
区分されている。
The area 17 also contains data that does not indicate the address (management line address data) of the management record 11 in the data file 10(1) or 7 of the data record 12(1) in the data file 10(1). 4 data indicating the address (starting row address), data indicating the address (ending row address) of data record 12(N), and the number of detailed data that can be stored in each of the data records 12(1) to 12<N>. (Increment number) is written in the address information area, the data number area is written in which the number of detailed data stored in the data file 10(1) is written, and the number of terms stored in the area 18 is too large. If it cannot be managed with one management record, the S of the next management record
It is divided into a connected information area where the EQ (No) value is updated.

またエリア18は、各項目“Δ″〜“′N″の属性デー
タが各々、書き込まれる“N +1個の項目属性情報エ
リアに区分されている。
The area 18 is divided into "N+1" item attribute information areas into which attribute data of each item "Δ" to "'N" is written.

この場合、各項目属性情報エリアは、各々、対応する項
目がアクセス可能かどうかを示1データが肉ぎ込まれる
レコード登録済みフラグエリアと、灼応する項目の属性
データが書き込まれる属性タイプエリアと、対応する項
目の有効桁数を示すデータがよき込まれる有効桁数エリ
アとに区分されている。
In this case, each item attribute information area includes a record registered flag area where data indicating whether the corresponding item is accessible or not is inserted, and an attribute type area where attribute data of the corresponding item is written. , and a number of effective digits area where data indicating the number of effective digits of the corresponding item is read.

また出力部5は、前記ファイル管理部2からプリントデ
ータが供給されたとき、これを記録用紙6にプリントし
て、外部に排出する。
Further, when the print data is supplied from the file management section 2, the output section 5 prints it on a recording paper 6 and discharges it to the outside.

またファイル管理部2は、マイクロプロセツサなどの処
理装首を備えており、予め設定されているプログラムに
基づいてこのフ/イル装置全体の動作を制御する。
Further, the file management section 2 includes a processing device such as a microprocessor, and controls the operation of the entire file device based on a preset program.

次に、第5図、第6図(a )〜(d )に示す紙バル
プ工場における抄紙様の操業事象データ管理例を参照し
ながらこの実施例の検索動作を説明する。
Next, the search operation of this embodiment will be explained with reference to examples of paper-making operation event data management in a paper pulp factory shown in FIGS. 5 and 6 (a) to (d).

例えば、今、操作部1が操作されて、検索項目が日付で
あることを示す“’ S OG Y O”と、検索対象
となる日付デーラダ’880203”が入力されれば、
ファイル管理部2は、管理ファイル部3の各管理ファイ
ルレコード15(1)−15(N>のうち、項目グルー
プ名にS OG Y O”と記述されている管理ファイ
ルレコードを選択する。
For example, if the operation unit 1 is now operated and "' SOG Y O" indicating that the search item is a date and the date data ladder '880203' to be searched are input,
The file management section 2 selects the management file record whose item group name is described as "SOG Y O" from among the management file records 15(1) to 15(N>) of the management file section 3.

この場合、第5図に示す如く管理)?イルレ・コード1
5(1)の項目グループ名に“5OGYO”と記述され
ているからファイル管理部2は、この管理ファイルコー
ド15(1)が検索対象項目にヌ4応する管理フ?イル
レ」−ドである判断しχ、これを読み込む。
In this case, management as shown in Figure 5)? illre code 1
Since "5OGYO" is written in the item group name of 5(1), the file management unit 2 determines whether this management file code 15(1) corresponds to the search target item. It is determined that the code is invalid, and it is read.

この後、ファイル管理部2は、今、見つけた管理ファイ
ルレコード15(1)に記述されている外部デバイス名
、外部ファイル名、管理行アドレス、開始行アドレス、
増分数として、各々” D Koo”  ’“αI+ 
 111 TT  “2 ”  ” 6 ”を読み出寸
とともに、検索対象項目グループ名である” S OG
 Y O”に対応した項目属性情報エリア(1)の内容
を読み出す。
After this, the file management unit 2 stores the external device name, external file name, management line address, start line address, etc. written in the management file record 15(1) just found.
As an increment number, each “D Koo” “αI+
111 TT Read out “2” and “6”, which is the search target item group name, along with the reading size.
The contents of the item attribute information area (1) corresponding to "Y O" are read out.

この後、ファイル管理部2は、今、読み出した外部デバ
イス名と、外部ファイル名と、管理行アドレスとによっ
て指定されたデータノアイル10(1)の管理レコード
11を読み出して、この管理レコード11内のカレント
ポインタに記述されでいる縦カレント値と、横カレント
値とをチエツクする。
Thereafter, the file management unit 2 reads the management record 11 of the data noisle 10(1) specified by the external device name, external file name, and management line address that have just been read, and reads this management record 11. Check the vertical current value and horizontal current value written in the current pointer.

そしてこの管理レコード11に、第6図(a )に示す
如く縦カレント値としてii 3 u、横カレント値と
して5″が書き込まれていれば、ファイル管理部2は、
これら縦カレント値゛3″で指定されたデータレコード
12を一括して読み出す。
If ii 3 u is written as the vertical current value and 5'' is written as the horizontal current value in this management record 11 as shown in FIG. 6(a), the file management section 2
The data records 12 designated by these vertical current values "3" are read out all at once.

この後、ファイル管理部2は、前記管理レコード11の
サイクル識別子が値“1′″になっているかどうかをチ
エツクする。
Thereafter, the file management section 2 checks whether the cycle identifier of the management record 11 has the value "1'".

そして、このサイクル識別子が値” 1 ”になってい
れば、ファイル管理部2はデータファイル10(1)の
詳細データが−巡りしていると判断して、前記横カレン
ト値“5″によって指定された番地の次番地(ポイント
P(1)で指定された番地)にある詳細データ(最も古
い詳細データ)の値を読み出して、検索対象となってい
る日付データ”880203°′がこのデータファイル
10(1)内に存在している可能性があるかどうかをチ
エツクする。
If this cycle identifier has the value "1", the file management unit 2 determines that the detailed data of the data file 10(1) is circulating, and specifies the data by the horizontal current value "5". The value of the detailed data (oldest detailed data) at the next address (the address specified by point P (1)) is read out, and the date data "880203°" that is the search target is found in this data file. 10(1).

この場合、最も古い詳細データには、値“’87121
0”が書き込まれており、”871210” <“88
0203″が成り立っているから、ファイル管理部2は
、このデータファイル10(1)内に、検索対象となっ
ている日付データ“”880203”が存在している可
能性があると判断して、第6図(b)に示す如く前記デ
ータレコード12(3)内にある各詳細データのうち、
最も先頭にある詳細データの値“880220” (ポ
インタP2で指定されtこデータ値)と、検索対象とな
っている日付データ”880203”とを比較し、前記
データレコード12(3)内に検索対象となっている日
fijデータ”880203”が存在しているかどうか
をチエツクする。
In this case, the oldest detailed data contains the value “'87121
0” is written, and “871210” < “88
0203'' holds, the file management unit 2 determines that there is a possibility that the date data “880203” that is the search target exists in this data file 10(1), and As shown in FIG. 6(b), among the detailed data in the data record 12(3),
Compare the value "880220" of the first detailed data (the data value specified by pointer P2) with the date data "880203" that is the search target, and search in the data record 12 (3). Check whether the target day fij data "880203" exists.

この場合、’1180220” >“880203′′
であるから、フッ1イル管理部2は、前記データレコー
ド12(3)内に検索対象となる日付データ゛”880
203”が存在しないと判断して、前記縦カレント値に
よって指定されたデータレコード12(3)より、1つ
の前のデータレコード12 (2>を−括して読出すと
ともに、第6図(C)に示す如く先頭にある詳細データ
(ポイントP3で指定されたデータ)の1直をチエツク
する。
In this case, '1180220''>“880203''
Therefore, the file management unit 2 stores the date data "880" to be searched in the data record 12(3).
6 (C ), check the first row of detailed data (data specified at point P3) at the beginning.

そしてここで、先頭にある詳細データには、値“880
202”が出き込まれ、“880202” <“880
203”が成り立っているから、ファイル管理部2は、
今読み込んだ各詳細データ内に、検索対象となる日付デ
ータ“880203°′が存在していると判断して、こ
れら各詳細データの値を、先頭から順次取り込むととも
に、これらの多値と、検索対象となっている日付データ
の値”880203”とを順次、比較し、これらが一致
している詳細データのアドレス番号を抽出する。
And here, the detailed data at the beginning has the value “880
202” is input and output, “880202” < “880
203” holds, the file management unit 2
It is determined that the date data "880203°' to be searched exists in each of the detailed data that has just been read, and the values of each of these detailed data are sequentially imported from the beginning, and these multi-value and search The target date data value "880203" is sequentially compared, and the address number of the detailed data with which they match is extracted.

この場合、縦アドレス値“3″、横アドレス値“°3″
にある詳細データから縦アドレス値“3″横アドレス値
“6″にある詳細データまでが検索対象となっている日
付データの値“880203”と−致しているから、フ
ァイル管理部2は、これらの各詳細データが検索対象デ
ータであると判定して、これら各詳細データの縦アドレ
ス値と、横アドレス値とを検索パラメータとして記憶す
る。
In this case, vertical address value “3”, horizontal address value “°3”
Since the detailed data at the vertical address value "3" and the detailed data at the horizontal address value "6" match the value "880203" of the date data being searched for, the file management unit 2 It is determined that each detailed data is the search target data, and the vertical address value and horizontal address value of each of these detailed data are stored as search parameters.

この後、ファイル管理部2は、このデータファイル10
(1)の処理を終了して他のデータフフィル、例えばデ
ータファイル10(2)の処理をflil始する。
After this, the file management unit 2 stores this data file 10.
After finishing the processing of (1), processing of another data file, for example, data file 10(2), is started.

この処理では、ファイル管理部2は、まずttJ記検索
パラメータの(IC1に対応した詳細データ、つまり第
6図(d )に示す如くデータレコード12(2)のポ
インタP4〜P8で指定された番地に記述されている゛
枠替″ “枠B”枠替″゛直替を読み出し、これらを検
索結果として、前記操作部1に供給して表示させたり、
出力部5からプリントアウトさせたりする。
In this process, the file management unit 2 first stores the detailed data corresponding to (IC1) in the ttJ search parameter, that is, the address specified by the pointers P4 to P8 of the data record 12(2) as shown in FIG. 6(d). ``Frame change'' ``Frame B'' Frame change'' Direct change described in ``Frame change'' is read out, and these are supplied as search results to the operation unit 1 for display,
It can be printed out from the output section 5.

次いで、ファイル管理部2は、上述した動作と同様にし
て、残りのデータファイル10(3)〜10(N>を順
次選択するとともに、これら各データファイル10(3
)〜10(N)にある各詳細データのうら、前記検索パ
ラメータによって指定された番号に記述されている内容
を読出し、これを検索結果として、前記操作部1に供給
して表示させたり、出力部5からプリンドア1クトさせ
たりザる。
Next, the file management unit 2 sequentially selects the remaining data files 10(3) to 10(N>) in the same manner as described above, and selects each of these data files 10(3) to 10(N>) sequentially.
) to 10(N), the content described in the number specified by the search parameter is read out, and this is supplied as a search result to the operation unit 1 for display or output. From part 5 onwards, there will be a first act.

このようにこの実施例においては、1つの項目に属する
データを1つのデータファイルとしてまとめるようにし
たので、ジ17ンプ動作などを行うことなく、検索ス・
j象となるデータを検索し、この検索結果に基づいて他
のデータファイルからデータを抽出りることができる。
In this way, in this embodiment, data belonging to one item is collected as one data file, so the search process can be performed without performing a zip operation or the like.
It is possible to search for target data and extract data from other data files based on the search results.

これによって、検索に要づる時間をルめて短くづること
ができる。
This makes it possible to reduce the time required for searching.

ふした上)ボした実施例においては、各111細データ
を項目単位でまとめて各データファイル10(1)〜1
0(N)や、各管理ファイルレコード15(1)〜15
(N)を作成しているので、第7図<a >、(b)に
示す如くこれら各データファイル10(1)〜10(N
)や各管理ファイルレコード15(1)〜15(N>を
変更ザることなく、各空きエリア7.8に新たな項目に
対応する管理ファイルレコード15(P)や、データフ
ァイル10(P)を容易に追加することかできる。
In the example mentioned above, each of the 111 detailed data is compiled item by item into each data file 10(1) to 1.
0(N) and each management file record 15(1) to 15
(N), each of these data files 10(1) to 10(N) is created as shown in Figure 7 <a> and (b).
) and each management file record 15(1) to 15(N>), management file record 15(P) corresponding to the new item and data file 10(P) are added to each free area 7.8 without changing the management file records 15(1) to 15(N>). can be easily added.

[発明の効果] 以上説明したように本発明によれば、検索動作に必要な
時間を大幅に短縮させることかできるとともに、データ
を並べ替えることなく項目の追加や削除を自由に行うこ
とができる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to significantly shorten the time required for a search operation, and it is also possible to freely add or delete items without rearranging data. .

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

第1図は本発明によるファイル装置の一実施例を示ケブ
ロック図、第2図は第1図に示すデータファイル部の詳
細を承り模式図、第3図は第1図に承り管理ファイル部
の詳細を示す模式図、第4図は第1図に示す管理ファイ
ル部とデー、タフアイル部との関係を示す模式図、第5
図は同実施例の検索動作例を説明するための模式図、第
6図にi)〜(d )は各々同実施例の検索動作を説明
するための模式図、第7図(a)、(b)は各々同実施
例の項目追加動作を説明するための模式図、第8図は従
来からあるファイル装置によって作成されるファイルの
一例を示す模式図、第9図は第8図に示すファイルの項
目追加動作を説明Jるための模式図である。 2・・・グループデータ作成部、ファイル部、検索部(
ファイル管理部)
FIG. 1 is a block diagram showing an embodiment of the file device according to the present invention, FIG. 2 is a schematic diagram showing the details of the data file section shown in FIG. 1, and FIG. Figure 4 is a schematic diagram showing the details, and Figure 4 is a schematic diagram showing the relationship between the management file section and the data and tough aisle section shown in Figure 1.
The figure is a schematic diagram for explaining a search operation example of the same embodiment, and FIGS. (b) is a schematic diagram for explaining the item addition operation of the same embodiment, FIG. 8 is a schematic diagram showing an example of a file created by a conventional file device, and FIG. 9 is a diagram shown in FIG. 8. FIG. 2 is a schematic diagram for explaining an operation of adding a file item. 2...Group data creation section, file section, search section (
file management department)

Claims (1)

【特許請求の範囲】[Claims] (1)複数項目にわたる複数のデータを関連させてファ
イルするファイル装置において、 各データを同一項目毎にまとめて、項目毎のグループデ
ータを作成するグループデータ作成部と、このグループ
データ作成部によって得られた各グループデータを磁気
ディスク装置にファイルするファイル部と、 検索指令が入力されたとき、前記各グループデータのな
かから前記検索指令に対応したものを1つ選択するとと
もに、この選択動作によって選択されたグループデータ
内を検索して検索指令に対応したデータを抽出する検索
部と、 を備えたことを特徴とするファイル装置。
(1) In a file device that files multiple items of data related to each other, there is a group data creation unit that collects data into the same item and creates group data for each item, and a group data creation unit that creates group data for each item. a file section that files each group data retrieved in a magnetic disk device; and when a search command is input, selects one of the group data corresponding to the search command from among the group data, and selects one of the group data corresponding to the search command by this selection operation. 1. A file device comprising: a search section that searches within group data that has been searched and extracts data corresponding to a search command.
JP63168858A 1988-07-08 1988-07-08 File device Pending JPH0219968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63168858A JPH0219968A (en) 1988-07-08 1988-07-08 File device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63168858A JPH0219968A (en) 1988-07-08 1988-07-08 File device

Publications (1)

Publication Number Publication Date
JPH0219968A true JPH0219968A (en) 1990-01-23

Family

ID=15875866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63168858A Pending JPH0219968A (en) 1988-07-08 1988-07-08 File device

Country Status (1)

Country Link
JP (1) JPH0219968A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812998A (en) * 1993-09-30 1998-09-22 Omron Corporation Similarity searching of sub-structured databases

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57155638A (en) * 1981-03-20 1982-09-25 Nippon Steel Corp Storing, retrieving and analyzing method of time series data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57155638A (en) * 1981-03-20 1982-09-25 Nippon Steel Corp Storing, retrieving and analyzing method of time series data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5812998A (en) * 1993-09-30 1998-09-22 Omron Corporation Similarity searching of sub-structured databases

Similar Documents

Publication Publication Date Title
US5355476A (en) File update apparatus for generating a matrix representing a subset of files and the update correspondence between directories and files
US6553382B2 (en) Data management system for retrieving data based on hierarchized keywords associated with keyword names
US5740445A (en) Information processing apparatus for generating directory information to manage a file using directories
JPH10312396A (en) Computer-readable recording medium recording database system and database search program
JPH0219968A (en) File device
JPH0237466A (en) information processing system
JP2787945B2 (en) Information processing apparatus and method
JPH03109673A (en) Document processor
JP2737850B2 (en) Information processing method
JPH0785079A (en) Device for managing information file
JPH0215374A (en) Image information retrieving device
JPH05151042A (en) Method for designing file for computer processing system
JPH02268324A (en) Filling system
JPH09179732A (en) Device for migrating minimum operation environment
JPH04340167A (en) Electronic document filing device
JPH0266672A (en) Floppy controller
JP2000215063A (en) Object data storage method including subclass by single inheritance and recording medium
Brock A microcomputer‐based alternative to a printed KWOC index
JPH01216423A (en) Record retrieval system
WOJTYLAK et al. Implementation of the regional meteorological database
JPH0667958A (en) Automatic registering system for reference date
JPH0749873A (en) Form creation device
JPH05143409A (en) File processing unit
JPH0713752A (en) Control method/device for program revision
JPH03100841A (en) information processing equipment