JPH06301730A - Data retrieving device - Google Patents

Data retrieving device

Info

Publication number
JPH06301730A
JPH06301730A JP5113876A JP11387693A JPH06301730A JP H06301730 A JPH06301730 A JP H06301730A JP 5113876 A JP5113876 A JP 5113876A JP 11387693 A JP11387693 A JP 11387693A JP H06301730 A JPH06301730 A JP H06301730A
Authority
JP
Japan
Prior art keywords
record
type
data
new
string
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
JP5113876A
Other languages
Japanese (ja)
Other versions
JP2903941B2 (en
Inventor
Hitoki Kiyoujima
仁樹 京嶋
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5113876A priority Critical patent/JP2903941B2/en
Publication of JPH06301730A publication Critical patent/JPH06301730A/en
Application granted granted Critical
Publication of JP2903941B2 publication Critical patent/JP2903941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To provide the data retrieving device which can execute the processing of a multi-type record tra. CONSTITUTION:A designating means 2 receives an input from a user, and sends the information required for the processing to a generating means 3. The generating means 3 receives the information required for the processing, sent from the designating means 2, and thereafter, reads in retrieval object data having an identifier designated in its information from a store means 1, executes the processing of the read-in retrieval object data, and generates new retrieval object data. The new retrieval object data is displayed by a display means 4, and a user can look at a result of retrieval. The retrieval object data can be constituted of a multi-type record train having a sequential relation consisting of plural kids of records such as logical information of a document. The processing executed by generating means 3 can be executed for the multi-type record train.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、レコード列からユーザ
が所望の情報を取り出すためのデータ検索装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data retrieval device for a user to retrieve desired information from a record string.

【0002】[0002]

【従来の技術】蓄積されたデータからユーザが所望の情
報を取り出すための検索装置としては、関係データベー
スがある。関係データベースは、第1正規形を前提とし
た関係モデル(Communication of t
he ACM,Vol.13,No.6,June 1
970,Codd,E.F.,“A Relation
al Model of Data for Larg
e Shared DataBanks.”,pp.3
77−387)に基づいているため、関係データベース
中のどのレコードのどのフィールドも、内部構造を持た
ないデータか、あるいは、関係データベースではその内
部構造にアクセスできないデータであった。
2. Description of the Related Art There is a relational database as a retrieval device for a user to retrieve desired information from accumulated data. The relational database is a relational model (Communication of t) based on the first normal form.
he ACM, Vol. 13, No. 6, June 1
970, Codd, E .; F. , "A Relation
al Model of Data for Larg
e Shared Data Banks. ", Pp. 3
77-387), any field in any record in the relational database has no internal structure, or the relational database cannot access the internal structure.

【0003】この問題を解決するために、Dadam,
P.,Kuespect,K.,Anderson,
F.,Blanken,H.,Erbe,R.,Gue
nanuer,J.,Lum,V.,Pistor,
P.,and Walch,G.,“A DBMS P
rototype to Support Exten
ded NF2 Relations:An Inte
grated Viewon Flat Tables
and Hierarchies”,SIGMOD,
1986,pp.356−367のように、第1正規形
の制限を外し、データベース中のレコードのフィールド
値がレコード群であるという、階層構造を許す拡張関係
を対象にした拡張関係データベースが考えられた。拡張
関係データベースを操作するための拡張関係代数におい
ては、Roth,M.A.,Korth,H.F.,a
nd Silberschats,A.,“Exten
ded Algebra and Calculus
for Nested Relational Dat
abase”に記載されているように、従来の関係代数
で提供されている和(union),積(inters
ection),差分(set differenc
e),直交積(cartesian produc
t),投影(projection),選択(sele
ction)などの操作に加えて、データを階層化また
は非階層化する機能を提供している。
To solve this problem, Damam,
P. Kuesect, K .; , Anderson,
F. Blanken, H .; Erbe, R .; , Gue
nuer, J .; Lum, V .; , Pistor,
P. , And Walch, G .; , "A DBMS P
rototype to Support Extension
ded NF 2 Relations: An Inte
grated Viewon Flat Tables
and Hierarchies ”, SIGMOD,
1986, pp. As in 356-367, an extended relational database for the extended relation that allows a hierarchical structure in which the field value of the record in the database is a record group without the restriction of the first normal form has been considered. In extended relational algebra for manipulating extended relational databases, Roth, M. et al. A. , Korth, H .; F. , A
nd Silberschats, A .; , "Exten
ded Algebra and Calculus
for Nested Relational Dat
As described in “Abase”, unions and products provided in conventional relational algebra.
section), difference (set difference)
e), Cartesian product
t), projection, selection (sel)
In addition to operations such as "action", it provides a function of hierarchical or non-hierarchical data.

【0004】拡張関係の概念を、文書を対象としたデー
タベースに向けて応用しようとしたものにNST(Ne
sted Sequences of Tuples)
とその代数がある。このNSTは、例えば、ACM T
ransaction onOffice Infor
mation Systems,Vol.7,No.
4,April 1989,Guting,R.H,Z
icari,R.,AND Choy,D.M,“An
algebra for structured o
ffice ducuments”に記載されている。
NSTは、構造化文書の論理構造を表現するためのデー
タモデルである。NSTは構成要素の列からなるという
文書の特徴を拡張関係に持ち込んでいる。拡張関係とそ
の代数がレコードの集合を扱うものであるのに対し、N
STとその代数ではレコードの列を扱っている。NST
とその代数では、従来の拡張関係で提供されている和
(union),積(intersection),差
分(set difference),直交積(car
tesian product),投影(projec
tion),選択(selection),階層化,非
階層化の機能を、レコードの列を扱うものに変更してい
る。文書は、一般的に順序関係を有しており、文書を扱
う場合、この順序関係を考慮した処理を行なう必要があ
る。そのため、データベースで扱うレコード集合は、順
序関係を有したレコードの列として扱う。また、従来の
拡張関係において提供されていた各機能も、この順序関
係を考慮したものとしている。
NST (Ne is used to apply the concept of expansion relation to a database for documents.
sted Sequences of Tuples)
And its algebra. This NST is, for example, ACM T
transaction onOffice Info
mation Systems, Vol. 7, No.
4, April 1989, Guting, R .; H, Z
icari, R .; , AND Choy, D.M. M, "An
algebra for structured o
"fice documents".
NST is a data model for expressing the logical structure of a structured document. The NST brings into the expanded relationship the characteristic of the document that it consists of a sequence of components. The extended relation and its algebra deal with a set of records, whereas N
ST and its algebra deal with columns of records. NST
And its algebra, the sum (interion), the difference (set difference), and the orthogonal product (car) that are provided in the conventional extended relation.
tesian product), projection (projec)
functions of selection, selection, layering, and non-layering are changed to those that handle the columns of records. A document generally has an order relation, and when handling a document, it is necessary to perform processing in consideration of this order relation. Therefore, the record set handled in the database is treated as a sequence of records having an order relation. Further, the functions provided in the conventional extended relationship also take this order relationship into consideration.

【0005】しかし、NSTは文書の論理構造を表現す
るのに十分ではない。関係データベース、拡張関係が、
同種のレコードの集合を扱うものであったように、NS
Tは文書を同種のレコードの列として扱っている。これ
に対し、実際の文書は、種類の違う構成要素の列であ
る。例えば、文書が、図、表、段落といったタイプの違
うデータの列であることは普通である。また、文書が、
章のように構成要素を持つデータと、段落のように構成
要素を持たないデータの列であることも普通である。こ
のようなタイプの違うデータの列であるという文書の特
徴をNSTでは表現できない。
However, NST is not sufficient to represent the logical structure of a document. Relational database, extended relations,
As it handled a set of records of the same kind, NS
T treats the document as a sequence of records of the same type. On the other hand, an actual document is a sequence of different types of components. For example, it is common for a document to be a sequence of different types of data such as figures, tables, paragraphs. Also, the document
It is also a sequence of data that has constituent elements such as chapters and data that does not have constituent elements such as paragraphs. NST cannot express the characteristics of a document that is a string of data of different types.

【0006】[0006]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、マルチタイプレコード列に
対する処理を可能としたデータ検索装置を提供すること
を目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a data search device capable of processing a multi-type record string.

【0007】[0007]

【課題を解決するための手段】本発明は、請求項1に記
載の発明においては、データ検索装置において、順序関
係を有するレコード列から所望の情報を取り出すデータ
検索装置において、複数の種類のレコードにより構成可
能なレコード列を格納する格納手段と、該格納手段に格
納されているレコード列に対する処理要求が入力可能な
指定手段と、該指定手段から入力された処理要求に基づ
き前記格納手段に格納されているレコード列に対して処
理を行ない新たなレコード列を生成する生成手段を有す
ることを特徴とするものである。
According to a first aspect of the present invention, in a data search apparatus, a plurality of types of records are used in a data search apparatus that retrieves desired information from a record string having an order relation. Storage means for storing a record string that can be configured by the storage means, designating means capable of inputting a processing request for the record series stored in the storage means, and storing in the storage means based on the processing request input from the designating means. The present invention is characterized by having a generation means for performing processing on the existing record string to generate a new record string.

【0008】請求項2に記載の発明では、請求項1に記
載のデータ検索装置において、前記指定手段から、レコ
ードの種類と、該種類のレコードに対する条件が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列から、前記指定手段で指定されたレコー
ドの種類であり、かつ、条件を満たさないレコードを取
り除いた、新しい第2のレコード列を生成することを特
徴とするものである。
According to a second aspect of the present invention, in the data search apparatus according to the first aspect, the type of the record and the condition for the record of the type are designated by the designating unit, and the generating unit stores the storage. A new second record string is generated by removing from the first record string stored in the means a record that is of the type of the record specified by the specifying means and does not satisfy the condition. To do.

【0009】請求項3に記載の発明では、請求項1に記
載のデータ検索装置において、前記指定手段から、レコ
ードの種類と、該種類のレコードに対する条件が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列から、前記指定手段で指定されたレコー
ドの種類であり、かつ、条件を満たさないレコードと、
指定手段で指定されなかったレコードとを取り除いた第
2のレコード列を生成することを特徴とするものであ
る。
According to a third aspect of the present invention, in the data search apparatus according to the first aspect, the type of the record and the condition for the record of the type are designated by the designating unit, and the generating unit stores the storage. A record that is the type of the record designated by the designation unit and does not satisfy the condition, from the first record string stored in the unit;
It is characterized in that a second record string is generated by removing records not designated by the designating means.

【0010】請求項4に記載の発明では、請求項1に記
載のデータ検索装置において、前記生成手段は、前記格
納手段に格納されている第1のレコード列の後に第2の
レコード列を連結した新しい第3のレコード列を生成す
ることを特徴とするものである。
According to the invention of claim 4, in the data search apparatus according to claim 1, the generating means concatenates the second record string after the first record string stored in the storage means. It is characterized in that a new third record string is created.

【0011】請求項5に記載の発明では、請求項1に記
載のデータ検索装置において、前記生成手段は、前記格
納手段に格納されている第1のレコード列から、前記格
納手段に格納されている第2のレコード列中に存在しな
いレコードを取り除いた新しい第3のレコード列を生成
することを特徴とするものである。
According to a fifth aspect of the present invention, in the data search apparatus according to the first aspect, the generating means stores the first record string stored in the storing means in the storing means. It is characterized in that a new third record string is generated by removing the records that do not exist in the existing second record string.

【0012】請求項6に記載の発明では、請求項1に記
載のデータ検索装置において、前記生成手段は、前記格
納手段に格納されている第1のレコード列から、前記格
納手段に格納されている第2のレコード列中に存在する
レコードを取り除いた新しい第3のレコード列を生成す
ることを特徴とするものである。
According to a sixth aspect of the present invention, in the data search apparatus according to the first aspect, the generating means stores the first record string stored in the storing means in the storing means. It is characterized in that a new third record string is generated by removing the records existing in the existing second record string.

【0013】請求項7に記載の発明では、請求項1に記
載のデータ検索装置において、前記生成手段は、前記格
納手段に格納されている第1のレコード列に含まれるレ
コードのフィールドと、前記格納手段に格納されている
第2のレコード列に含まれるレコードのフィールドと
を、この順序で並べたレコードを、第1のレコード列に
含まれるレコードの順に、それぞれ、第2のレコード列
に含まれるレコードの順序ですべての組み合わせについ
て作成した新しい第3のレコード列を生成することを特
徴とするものである。
According to a seventh aspect of the present invention, in the data search apparatus according to the first aspect, the generating means includes a field of a record included in the first record string stored in the storage means, and The records arranged in this order with the fields of the records included in the second record string stored in the storage means are included in the second record string in the order of the records included in the first record string. It is characterized in that a new third record string created for all combinations in the order of the records to be created is generated.

【0014】請求項8に記載の発明では、請求項1に記
載のデータ検索装置において、前記指定手段から、レコ
ードの種類と、該種類のレコードのフィールドの並び順
が指定され、前記生成手段は、前記格納手段に格納され
ている第1のレコード列の前記指定手段で指定された種
類のレコードのフィールドの並び順を、前記指定手段で
指定された並び順に変更した新しい第2のレコード列を
生成することを特徴とするものである。
According to an eighth aspect of the present invention, in the data search apparatus according to the first aspect, the designation means designates a record type and a field arrangement order of the records of the type, and the generation means is , A new second record string obtained by changing the order of fields of the records of the type designated by the designating unit of the first record sequence stored in the storage unit, to the sequence order designated by the designating unit. It is characterized by generating.

【0015】請求項9に記載の発明では、請求項1に記
載のデータ検索装置において、前記指定手段から、レコ
ードの種類と、該種類のレコードのフィールドの並び順
が指定され、前記生成手段は、前記格納手段に格納され
ている第1のレコード列の前記指定手段で指定された種
類のレコードのフィールドの並び順を、前記指定手段で
指定された並び順に変更し、さらに、前記指定手段で指
定されなかった種類のレコードを取り除いた新しい第2
のレコード列を生成することを特徴とするものである。
According to a ninth aspect of the present invention, in the data search apparatus according to the first aspect, the designation means designates a record type and a field arrangement order of the records of the type, and the generation means is Changing the arrangement order of the fields of the record of the type designated by the designating means of the first record string stored in the storage means, and further changing the order of the fields designated by the designating means. A new second that removes unspecified types of records
It is characterized by generating a record string of.

【0016】請求項10に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールド群の一
部が指定され、前記生成手段は、前記格納手段に格納さ
れている第1のレコード列の前記指定手段で指定された
種類のレコードを、該レコード中のフィールドのうちで
前記指定手段で指定されたもののみからなる新しいレコ
ードに置き換えた新しい第2のレコード列を生成するこ
とを特徴とするものである。
According to a tenth aspect of the present invention, in the data search apparatus according to the first aspect, the type of the record and a part of the field group of the record of the type are designated by the designating unit, and the generating unit is provided. Is a record of the type designated by the designating means of the first record string stored in the storing means as a new record consisting of only the fields designated by the designating means among the fields in the record. It is characterized in that a new replaced second record string is generated.

【0017】請求項11に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールド群の一
部が指定され、前記生成手段は、前記格納手段に格納さ
れている第1のレコード列の前記指定手段で指定された
種類のレコードを、該レコード中のフィールドのうちで
前記指定手段で指定されたもののみからなる新しいレコ
ードに置き換え、さらに、前記指定手段で指定されなか
った種類のレコードを取り除いた新しい第2のレコード
列を生成することを特徴とするものである。
According to an eleventh aspect of the present invention, in the data search apparatus according to the first aspect, the type of record and a part of a field group of the record of the type are designated by the designating unit, and the generating unit is provided. Is a new record consisting of only the fields designated by the designating means among the fields in the record of the type designated by the designating means of the first record string stored in the storing means. It is characterized in that a new second record string is generated by replacing and further removing a record of a type not designated by the designation means.

【0018】請求項12に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールド群の一
部が指定され、前記生成手段は、前記格納手段に格納さ
れている第1のレコード列のうち、前記指定手段で指定
された種類であり、かつ、指定手段で指定されたフィー
ルド群のフィールド値が等しい部分列を、該部分列を階
層化して作った新しいレコードに置き換えた新しい第2
のレコード列を生成することを特徴とするものである。
According to a twelfth aspect of the invention, in the data search apparatus according to the first aspect, the type of the record and a part of the field group of the record of the type are designated by the designating means, and the generating means is provided. Is a partial sequence of the first record sequence stored in the storage unit, which is of the type designated by the designating unit and has the same field value of the field group designated by the designating unit. A new second that replaces a new record created by layering columns
It is characterized by generating a record string of.

【0019】請求項13に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールド群の一
部が指定され、前記生成手段は、前記格納手段に格納さ
れている第1のレコード列のレコードのうち、前記指定
手段で指定された種類であり、かつ、前記指定手段で指
定されたフィールド群のフィールド値が等しい部分列
を、該部分列を階層化して作った新しいレコードに置き
換え、さらに、前記指定手段で指定されなかった種類の
レコードを取り除いた新しい第2のレコード列を生成す
ることを特徴とするものである。
According to a thirteenth aspect of the present invention, in the data search apparatus according to the first aspect, the type of record and a part of the field group of the record of the type are designated by the designating unit, and the generating unit is provided. Is a subsequence of the records of the first record sequence stored in the storage means, which is of the type designated by the designating means and has the same field value of the field group designated by the designating means. , A new second record string is created by replacing the partial string with a new record created by hierarchizing, and further removing a record of a type not specified by the specifying means.

【0020】請求項14に記載の発明では、請求項12
または13に記載のデータ検索装置において、前記部分
列を階層化して作った新しいレコードが、前記指定手段
で指定されたフィールド群と、前記部分列を値とするフ
ィールドとからなるレコードであることを特徴とするも
のである。
According to the invention described in claim 14, in claim 12,
Alternatively, in the data search device described in the paragraph 13, the new record created by hierarchizing the partial sequence is a record including a field group designated by the designating unit and a field having the partial sequence as a value. It is a feature.

【0021】請求項15に記載の発明では、請求項12
または13に記載のデータ検索装置において、前記部分
列を階層化して作った新しいレコードが、前記指定手段
で指定されたフィールド群と、前記部分列中の各レコー
ドを、該レコードのフィールド群のうちで前記指定手段
で指定されなかったものからなるレコードで置き換えた
ものを値とするフィールドとからなるレコードであるこ
とを特徴とするものである。
According to the invention of claim 15, in claim 12,
Alternatively, in the data search device described in the paragraph 13, a new record created by hierarchizing the partial sequence includes a field group designated by the designating means and each record in the partial sequence among the field groups of the record. The record is composed of a field whose value is the value replaced by the record not specified by the specifying means.

【0022】請求項16に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールド群の一
部が指定され、前記生成手段は、前記格納手段に格納さ
れている第1のレコード列中のレコードで、前記指定手
段で指定された種類であり、かつ、前記指定手段で指定
されたフィールド群のフィールド値が等しい1つ以上の
レコードを順に抽出して連結し、このレコード列を階層
化して作った新しいレコードと、第1のレコード列中の
レコードで、前記指定手段で指定されなかった種類のレ
コードとを、第1のレコード列中のレコードの順に連結
した新しい第2のレコード列を生成することを特徴とす
るものである。
According to a sixteenth aspect of the present invention, in the data search apparatus according to the first aspect, the type of record and a part of the field group of the record of the type are designated by the designating unit, and the generating unit is provided. Is one or more records in the first record string stored in the storage means, of the type specified by the specification means, and having the same field value of the field group specified by the specification means. Records are sequentially extracted and concatenated, and a new record created by hierarchizing this record string and a record in the first record string that is not specified by the specifying means are It is characterized in that a new second record string in which the records in the record string are connected in order is generated.

【0023】請求項17に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールド群の一
部が指定され、前記生成手段は、前記格納手段に格納さ
れている第1のレコード列中のレコードで、前記指定手
段で指定された種類であり、かつ、前記指定手段で指定
されたフィールド群のフィールド値が等しい1つ以上の
レコードを順に抽出して連結し、このレコード列を階層
化して作った新しいレコードを、第1のレコード列中の
レコードの順に連結した新しい第2のレコード列を生成
することを特徴とするものである。
According to a seventeenth aspect of the present invention, in the data search apparatus according to the first aspect, the designation unit designates a record type and a part of a field group of the record of the type, and the generation unit. Is one or more records in the first record string stored in the storage means, of the type specified by the specification means, and having the same field value of the field group specified by the specification means. Is sequentially extracted and concatenated, and a new record created by layering this record sequence is connected to the records in the first record sequence to generate a new second record sequence. Is.

【0024】請求項18に記載の発明では、請求項16
または17に記載のデータ検索装置において、前記新し
いレコードは、前記指定手段で指定されたフィールド群
と、前記1つ以上のレコードを抽出した順に連結したレ
コード列を値とするフィールドとからなるレコードであ
ることを特徴とするものである。
According to the invention described in claim 18, claim 16 is provided.
Alternatively, in the data search device described in the paragraph 17, the new record is a record including a field group designated by the designating unit and a field having a value as a record string obtained by concatenating the one or more records in the order of extraction. It is characterized by being.

【0025】請求項19に記載の発明では、請求項16
または17に記載のデータ検索装置において、前記新し
いレコードは、前記指定手段で指定されたフィールド群
と、前記1つ以上のレコードを抽出した順に連結したレ
コード列の各レコードから前記指定手段で指定されたフ
ィールドを取り除いたレコード列を値とするフィールド
とからなるレコードであることを特徴とするものであ
る。
In the invention described in claim 19, claim 16 is provided.
Alternatively, in the data search device described in the paragraph 17, the new record is designated by the designating unit from each field of the field group designated by the designating unit and each record of a record string in which the one or more records are connected in the order of extraction. It is characterized in that it is a record consisting of a field whose value is a record string obtained by removing the field.

【0026】請求項20に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、フィールド値が1つ以上の型のレコー
ドからなるレコード列であるフィールドが指定され、前
記生成手段は、前記格納手段に格納されている第1のレ
コード列のうち、前記指定手段で指定された種類のレコ
ードを、該レコードのフィールドのうち前記指定手段か
ら指定されたフィールドの値であるレコード列の各レコ
ードを、前記レコード中の前記指定手段から指定されな
かったフィールド群に追加して作ったレコード列で置き
換えた新しい第2のレコード列を生成することを特徴と
するものである。
According to a twentieth aspect of the invention, in the data retrieving apparatus according to the first aspect, a field, which is a record string consisting of records of one or more types of record and field value, is specified by the specifying means. Is specified, the generating means specifies, from the first record string stored in the storing means, a record of the type specified by the specifying means, from the specifying means in the field of the record. A new second record string is generated by replacing each record of the record string that is the value of the field with a record string created by adding to a field group not specified by the specifying means in the record. To do.

【0027】請求項21に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、フィールド値が1つ以上の型のレコー
ドからなるレコード列であるフィールドが指定され、前
記生成手段は、前記格納手段に格納されている第1のレ
コード列のうち、前記指定手段で指定された種類のレコ
ードを、該レコードのフィールドのうち前記指定手段か
ら指定されたフィールドの値であるレコード列の各レコ
ードを、前記レコード中の前記指定手段から指定されな
かったフィールド群に追加して作ったレコード列で置き
換え、さらに、前記指定手段で指定されなかった種類の
レコードを取り除いた新しい第2のレコード列を生成す
ることを特徴とするものである。
According to the twenty-first aspect of the present invention, in the data search apparatus according to the first aspect, a field which is a record string including a record type and a record having one or more field values from the specifying means. Is specified, the generating means specifies, from the first record string stored in the storing means, a record of the type specified by the specifying means, from the specifying means in the field of the record. Replace each record of the record string that is the value of the field with a record string created by adding to the field group not specified by the specifying means in the record, and further, record of a type not specified by the specifying means It is characterized in that a new second record string from which is deleted is generated.

【0028】請求項22に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードから新たなデータを
作成する作成方法とが指定され、前記生成手段は、前記
格納手段に格納されている第1のレコード列の前記指定
手段で指定された種類のレコードに、前記指定手段で指
定された作成方法にしたがって前記レコードから作成さ
れたデータをフィールド値とするフィールドを追加した
新しい第2のレコード列を生成することを特徴とするも
のである。
According to the twenty-second aspect of the present invention, in the data search apparatus according to the first aspect, the type of record and a creating method for creating new data from the record of the type are specified by the specifying means. The generating means stores data created from the record in the first record string stored in the storing means in the record of the type specified by the specifying means according to the creating method specified by the specifying means. It is characterized in that a new second record string to which a field having a field value of is added is generated.

【0029】請求項23に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードから新たなデータを
作成する作成方法とが指定され、前記生成手段は、前記
格納手段に格納されている第1のレコード列の前記指定
手段で指定された種類のレコードに、前記指定手段で指
定された作成方法にしたがって前記レコードから作成さ
れたデータをフィールド値とするフィールドを追加し、
さらに、前記指定手段で指定されなかった種類のレコー
ドを取り除いた新しい第2のレコード列を生成すること
を特徴とするものである。
In the invention described in Item 23, in the data search apparatus according to Item 1, the designation means designates the type of the record and the creating method for creating new data from the record of the type. The generating means stores data created from the record in the first record string stored in the storing means in the record of the type specified by the specifying means according to the creating method specified by the specifying means. Add a field whose field value is
Further, it is characterized in that a new second record string is generated by removing the records of the type not designated by the designation means.

【0030】請求項24に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールドと、該
種類のレコードから新たなデータを作成する作成方法が
指定され、前記生成手段は、前記格納手段に格納されて
いる第1のレコード列の前記指定手段で指定された種類
のレコードの前記指定手段で指定されたフィールドを、
前記指定手段で指定された作成方法にしたがって前記レ
コードから作成されたデータをフィールド値とするフィ
ールドで置き換えた新しい第2のレコード列を生成する
ことを特徴とするものである。
According to a twenty-fourth aspect of the present invention, in the data search apparatus according to the first aspect, the type of the record, the field of the record of the type, and new data from the record of the type are supplied from the designating unit. A creation method to be created is designated, and the generation means sets the field designated by the designation means of the record of the type designated by the designation means of the first record string stored in the storage means,
According to the creating method specified by the specifying means, a new second record string in which the data created from the record is replaced with a field having a field value is generated.

【0031】請求項25に記載の発明では、請求項1に
記載のデータ検索装置において、前記指定手段から、レ
コードの種類と、該種類のレコードのフィールドと、該
種類のレコードから新たなデータを作成する作成方法が
指定され、前記生成手段は、前記格納手段に格納されて
いる第1のレコード列の前記指定手段で指定された種類
のレコードの前記指定手段で指定されたフィールドを、
前記指定手段で指定された作成方法にしたがって前記レ
コードから作成されたデータをフィールド値とするフィ
ールドに置き換え、さらに、前記指定手段で指定されな
かった種類のレコードを取り除いた新しい第2のレコー
ド列を生成することを特徴とするものである。
According to the invention described in claim 25, in the data search apparatus according to claim 1, the type of record, the field of the record of the type, and new data from the record of the type are supplied from the designating means. A creation method to be created is designated, and the generation unit specifies the field designated by the designation unit of the record of the type designated by the designation unit of the first record string stored in the storage unit,
A new second record string is created by replacing the data created from the record according to the creating method specified by the specifying unit with a field having a field value, and removing a record of a type not specified by the specifying unit. It is characterized by generating.

【0032】[0032]

【作用】本発明によれば、指定手段から入力された処理
要求に基づき格納手段に格納されているレコード列に対
して処理を行ない新たなレコード列を生成する生成手段
を有しているので、従来の1種類のレコードからなるレ
コード型のみならず、複数の種類のレコードからなるマ
ルチタイプレコード列に対して、検索、連結、除去、比
較、直交積、抽出、階層化、非階層化、レコード中のフ
ィールドの並び順の変更、追加、置換等の処理を行なう
ことができる。また、これらの処理のうちのいくつかの
機能を備えることにより、ユーザは理解しやすいプリミ
ティブな操作の組み合わせを指定することによって、例
えば文書の論理情報を表現したマルチタイプレコード列
を操作できるように構成可能となる。これによって、従
来の関係代数や拡張関係代数等と同様に、マルチタイプ
レコード列に対する処理であっても、指定された操作が
どのような処理であるのかを理解することが容易にな
る。
According to the present invention, since there is a generating means for generating a new record string by processing the record string stored in the storing means based on the processing request inputted from the designating means, Search, concatenation, removal, comparison, orthogonal product, extraction, hierarchical, non-hierarchical, record not only for conventional record type consisting of one kind of record but also for multi-type record string consisting of plural kinds of records It is possible to change the order of the fields inside, add, replace, etc. In addition, by providing some functions of these processes, the user can operate a multi-type record string that represents logical information of a document by specifying a combination of primitive operations that are easy to understand. It is configurable. As a result, like the conventional relational algebra and extended relational algebra, it becomes easy to understand what the designated operation is even in the processing for the multi-type record sequence.

【0033】[0033]

【実施例】図1は、本発明のデータ検索装置の一実施例
を示す構成図である。図中、1は格納手段、2は指定手
段、3は生成手段、4は表示手段である。格納手段1
は、検索対象となるデータ(以下、検索対象データと呼
ぶ)を格納している。格納手段1は、例えば、ハードデ
ィスク装置とインターフェース等で構成することができ
る。指定手段2は、要求する検索内容を指示するための
ものであり、入力された検索要求は、生成手段3に入力
する。指定手段2は、例えば、キーボード、マウスなど
の入力装置、入力制御部、入力された指定を解析する指
定解析部等で構成される。または、格納手段1と同様、
ハードディスク装置等で構成し、検索内容を指示するデ
ータを保持しておき、読み出して生成手段3に入力する
ように構成することも可能である。生成手段3は、指定
手段2で指定された検索対象データを格納手段1から読
み込み、検索処理を実行して新しい検索対象データを生
成する。生成手段3は、検索対象データを読み込む読込
部、検索処理を行なう検索処理部等で構成される。表示
手段4は、生成手段3において検索処理を行なった結果
を表示する。表示手段4としては、例えば、CRTディ
スプレイ装置、表示制御部、生成手段3で生成された検
索対象データからCRTディスプレイに表示される情報
を生成する表示情報生成部等で構成される。指定手段2
の指定解析部、表示手段4の表示情報生成部、生成手段
3の読込部と検索処理部等は、中央制御装置と主記憶装
置によって構成することができる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is a block diagram showing an embodiment of a data search apparatus of the present invention. In the figure, 1 is a storage means, 2 is a designation means, 3 is a generation means, and 4 is a display means. Storage means 1
Stores data to be searched (hereinafter referred to as search target data). The storage unit 1 can be composed of, for example, a hard disk device and an interface. The designating means 2 is for instructing the search content to be requested, and the input search request is input to the generating means 3. The designation means 2 is composed of, for example, an input device such as a keyboard and a mouse, an input control unit, a designation analysis unit that analyzes the input designation. Or, like the storage means 1,
It is also possible to configure by a hard disk device or the like, hold data for instructing search contents, read it out, and input it to the generation means 3. The generation unit 3 reads the search target data designated by the designation unit 2 from the storage unit 1 and executes a search process to generate new search target data. The generating means 3 is composed of a reading unit that reads in search target data, a search processing unit that performs search processing, and the like. The display unit 4 displays the result of the search process performed by the generation unit 3. The display unit 4 includes, for example, a CRT display device, a display control unit, a display information generation unit that generates information displayed on the CRT display from the search target data generated by the generation unit 3. Designating means 2
The designated analysis unit, the display information generation unit of the display unit 4, the reading unit and the search processing unit of the generation unit 3, and the like can be configured by a central control device and a main storage device.

【0034】上述のデータ検索装置は、例えば、文書の
論理構造を扱うことができる。この場合、生成手段3で
生成された検索対象データの形式の文書論理構造は、フ
ォーマッタにかけることにより、レイアウトされた文書
を得ることができる。
The above-described data search device can handle the logical structure of a document, for example. In this case, the layout of the document can be obtained by applying the format of the document logical structure of the search target data generated by the generation means 3 to the formatter.

【0035】格納手段1に格納されている検索対象デー
タは、識別子によってアクセスすることができる。例え
ば、検索対象データの識別子と、検索対象データへのポ
インタとで構成されるテーブルを格納手段1に格納して
おく。このテーブルを、データ検索装置の起動時に主記
憶装置に読み込んでおくことによって、データ検索装置
の起動以後、識別子によって検索対象データにアクセス
できるようになる。
The retrieval target data stored in the storage means 1 can be accessed by an identifier. For example, a table including an identifier of the search target data and a pointer to the search target data is stored in the storage unit 1. By reading this table into the main storage device when the data search device is activated, the search target data can be accessed by the identifier after the data search device is activated.

【0036】検索対象データは、マルチタイプレコード
列のデータ構造を示すデータ定義部と、マルチタイプレ
コード列が格納された実データ部とで構成される。デー
タ定義部は、関係データベース、または、拡張関係デー
タベース、あるいは、NSTにおけるスキーマにあた
る。また、実データ部は、関係データベース、または、
拡張関係データベース、あるいは、NSTにおけるオカ
レンスにあたる。
The search target data is composed of a data definition part showing the data structure of the multi-type record string and an actual data part in which the multi-type record string is stored. The data definition part corresponds to a relational database, an extended relational database, or a schema in NST. Also, the actual data part is a relational database, or
It is an expanded relational database or an occurrence in NST.

【0037】図2,図3は、検索対象データの第1の例
の説明図である。図2はデータ定義部を、図3は実デー
タ部をそれぞれ示している。図2以降の説明において、
データ定義部,実データ部の内容を表現するとき、集合
は「{」と「}」で囲まれて表現され、フィールド名あ
るいはフィールド値の列は「[」と「]」で囲まれて表
現されている。また、レコードの列は「<」,「>」で
囲まれて表現されている。集合または列の要素は、カン
マによって区切られている。図2および図3に示した例
は、ある議事録に関する検索対象データを表わしてい
る。この議事録は、質問と意見が時間の経過に従って並
んでいる。
2 and 3 are explanatory views of the first example of the search target data. 2 shows the data definition part, and FIG. 3 shows the actual data part. In the explanation after FIG. 2,
When expressing the contents of the data definition part and the actual data part, the set is expressed by being enclosed in "{" and "}", and the field name or field value sequence is enclosed by being enclosed in "[" and "]". Has been done. Further, the columns of the record are represented by being surrounded by "<" and ">". The elements of the set or column are separated by commas. The examples shown in FIGS. 2 and 3 represent search target data regarding a certain minutes. This minutes is lined with questions and opinions over time.

【0038】1つの検索対象データは、図2に示したデ
ータ定義部と図3に示した実データ部とにより構成され
ている。データ定義部は、アトミックデータ定義部、レ
コード定義部、ルート定義部から構成される。
One search target data is composed of the data definition part shown in FIG. 2 and the actual data part shown in FIG. The data definition part includes an atomic data definition part, a record definition part, and a route definition part.

【0039】アトミックデータ定義部は、アトミックデ
ータ定義の集合である。アトミックデータ定義は、実デ
ータ部に出現するアトミックデータを定義しており、ア
トミックデータ種名とアトミックデータ型とのペアで構
成される。以下の説明では、アトミックデータ定義を、
アトミックデータ種名、コロン、アトミックデータ型で
示している。アトミックデータ型には、文字列型、整数
型、実数型などがある。例えば、図2に示した例のアト
ミックデータ定義部の「発言者:文字列型」は、1つの
アトミックデータ定義であり、このうちの「発言者」が
アトミックデータ種名、「文字列型」がアトミックデー
タ型である。また、アトミックデータ種名「内容」も、
「文字列型」のアトミックデータ型である。アトミック
データ定義部中には、データ定義部に出現するすべての
アトミックデータ種名について、該アトミックデータ種
名を持つアトミックデータ定義が存在する。アトミック
データ定義部中に、同じアトミックデータ種名を持つ複
数のアトミックデータ定義が存在してはならない。
The atomic data definition section is a set of atomic data definitions. The atomic data definition defines atomic data that appears in the actual data part, and is composed of a pair of an atomic data type name and an atomic data type. In the following explanation, the atomic data definition is
Atomic data type name, colon, and atomic data type are shown. Atomic data types include string type, integer type, and real number type. For example, the "speaker: character string type" of the atomic data definition part of the example shown in FIG. 2 is one atomic data definition, and the "speaker" of these is the atomic data type name, "character string type". Is an atomic data type. Also, the atomic data type name "contents" is
It is a "string type" atomic data type. In the atomic data definition part, for all atomic data type names appearing in the data definition part, there is an atomic data definition having the atomic data type name. Multiple atomic data definitions with the same atomic data type name must not exist in the atomic data definition part.

【0040】レコード定義部は、レコード定義の集合で
ある。レコード定義は、実データ部に出現するレコード
を定義しており、レコード種名とレコード型とのペアで
構成される。以下の説明では、レコード定義を、レコー
ド種名、コロン、レコード型で示している。レコード種
名は、レコード定義がどの種類のレコードについてのも
のかを識別するためのものである。また、レコード型は
フィールド名の列で構成され、レコード種名で示された
種類のレコードが、どういうフィールドで構成される
か、また、そのフィールドはどういう順序で並んでいる
かを示している。レコード定義部中には、データ定義部
に出現するすべてのレコード種名について、該レコード
種を持つレコード定義が存在する。レコード定義部中
に、同じレコード種名を持つ複数のレコード定義が存在
してはならない。図2に示した例において、レコード定
義部の「質問:[発言者,{発言,回答}]」は1つの
レコード定義であり、「質問」がレコード種名、「[発
言者,{発言,回答}]」がレコード型である。以下の
説明において、レコード種名「A」を有するレコード
を、単にAレコードと呼ぶことにする。
The record definition section is a set of record definitions. The record definition defines a record that appears in the actual data section, and is composed of a pair of record type name and record type. In the following description, the record definition is indicated by the record type name, colon, and record type. The record type name is for identifying what kind of record the record definition is about. Also, the record type is composed of a column of field names, and indicates what kind of fields the records of the kind indicated by the record kind name are made of, and in what order the fields are arranged. In the record definition part, for all record type names appearing in the data definition part, there is a record definition having the record type. There cannot be multiple record definitions with the same record type name in the record definition section. In the example shown in FIG. 2, "Question: [speaker, {speak, answer}]" in the record definition section is one record definition, "question" is a record type name, and "[speaker, {speak, Answer}] ”is a record type. In the following description, a record having the record type name “A” will be simply referred to as an A record.

【0041】フィールド名は、アトミックデータ種名、
あるいは、レコード種名の集合である。例えば、フィー
ルド名が「a」というアトミックデータ名であるとき、
そのフィールドの値は、「a」をアトミックデータ名に
持つアトミックデータ定義のアトミックデータ型のデー
タを値として持つ。レコード型中のフィールド名がレコ
ード種名の集合であるとき、そのフィールドを複合フィ
ールドと呼ぶ。フィールド名が「{b,c}」であると
き、そのフィールドの値は「b」というレコード種名を
持つレコードと、「c」というレコード種名を持つレコ
ードとからなるマルチタイプレコード集合であることを
示している。図2に示した例では、レコード種名「質
問」は、「発言者」を表す文字列型のフィールド、「発
言」と「回答」の2種のレコードからなるマルチタイプ
レコード列を値とする複合フィールドの2つのフィール
ドが、この順に並んでいると定義されている。以下の説
明では、フィールド名「A」を有するフィールドを、A
フィールドと呼ぶことにする。
The field name is the atomic data type name,
Alternatively, it is a set of record type names. For example, when the field name is the atomic data name "a",
The value of the field has, as a value, the atomic data type data of the atomic data definition having "a" as the atomic data name. When a field name in a record type is a set of record type names, that field is called a composite field. When the field name is "{b, c}", the value of the field is a multi-type record set consisting of a record having a record kind name of "b" and a record having a record kind name of "c". It is shown that. In the example shown in FIG. 2, the record type name “question” has a value of a character string type field representing “speaker” and a multi-type record sequence including two types of records, “speech” and “answer”. Two fields of a composite field are defined as being arranged in this order. In the following description, a field having the field name “A” is referred to as A
I will call it the field.

【0042】ルート定義部は、レコード種名の集合であ
る。ルート定義部は、実データ部がどのようなレコード
で構成されるマルチタイプレコード列かを示している。
例えば図2では、実データ部が「質問」レコードと「意
見」レコードの2種のレコードの集合であることを示し
ている。なお、データ定義部に出現するアトミックデー
タ種名とレコード種名は、重複してはならない。
The route definition part is a set of record type names. The route definition part indicates what kind of record the actual data part is composed of.
For example, FIG. 2 shows that the actual data part is a set of two types of records, which are a “question” record and an “opinion” record. Note that the atomic data type name and record type name that appear in the data definition section must not overlap.

【0043】実データ部は、いろいろな種類のレコード
の集合である。レコードは、レコードの種類を識別する
ためのレコード種名と、フィールド値の列であるレコー
ド本体とから構成される。以下の説明では、レコード
は、レコード種名、コロン、レコード本体の連結で表現
される。レコード本体は、フィールド値の列を「[」と
「]」で囲んだもので表現される。レコード本体のどの
部分がいかなるフィールドのフィールド値であるか、あ
るフィールドがレコードの先頭からいくつ目のフィール
ドであるか、また、そのデータ型は何か等は、同じレコ
ード種名を持つレコード定義を参照することにより知る
ことができる。レコード定義のレコード型に出現するフ
ィールド名の順序と、レコード本体中のフィールド値の
出現順序は一致している。図3に示した例では、実デー
タ部が、2つの質問レコードと、3つの意見レコードか
ら構成されている。最初の質問レコードのレコード本体
は、2つのフィールドの列を有している。このレコード
は、発言者フィールドの値が「a山a’蔵」、{発言,
回答}フィールドの値が3つのレコードからなるマルチ
タイプレコード列である。
The actual data part is a set of various kinds of records. A record is composed of a record type name for identifying the type of record and a record body which is a column of field values. In the following description, a record is represented by a concatenation of the record type name, a colon, and the record body. The record body is represented by a field value column enclosed in "[" and "]". For which part of the record body is the field value of which field, which field is the number of fields from the beginning of the record, and what its data type is, the record definition with the same record type name is used. You can know it by referring to it. The order of the field names appearing in the record type of the record definition and the order of appearance of the field values in the record body match. In the example shown in FIG. 3, the actual data part is composed of two question records and three opinion records. The record body of the first question record has two field columns. In this record, the value of the speaker field is "a mountain a'kura", {speak,
The value of the answer field is a multi-type record string consisting of three records.

【0044】次に、生成手段3において行なわれる処理
の一例について説明する。第1の処理例として、マルチ
タイプレコード列を対象にした、条件に適合するレコー
ドを取り出す処理(selection処理)を行なう
例について説明する。第1の処理例において、生成手段
3は、指定手段2から検索対象データの識別子、レコー
ド種名、該種類のレコードに対する条件の指定を受け
る。これらの情報は、指定手段2の一部である入力装置
を介してユーザが指定する。
Next, an example of the processing performed by the generating means 3 will be described. As a first processing example, an example will be described in which a process (selection process) for extracting a record that meets a condition is performed on a multi-type record string. In the first processing example, the generation unit 3 receives the designation of the search target data identifier, the record type name, and the condition for the record of the type from the designation unit 2. These pieces of information are designated by the user via the input device which is a part of the designation means 2.

【0045】図4は、selection処理を行なう
際の入力情報の形式の一例の説明図である。ユーザが指
定手段2の入力装置を介して、検索対象データの識別
子、レコード種名、該種類のレコードに対する条件を指
定する際の、入力する情報の概要を示している。図4に
おいて、「識別子」は、検索対象データの識別子を指定
する部分である。「レコード種名」は、レコード種名を
指定する部分である。「条件」はbyの前に記述された
種類のレコードに対する条件を指定する部分である。
FIG. 4 is an explanatory diagram of an example of the format of input information when performing the selection process. The outline of the information to be input when the user designates the identifier of the search target data, the record type name, and the condition for the record of the type via the input device of the designation unit 2 is shown. In FIG. 4, the “identifier” is a part that specifies the identifier of the search target data. The “record type name” is a part for specifying the record type name. “Condition” is a part that specifies a condition for a record of the type described before by.

【0046】図5は、selection処理を行なう
際の入力情報の一例の説明図である。図5では、検索対
象となるのは「議事録」という識別子を持つ検索対象デ
ータであることが指定されている。また、選択の対象と
なるレコードは、意見レコードであり、選択の条件は、
発言者フィールドの値が「c島c’樹」であることであ
る。
FIG. 5 is an explanatory diagram of an example of input information when performing the selection process. In FIG. 5, it is specified that the search target is the search target data having the identifier “minutes”. Also, the record to be selected is an opinion record, and the selection condition is
The value of the speaker field is "c island c'tree".

【0047】レコードによっては、1つのレコードに同
じフィールド名を持つフィールドが複数存在する場合が
有り得る。例えば、レコード定義部中に、「メイル:
[アドレス,内容,アドレス]」というレコード定義が
あった場合、メイルレコードには2つのアドレスフィー
ルドが存在する。このような場合には、条件を指定する
ときに、フィールドを「フィールド名.自然数」で指定
するようにすればよい。自然数の部分は、指定されたフ
ィールド名を持つフィールドで、何番目に出現するかを
示す。「.自然数」の部分は省略しても良い。省略した
ときは、「フィールド名.1」と同じであるとする。例
えば、図4の「レコード種名 by 条件」の部分に、
「メイル by アドレス.2=○○○」という指定を
行なうことにより、この条件がメイルレコードの2番目
のアドレスフィールドの値が○○○であるものをsel
ectionの条件とすることが指定できる。
Depending on the record, there may be a plurality of fields having the same field name in one record. For example, in the record definition section, "mail:
If there is a record definition "[address, content, address]", the mail record has two address fields. In such a case, when specifying the condition, the field may be specified by "field name.natural number". The natural number part is the field having the specified field name and indicates the order of occurrence. The ".natural number" part may be omitted. When omitted, it is assumed to be the same as "field name. 1". For example, in the “record type name by condition” part of FIG.
By specifying "mail by address.2 = ○○○", the condition that the value of the second address field of the mail record is ○○○ is selected.
It can be specified as the condition of section.

【0048】指定できる条件としては、図5に示したよ
うなもの以外に以下のようなものがある。 ・特定のフィールドの値が、ある特定の文字列を含む
か。 ・特定のフィールドの値がある特定の数値より大きい、
あるいは以上、あるいは以下、あるいは未満であるか。 ・別々のフィールドの値が等しいか。 ・あるフィールドの値(文字列)が、別のフィールドの
値(文字列)に含まれるか。 ・あるフィールドの値(数値)が、別のフィールドの値
(数値)より大きい、あるいは以上、あるいは以下、あ
るいは未満であるか。 ・ある複合フィールドの値が、ある特定の条件に適合す
るレコードを含むか。 ・ある複合フィールドの値の全ての要素が、ある特定の
条件に適合するか。 ・上記条件の論理和、論理積、否定、含意。
The conditions that can be specified include the following conditions in addition to the conditions shown in FIG.・ Whether the value of the specific field contains a specific character string. · The value of a particular field is greater than a certain number
Is it above, below, or below? • Are the values in the different fields equal? -Is the value (character string) of one field included in the value (character string) of another field? Whether the value (numerical value) of one field is greater than, greater than, less than, or less than, the value (numerical value) of another field. · Whether the value of a composite field contains records that meet certain conditions.・ Are all the elements of the value of a certain composite field satisfying a certain condition? -The logical sum, logical product, negation, and implication of the above conditions.

【0049】指定手段2では、ユーザからの入力を受け
取り、指定解析部で解析して、検索対象データの識別
子、レコード種名、該種類のレコードに対する条件を生
成手段3に送る。生成手段3は、指定手段2から識別
子、レコード種名、条件を受け取った後、指定手段2か
ら送られてきた識別子を持つ検索対象データを格納手段
1から主記憶装置に読み込む。読み込んだ検索対象デー
タの実データ部の要素のうち、指定手段2から送られて
きたレコード種名を持ち、かつ、指定手段2から送られ
てきた条件を満たさないレコードを取り除いた、新しい
マルチタイプレコード列を作成する。そして、読み込ん
だ検索対象データのデータ定義部の内容をデータ定義部
とし、作成された新しいマルチタイプレコード列を実デ
ータ部とする、新しい検索対象データを作成する。この
新しい検索対象データは、表示手段4によってCRTデ
ィスプレイに表示され、ユーザは検索結果を見ることが
できる。
The designating means 2 receives the input from the user, analyzes it by the designating analysis section, and sends the identifier of the data to be searched, the record type name, and the condition for the record of the type to the generating means 3. After receiving the identifier, the record type name, and the condition from the specifying unit 2, the generating unit 3 reads the search target data having the identifier sent from the specifying unit 2 from the storage unit 1 into the main storage device. Among the elements of the actual data part of the read search target data, a new multi-type in which a record having the record type name sent from the designating means 2 and not satisfying the condition sent from the designating means 2 is removed. Create a record string. Then, the contents of the read data to be searched are defined as the data definition part, and the created new multi-type record string is used as the actual data part to create new search target data. This new search target data is displayed on the CRT display by the display means 4, and the user can see the search result.

【0050】図6は、selection処理により生
成された新たな検索対象データにおける実データ部の一
例の説明図である。上述のselection処理にお
いて、例えば、図2に示したデータ定義部と、図3に示
した実データ部を持つ検索対象データが「議事録」とい
う識別子で格納手段1に格納されているとき、ユーザが
図5に示した入力を行なう。すると、作成される検索対
象データのデータ定義部は、元の検索対象データのデー
タ定義部と同様、図2に示したデータ定義部となり、実
データ部は、図6に示すようになる。図6では、図3に
示したレコードから、指定された意見レコードであっ
て、条件「発言者=c島c’樹」に適合しないレコー
ド、すなわち、発言者が「a山a’蔵」のレコードが取
り除かれて、新たな実データ部が構成されている。
FIG. 6 is an explanatory diagram of an example of the actual data part in the new search target data generated by the selection process. In the above selection process, for example, when the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”, the user Performs the input shown in FIG. Then, the data definition part of the created search target data becomes the data definition part shown in FIG. 2 similarly to the data definition part of the original search target data, and the actual data part becomes as shown in FIG. In FIG. 6, from the record shown in FIG. 3, a record that is a designated opinion record and does not meet the condition “speaker = c island c ′ tree”, that is, the speaker is “a mountain a ′ warehouse”. The record is removed and a new actual data part is constructed.

【0051】上述のselection処理では、検索
対象データの実データ部の要素のうち、指定手段2から
送られてきたレコード種名を持ち、かつ、指定手段2か
ら送られてきた条件を満たさないレコードを取り除い
た、新しいマルチタイプレコード列を作成したが、指定
手段2から送られてきたレコード種名を持ち、かつ、指
定手段2から送られてきた条件を満たさないレコード
と、指定手段2から送られてきたレコード種名を持たな
いレコードを取り除いた、新しいマルチタイプレコード
列を作成するように構成することもできる。図7は、s
election処理により生成された新たな検索対象
データにおける実データ部の別の一例の説明図である。
図6の場合と同様に、例えば、図2に示したデータ定義
部と、図3に示した実データ部を持つ検索対象データが
「議事録」という識別子で格納手段1に格納されている
とき、ユーザが図5に示した入力を行なう場合を考え
る。この別の一例の場合には、作成される検索対象デー
タの実データ部は、図7に示すようになる。図7では、
図3に示したレコードから、意見レコードであって、条
件「発言者=c島c’樹」に適合しないレコードと、意
見レコード以外のレコードを取り除いたレコード、すな
わち、意見レコードであって、条件「発言者=c島c’
樹」に適合するレコードのみにより、新たな実データ部
が構成される。
In the above selection process, among the elements of the actual data part of the search target data, the record having the record type name sent from the designating means 2 and not satisfying the condition sent from the designating means 2 A new multi-type record string was created by removing the records, but a record having the record type name sent from the designating means 2 and not satisfying the condition sent from the designating means 2 is sent from the designating means 2. It can also be configured to create a new multi-type record string by removing records that do not have the existing record kind name. FIG. 7 shows s
It is explanatory drawing of another example of the real data part in the new search object data produced | generated by the selection process.
Similar to the case of FIG. 6, for example, when the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user performs the input shown in FIG. In the case of this another example, the actual data part of the created search target data is as shown in FIG. In Figure 7,
From the records shown in FIG. 3, an opinion record that does not meet the condition “speaker = c island c ′ tree” and a record other than the opinion record, that is, an opinion record, "Speaker = c island c '
A new actual data part is composed only of records that conform to "tree".

【0052】次に、第2の処理例として、マルチタイプ
レコード列を対象にし、マルチタイプレコード列の後ろ
に別のマルチタイプレコード列を連結した連結列を作る
処理(union処理)を行なう例について説明する。
第2の処理例において、生成手段3は、指定手段2から
被連結列としたい実データ部を含む検索対象データ(被
連結検索対象データと呼ぶ)の識別子と、連結列とした
い実データ部を含む検索対象データ(連結検索対象デー
タと呼ぶ)の識別子とを受け取る。これらの情報は、指
定手段2の一部である入力装置を介してユーザが指定す
る。指定手段2では、ユーザからの入力を受け取り、該
入力を指定解析部で解析して、2つの検索対象データの
識別子を生成手段3に送る。生成手段3は、指定手段2
から被連結検索対象データの識別子と連結検索対象デー
タの識別子とを受け取った後、まず、指定手段2から送
られてきた識別子を持つ検索対象データを格納手段1か
ら主記憶装置に読み込み、読み込んだ2つの検索対象デ
ータのデータ定義部から新しいデータ定義部を作り、そ
れがデータ定義部の規則を満たしているかを確認する。
確認の結果、規則を満たしていなければ、データ定義不
適合のメッセージの表示命令を表示手段4に送って、処
理は終了する。規則を満たしている場合は、被連結検索
対象データの実データ部のマルチタイプレコード列に、
連結検索対象データの実データ部のマルチタイプレコー
ド列を連結した、新しいマルチタイプレコード列を作
る。この新しいマルチタイプレコード列を実データ部と
し、作成された新しいデータ定義部とともに、新しい検
索対象データを作成する。新しい検索対象データは、表
示手段4によってCRTディスプレイに表示され、ユー
ザは検索結果を見ることができる。
Next, as a second processing example, an example of performing a processing (union processing) for a multi-type record string and creating a concatenated string in which another multi-type record string is concatenated after the multi-type record string explain.
In the second processing example, the generation unit 3 identifies the identifier of the search target data (referred to as linked search target data) including the actual data part to be connected column from the designating unit 2 and the actual data part to be connected column. It receives the identifier of the search target data (which will be referred to as the linked search target data) including the search target data. These pieces of information are designated by the user via the input device which is a part of the designation means 2. The designation unit 2 receives an input from the user, analyzes the input by the designation analysis unit, and sends the identifiers of the two search target data to the generation unit 3. The generating means 3 is the specifying means 2
After receiving the identifier of the linked search target data and the identifier of the linked search target data from the first, the search target data having the identifier sent from the designating means 2 is first read from the storing means 1 into the main storage device and read. A new data definition part is created from the data definition parts of the two search target data, and it is confirmed whether or not it meets the rules of the data definition part.
If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. If the rule is satisfied, in the multi-type record string of the actual data part of the linked search target data,
Create a new multi-type record string that is a concatenation of the multi-type record strings of the actual data part of the linked search target data. This new multi-type record string is used as the actual data part, and new search target data is created together with the created new data definition part. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0053】この第2の処理例では、データ定義部の違
う検索対象データの間でもunion処理を実行するこ
とができる。ただし、新しいデータ定義部が規則を満た
していることを確認し、規則を満たしていない場合はu
nion処理を実行することはできない。
In this second processing example, the union processing can be executed even between search target data having different data definition parts. However, confirm that the new data definition part satisfies the rule, and if it does not, then u
The nion process cannot be executed.

【0054】新しいデータ定義部の作り方を説明する。
新しいデータ定義部のアトミックデータ定義部は、読み
込んだ2つの検索対象データのアトミックデータ定義部
の和集合により作成される。また、新しいデータ定義部
のレコード定義部は、読み込んだ2つの検索対象データ
のレコード定義部の和集合により作成される。さらに、
新しいデータ定義部のルート定義部は、読み込んだ2つ
の検索対象データのルート定義部の和集合である。
A method of creating a new data definition part will be described.
The atomic data definition part of the new data definition part is created by the union of the atomic data definition parts of the two read target data. Further, the record definition part of the new data definition part is created by the union of the record definition parts of the two read target data. further,
The route definition part of the new data definition part is the union of the route definition parts of the two read target data.

【0055】図8,図9は、検索対象データの第2の例
の説明図、図10,図11は、union処理により生
成された新たな検索対象データの一例の説明図である。
上述のunion処理において、例えば、図2に示した
データ定義部と、図3に示した実データ部を持つ検索対
象データが「議事録」という識別子で、また、図8に示
したデータ定義部と、図9に示した実データ部を持つ検
索対象データが「議事録2」という識別子で格納手段1
に格納されている場合を考える。このとき、ユーザが被
連結検索対象データの識別子として「議事録」を、連結
検索対象データの識別子として「議事録2」を入力する
と、作成される検索対象データのデータ定義部は図10
に示したデータ定義部となり、実データ部は図11に示
すようになる。
FIGS. 8 and 9 are explanatory views of a second example of the retrieval target data, and FIGS. 10 and 11 are explanatory diagrams of an example of new retrieval target data generated by the union process.
In the union process described above, for example, the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 has the identifier “minutes”, and the data definition part shown in FIG. Then, the search target data having the actual data part shown in FIG. 9 is stored in the storage unit 1 with the identifier "minutes 2".
Suppose it is stored in. At this time, when the user inputs "minutes" as the identifier of the linked search target data and "minutes 2" as the identifier of the linked search target data, the data definition part of the created search target data is shown in FIG.
The data definition part shown in FIG. 11 is obtained, and the actual data part is as shown in FIG.

【0056】union処理の結果、図10に示した新
たなデータ定義部は、図2のアトミックデータ定義部、
レコード定義部、ルート定義部と、図8のアトミックデ
ータ定義部、レコード定義部、ルート定義部とにより、
それぞれの和集合が演算され、図10のアトミックデー
タ定義部、レコード定義部、ルート定義部が生成され
る。また、新たな実データ部は、図3に示した実データ
部のレコードの後ろに、図9に示した実データ部のレコ
ードが連結され、図11に示した実データ部が生成され
る。図10に示した新たなデータ定義部と、図11に示
した新たな実データ部により、新たな検索対象データが
構成される。
As a result of the union processing, the new data definition part shown in FIG. 10 is the atomic data definition part of FIG.
By the record definition part and the route definition part and the atomic data definition part, the record definition part and the route definition part of FIG.
The respective union sets are calculated, and the atomic data definition part, the record definition part, and the route definition part of FIG. 10 are generated. Further, in the new actual data part, the record of the actual data part shown in FIG. 9 is concatenated after the record of the actual data part shown in FIG. 3, and the actual data part shown in FIG. 11 is generated. The new data definition section shown in FIG. 10 and the new actual data section shown in FIG. 11 constitute new search target data.

【0057】第3の処理例として、マルチタイプレコー
ド列を対象にし、マルチタイプレコード列の要素から、
別のマルチタイプレコード列の要素でないものを取り除
く処理(intersection処理)を行なう例に
ついて説明する。ここで、前者のマルチタイプレコード
列を被除去列、後者のマルチタイプレコード列を除去列
と呼ぶ。
As a third processing example, a multi-type record string is targeted, and from the elements of the multi-type record string,
An example of performing a process (intersection process) of removing a non-element of another multi-type record string will be described. Here, the former multi-type record sequence is referred to as a column to be removed, and the latter multi-type record sequence is referred to as a removal column.

【0058】第3の処理例において、生成手段3は、指
定手段2から、被除去列としたい実データ部を含む検索
対象データ(被除去検索対象データと呼ぶ)の識別子
と、除去列としたい実データ部を含む検索対象データ
(除去検索対象データと呼ぶ)の識別子とを受け取る。
これらの情報は、指定手段2の一部である入力装置を介
してユーザが指定する。生成手段3は、指定手段2から
指定手段から被除去検索対象データの識別子と除去検索
対象データの識別子とを受け取った後、指定手段2から
送られてきた識別子を持つ検索対象データを格納手段1
から主記憶装置に読み込む。読み込んだ2つの検索対象
データのデータ定義部から新しいデータ定義部を作る。
その結果、新しいデータ定義部が作成できないか、ある
いは作成した新しいデータ定義部が、データ定義部の規
則を満たしていなければ、データ定義不適合のメッセー
ジの表示命令を表示手段4に送って、処理は終了する。
また、読み込んだ被除去検索対象データの実データ部の
マルチタイプレコード列から、除去検索対象データの実
データ部のマルチタイプレコード列に含まれないレコー
ドを除去した、新しいマルチタイプレコード列を作る。
作成された新しいマルチタイプレコード列を新しい実デ
ータ部とし、新しいデータ定義部とともに、新しい検索
対象データが構成される。新しい検索対象データは、表
示手段4によってCRTディスプレイに表示され、ユー
ザは検索結果を見ることができる。
In the third processing example, the generating means 3 wants to specify from the designating means 2 the identifier of the search target data (referred to as the search target data to be removed) including the actual data portion to be the column to be removed and the removal column. An identifier of search target data (referred to as removal search target data) including the actual data part is received.
These pieces of information are designated by the user via the input device which is a part of the designation means 2. The generation unit 3 receives the identifier of the data to be removed to be searched and the identifier of the removal search target data from the designation unit 2 and then stores the search target data having the identifier sent from the designation unit 2 to the storage unit 1
Read from main memory. A new data definition part is created from the data definition parts of the two read target data.
As a result, if a new data definition part cannot be created, or if the created new data definition part does not satisfy the rules of the data definition part, a display command of a data definition non-conformance message is sent to the display means 4, and the processing is performed. finish.
Further, a new multi-type record string is created by removing the records that are not included in the multi-type record string of the real data part of the data to be removed and searched from the read multi-type record string of the real data part of the data to be removed.
The created new multi-type record string is used as a new actual data part, and new search target data is configured together with a new data definition part. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0059】第3の処理例では、データ定義部の違う検
索対象データの間でもintersection処理を
実行することができる。ただし、新しいデータ定義部が
規則を満たしていることを確認し、規則を満たしていな
い場合はintersection処理を実行すること
はできない。
In the third processing example, the intersection process can be executed even between the search target data having different data definition parts. However, it is confirmed that the new data definition part satisfies the rule, and if the rule is not satisfied, the intersection process cannot be executed.

【0060】新しいデータ定義部の作り方を説明する。
まず、読み込んだ2つの検索対象データのデータ定義部
に、アトミックデータ種名が同じで、アトミックデータ
型が違う2つのアトミックデータ定義が存在しないこと
を確認する。存在する場合は、新しいデータ定義部は作
れない。次に、読み込んだ2つの検索対象データのデー
タ定義部に、レコード種名が同じで、レコード型が違う
2つのレコード定義が存在しないことを確認する。この
場合も、存在する場合は、新しいデータ定義部は作れな
い。さらに、読み込んだ2つの検索対象データのデータ
定義部に、アトミックデータ種名とレコード種名に同じ
名前が出現しないことを確認する。存在する場合は、新
しいデータ定義部は作れない。アトミックデータ定義部
は、読み込んだ2つの検索対象データのデータ定義部の
アトミックデータ定義部の積集合により作成される。レ
コード定義部は、読み込んだ2つの検索対象データのデ
ータ定義部のレコード定義部の積集合により作成され
る。ルート定義部は、読み込んだ2つの検索対象データ
のデータ定義部の積集合により作成される。
How to create a new data definition part will be described.
First, it is confirmed that there are no two atomic data definitions having the same atomic data type name but different atomic data types in the data definition parts of the two retrieved search target data. If it exists, a new data definition cannot be created. Next, it is confirmed that two record definitions having the same record type name but different record types do not exist in the data definition parts of the two retrieved search target data. Also in this case, if it exists, a new data definition part cannot be created. Furthermore, it is confirmed that the same name does not appear in the atomic data type name and the record type name in the data definition parts of the two retrieved search target data. If it exists, a new data definition cannot be created. The atomic data definition part is created by the intersection of the atomic data definition parts of the data definition parts of the two retrieved search target data. The record definition part is created by a product set of the record definition parts of the data definition parts of the two read target data. The route definition part is created by a product set of the data definition parts of the two retrieved search target data.

【0061】図12は、検索対象データの実データ部の
第3の例の説明図、図13,図14は、interse
ction処理により生成された新たな検索対象データ
の一例の説明図である。上述のintersectio
n処理において、例えば、図2に示したデータ定義部
と、図3に示した実データ部を持つ検索対象データが
「議事録」という識別子で、また、図8に示したデータ
定義部と、図12に示した実データ部を持つ検索対象デ
ータが「議事録2」という識別子で格納手段1に格納さ
れている場合を考える。このとき、ユーザが被除去検索
対象データの識別子として「議事録」を、除去検索対象
データの識別子として「議事録2」を入力すると、作成
される検索対象データは、図13に示すデータ定義部
と、図14に示す実データ部から構成される新たな検索
対象データが生成される。図2及び図8に示したアトミ
ックデータ定義部には、アトミックデータ種名が同じで
アトミックデータ型が違うアトミックデータ定義は存在
せず、また、レコード種名が同じでレコード型が違うレ
コード定義は存在せず、さらに、アトミックデータ種名
とレコード種名に同じ名前は出現していない。これらの
確認から図2と図8に示したデータ定義部は、inte
rsection処理が可能である。アトミックデータ
定義部、レコード定義部、ルート定義部のそれぞれにつ
いて積集合を作り、図13に示す新たなデータ定義部が
作成される。実データ部は、図3に示した実データ部の
マルチタイプレコード列から、図12に示した実データ
部のマルチタイプレコード列に含まれないレコードが除
去され、図14に示す新たな実データ部が作成される。
図13に示したデータ定義部と図14に示した実データ
部により、新たな検索対象データが構成される。
FIG. 12 is an explanatory diagram of a third example of the actual data part of the retrieval target data, and FIGS.
It is explanatory drawing of an example of the new search object data produced | generated by the action process. The intersectio mentioned above
In the n process, for example, the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 has the identifier “minutes”, and the data definition part shown in FIG. Consider a case where the search target data having the actual data part shown in FIG. 12 is stored in the storage means 1 with the identifier "minutes 2". At this time, when the user inputs “minutes” as the identifier of the data to be removed to be searched and “minutes 2” as the identifier of the data to be removed to be searched, the search target data to be created is the data definition section shown in FIG. Then, new search target data composed of the actual data part shown in FIG. 14 is generated. In the atomic data definition part shown in FIG. 2 and FIG. 8, there is no atomic data definition with the same atomic data type name but different atomic data types, and there is no record definition with the same record type name but different record types. It does not exist, and the same name does not appear in the atomic data species name and the record species name. From these confirmations, the data definition part shown in FIG. 2 and FIG.
Rsection processing is possible. A product set is created for each of the atomic data definition part, the record definition part, and the route definition part, and a new data definition part shown in FIG. 13 is created. In the actual data part, the records not included in the multi-type record string of the actual data part shown in FIG. 12 are removed from the multi-type record string of the actual data part shown in FIG. A department is created.
New search target data is configured by the data definition section shown in FIG. 13 and the actual data section shown in FIG.

【0062】第4の処理例として、マルチタイプレコー
ド列を対象にした、あるマルチタイプレコード列(これ
を被比較列と呼ぶ)から、別のマルチタイプレコード列
(これを比較列と呼ぶ)の要素を取り除く処理(dif
ference処理)を行なう例について説明する。第
4の処理例において、生成手段3は、指定手段2から、
被比較列としたい実データ部を含む検索対象データ(被
比較検索対象データと呼ぶ)の識別子と、比較列とした
い実データ部を含む検索対象データ(比較検索対象デー
タと呼ぶ)の識別子とを受け取る。これらの情報は、指
定手段2の一部である入力装置を介してユーザが指定す
る。生成手段3は、指定手段2から被比較検索対象デー
タの識別子と比較検索対象データの識別子とを受け取っ
た後、指定手段2から送られてきた識別子を持つ検索対
象データを格納手段1から主記憶装置に読み込む。読み
込んだ2つの検索対象データのデータ定義部に対して、
以下の(1)〜(3)の条件を満たすかどうかを確認す
る。確認の結果、満たしていなければ、データ定義不整
合のメッセージの表示命令を表示手段4に送って、処理
は終了する。 (1)読み込んだ2つの検索対象データのデータ定義部
に、アトミックデータ種名が同じで、アトミックデータ
型が違う2つのアトミックデータ定義が存在しない。 (2)読み込んだ2つの検索対象データのデータ定義部
に、レコード種名が同じで、レコード型が違う2つのレ
コード定義が存在しない。 (3)読み込んだ2つの検索対象データのデータ定義部
に、アトミックデータ種名とレコード種名に同じ名前が
出現しない。 これらの条件を満たすことが確認されると、被比較検索
対象データの実データ部のマルチタイプレコード列か
ら、比較検索対象データの実データ部のマルチタイプレ
コード列に含まれるレコードを取り除いた、新しいマル
チタイプレコード列を作成する。作成された新しいマル
チタイプレコード列を新しい実データ部とし、被比較検
索対象データのデータ定義部を新しいデータ定義部とす
る、新たな検索対象データが構成される。新しい検索対
象データは、表示手段4によってCRTディスプレイに
表示され、ユーザは検索結果を見ることができる。
As a fourth processing example, a multi-type record string (referred to as a compared column) targeted for a multi-type record string is changed to another multi-type record string (referred to as a comparison column). Processing to remove elements (dif
An example of performing a "fence process" will be described. In the fourth processing example, the generation unit 3 receives from the designation unit 2
The identifier of the search target data (called the compared search target data) that includes the actual data part that you want to make the compared column and the identifier of the search target data (called the comparative search target data) that contains the actual data part that you want to make the comparison column receive. These pieces of information are designated by the user via the input device which is a part of the designation means 2. After receiving the identifier of the compared search target data and the identifier of the comparative search target data from the specifying unit 2, the generating unit 3 stores the search target data having the identifier sent from the specifying unit 2 from the storage unit 1 in the main memory. Read into the device. For the data definition sections of the two retrieved search target data,
Confirm whether the following conditions (1) to (3) are satisfied. If the result of the confirmation is that the conditions are not satisfied, a command to display a data definition inconsistency message is sent to the display means 4, and the process ends. (1) Two atomic data definitions having the same atomic data type name but different atomic data types do not exist in the data definition parts of the two retrieved search target data. (2) Two record definitions having the same record type name but different record types do not exist in the data definition parts of the two retrieved search target data. (3) The same name does not appear in the atomic data type name and the record type name in the data definition parts of the two retrieved search target data. When it is confirmed that these conditions are satisfied, the new type is obtained by removing the records contained in the multi-type record string of the actual data part of the comparative search target data from the multi-type record string of the actual data part of the compared search target data. Create a multi-type record column. New search target data is constructed in which the created new multi-type record string is used as a new actual data part and the data definition part of the compared search target data is used as a new data definition part. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0063】第4の処理例では、データ定義部の違う検
索対象データの間でもdifference処理を実行
することができる。ただし、上述の(1)〜(3)の条
件を満たしていることを確認し、新しいデータ定義部が
規則を満たしていない場合はdifference処理
を実行することはできない。
In the fourth processing example, the difference processing can be executed even between search target data having different data definition parts. However, if it is confirmed that the above conditions (1) to (3) are satisfied and the new data definition part does not satisfy the rule, the difference process cannot be executed.

【0064】図15は、difference処理によ
り生成された新たな検索対象データの実データ部の一例
の説明図である。上述のdifference処理にお
いて、例えば、図2に示したデータ定義部と、図3に示
した実データ部を持つ検索対象データが「議事録」とい
う識別子で、また、図8に示したデータ定義部と、図1
2に示した実データ部を持つ検索対象データが「議事録
2」という識別子で格納手段1に格納されている場合を
考える。このとき、ユーザが、被比較集合検索対象デー
タの識別子として「議事録」を、比較集合検索対象デー
タの識別子として「議事録2」を入力すると、図2に示
すデータ定義部と、図15に示す実データ部から構成さ
れる新たな検索対象データが生成される。図2及び図8
に示したアトミックデータ定義部には、アトミックデー
タ種名が同じでアトミックデータ型が違うアトミックデ
ータ定義は存在せず、また、レコード種名が同じでレコ
ード型が違うレコード定義は存在せず、さらに、アトミ
ックデータ種名とレコード種名に同じ名前は出現してい
ない。これらの確認から、2つのマルチタイプレコード
列はdifference処理が可能である。図3に示
した実データ部のレコードから、図12に示した実デー
タ部のレコードを取り除き、図15に示す新しい実デー
タ部が作成される。図2に示した被比較検索対象データ
のデータ定義部と、図15に示した実データ部により、
新たな検索対象データが構成される。
FIG. 15 is an explanatory diagram of an example of the actual data part of the new search target data generated by the difference process. In the difference processing described above, for example, the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 has the identifier “minutes”, and the data definition part shown in FIG. And Fig. 1
Consider a case where the search target data having the actual data part shown in 2 is stored in the storage means 1 with the identifier "minutes 2". At this time, when the user inputs "minutes" as the identifier of the compared set search target data and "minutes 2" as the identifier of the comparison set search target data, the data definition unit shown in FIG. New search target data composed of the actual data portion shown is generated. 2 and 8
In the atomic data definition part shown in, there is no atomic data definition with the same atomic data type name but different atomic data types, and there is no record definition with the same record type name but different record types. , The same name does not appear in atomic data type name and record type name. From these confirmations, the difference processing can be performed on the two multi-type record strings. The record of the actual data part shown in FIG. 12 is removed from the record of the actual data part shown in FIG. 3 to create a new actual data part shown in FIG. By the data definition part of the compared search target data shown in FIG. 2 and the actual data part shown in FIG.
New search target data is constructed.

【0065】第5の処理例として、マルチタイプレコー
ド列を対象にした、あるマルチタイプレコード列(これ
を被直積列と呼ぶ)の要素に、別のマルチタイプレコー
ド列(これを直積列と呼ぶ)の要素を連結してできる、
全てのレコードからなる列を作る処理(cartesi
an product処理)を行なう例について説明す
る。ここで、2つのレコードの連結とは、2つのレコー
ド全てのフィールドからなる新しいレコードを作ること
である。cartesian product処理の対
象が、m個の要素を持つマルチタイプレコード列と、n
個の要素を持つマルチタイプレコード列とであった場
合、cartesian product処理の結果、
m×n個の要素を持つマルチタイプレコード列が生成さ
れる。
As a fifth processing example, an element of a certain multi-type record string (this is called a direct product column) for another multi-type record string is another multi-type record string (this is called a direct product column). ) Elements can be connected,
Process to create a column consisting of all records (cartesi
An example of performing an product process) will be described. Here, the concatenation of two records is to create a new record including the fields of all the two records. The target of the cartesian product process is a multi-type record string having m elements and n
If it is a multi-type record string having elements, the result of the cartesian product process,
A multi-type record string having m × n elements is generated.

【0066】第5の処理例において、生成手段3は、指
定手段2から、被直積列としたい実データ部を含む検索
対象データ(被直積検索対象データと呼ぶ)の識別子
と、直積列としたい実データ部を含む検索対象データ
(直積検索対象データと呼ぶ)の識別子とを受け取る。
これらの情報は、指定手段2の一部である入力装置を介
してユーザが指定する。生成手段3は、指定手段2から
被直積検索対象データの識別子と直積検索対象データの
識別子とを受け取った後、指定手段2から送られてきた
識別子を持つ検索対象データを格納手段1から主記憶装
置に読み込む。読み込んだ2つの検索対象データのデー
タ定義部から新しいデータ定義部を作り、それがデータ
定義部の規則を満たしているかを確認する。確認の結
果、規則を満たしていなければ、データ定義不適合のメ
ッセージの表示命令を表示手段4に送って、処理は終了
する。
In the fifth processing example, the generating means 3 wants the identifier of search target data (called direct product search target data) including the actual data portion desired to be the direct product sequence and the direct product sequence from the designating means 2. An identifier of search target data (referred to as direct product search target data) including an actual data part is received.
These pieces of information are designated by the user via the input device which is a part of the designation means 2. After receiving the identifier of the direct product search target data and the identifier of the direct product search target data from the designating means 2, the generating means 3 stores the search target data having the identifier sent from the designating means 2 from the storage means 1 in the main memory. Read into the device. A new data definition part is created from the data definition parts of the two read target data, and it is confirmed whether or not it meets the rules of the data definition part. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends.

【0067】次に、被直積検索対象データの実データ部
の要素であるレコードと、直積検索対象データ実データ
部の要素であるレコードとのすべての組み合わせから、
新しいマルチタイプレコード列を作成する。作成された
新しいマルチタイプレコード列を実データ部とし、新し
いデータ定義部とともに、新しい検索対象データを作成
する。新しい検索対象データは、表示手段4によってC
RTディスプレイに表示され、ユーザは検索結果を見る
ことができる。
Next, from all combinations of the records that are the elements of the real data part of the data to be searched for and the records that are the elements of the real data part of the product to be searched,
Create a new multitype record column. The new multi-type record string created is used as the actual data part, and new search target data is created along with the new data definition part. The new search target data is displayed on the display unit 4 as C.
Displayed on the RT display, the user can see the search results.

【0068】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ2つの検索対象
データのデータ定義部のアトミックデータ定義部の和集
合で作成される。
How to create a new data definition part will be described.
The atomic data definition part is created by the union of the atomic data definition parts of the data definition parts of the two read target data.

【0069】レコード定義部は、被直積検索対象データ
のレコード定義部の集合と、直積検索対象データのレコ
ード定義部の集合と、被直積検索対象データのレコード
定義で、そのレコード種名が被直積検索対象データのル
ート定義部の要素であるものと、直積検索対象データの
レコード定義で、そのレコード種名が直積検索対象デー
タのルート定義部の要素であるものとのすべての組合わ
せのそれぞれに対して、以下の(1)から(3)の処理
を行なって作ったレコード定義の集合の3つの集合の和
集合である。 (1)組合わせを行なう被直積検索対象データのレコー
ド定義のレコード種名の後に、「・」と、直積検索対象
データのレコード定義のレコード種名とを連結してでき
た新しいレコード種名を作る。 (2)組合わせを行なう被直積検索対象データのレコー
ド定義のレコード型の後に、組合わせる直積検索対象デ
ータのレコード定義のレコード型を連結した新しいレコ
ード型作る。 (3)(1)の結果をレコード種名とし、(2)の結果
をレコード型とする新しいレコード定義を作る。
The record definition part is a set of record definition parts for the data to be searched for, a set of record definition parts for the data to be searched for direct product, and a record definition for the data to be searched for direct product. For each combination of the element that is the element of the route definition part of the search target data and the record definition of the direct product search target data whose record type name is the element of the route definition part of the direct product search target data On the other hand, it is the union of three sets of record definition created by performing the following processes (1) to (3). (1) A new record type name created by concatenating "." And the record type name of the record definition of the data to be searched for is added after the record type name of the record definition of the product to be searched for to be combined. create. (2) A new record type is created by concatenating the record types of the record definition of the product to be searched to be combined after the record type of the record definition of the data to be searched for to be combined. (3) Create a new record definition with the result of (1) as the record type name and the result of (2) as the record type.

【0070】ルート定義部は、被直積検索対象データの
ルート定義部の要素であるレコード種名の後に、「・」
と、直積検索対象データのルート定義部の要素であるレ
コード種名とを連結してできるものの集合である。
The route definition part has a "." After the record type name which is an element of the route definition part of the data to be searched.
And a record type name that is an element of the route definition part of the direct product search target data.

【0071】次に、新しい実データ部の作成方法を説明
する。まず、要素のないマルチタイプレコード列である
仮レコード列1を準備する。被直積検索対象データの実
データ部の被直積列に対して、被直積列の要素がなくな
るまで、以下の(1)から(3)の処理を施してできる
レコードの集合を作成する。 (1)被直積列の先頭のレコード(被直積レコードと呼
ぶ)を取り出す。以下の説明において、マルチタイプレ
コード列からレコードを取り出すと記した場合、取り出
されたレコードはマルチタイプレコード列から削除され
るものとする。 (2)要素のないマルチタイプレコード列である仮レコ
ード列2を準備する。直積検索対象データの実データ部
の直積列の先頭から最後尾までのそれぞれのレコード
(これを直積レコードと呼ぶ)に対して、順に、被直積
レコードのレコード種名の後に、「.」と、直積レコー
ドのレコード種名を連結してレコード種名を作成し、被
直積レコードのレコード本体の後に、直積レコードのレ
コード本体を連結してレコード本体を作成し、作成され
たレコード種名、レコード本体により構成されるレコー
ドを、仮レコード列2の最後尾に連結する。この処理に
より、仮レコード列2は、ある被直積レコードと、直積
検索対象データの直積レコードのすべての組み合わせに
より作成されるレコード列となる。 (3)(2)の結果のレコード列を、仮レコード列1の
最後尾に連結する。すべての直積列の要素について処理
を行なうと、仮レコード列1に新しいマルチタイプレコ
ード列が作成されている。この新しいマルチタイプレコ
ード列が新しい実データ部となる。
Next, a method of creating a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following (1) to (3) processes are performed on the amd product column of the real data part of the amd product search target data to create a set of records until the processes are performed. (1) The first record (called a direct product record) of the direct product column is extracted. In the following description, when it is stated that a record is extracted from the multi-type record string, the extracted record is assumed to be deleted from the multi-type record string. (2) Prepare a temporary record string 2 which is a multi-type record string having no elements. For each record from the beginning to the end of the direct product sequence of the real data part of the direct product search target data (this is called a direct product record), “.” Is added in order after the record type name of the direct product record. Create the record kind name by concatenating the record kind name of the Cartesian product record, create the record body by connecting the record body of the Cartesian product record after the record body of the Cartesian product record, and the created record kind name, record body The record constituted by is connected to the end of the temporary record string 2. By this processing, the tentative record string 2 becomes a record string created by all combinations of a certain direct product record and the direct product record of the direct product search target data. (3) The record string resulting from (2) is linked to the end of the temporary record string 1. When the process is performed on all the elements of the direct product sequence, a new multi-type record sequence is created in the temporary record sequence 1. This new multi-type record string becomes the new actual data part.

【0072】図16,図17は、検索対象データの第4
の例の説明図、図18,図19は、cartesian
product処理により生成された新たな検索対象
データの一例の説明図である。上述のcartesia
n product処理において、例えば、図2に示し
たデータ定義部と、図3に示した実データ部を持つ検索
対象データが「議事録」という識別子で、また、図16
に示したデータ定義部と、図17に示した実データ部を
持つ検索対象データが「参加者リスト」という識別子で
格納手段1に格納されている場合を考える。このとき、
ユーザが、被直積検索対象データの識別子として「議事
録」を、直積検索対象データの識別子として「参加者リ
スト」を入力すると、作成される検索対象データは、図
18に示すデータ定義部と、図19に示す実データ部か
ら構成される新たな検索対象データが生成される。図2
及び図16に示したアトミックデータ定義部は、和集合
により、図18に示した新しいアトミックデータ定義部
が作成される。新たなレコード定義部は、図2,図16
に示したレコード定義部のレコード定義と、それらの組
み合わせにより作成されるレコード定義により構成され
る。例えば、図18において、図2のレコード定義「質
問:[発言者,{発言,回答}]」と、図16のレコー
ド定義「社内:[氏名,所属]の組み合わせにより、レ
コード種名が「質問・社内」、レコード型が「[発言
者,{発言,回答},氏名,所属]」である新しいレコ
ード定義が作成される。新たなルート定義部も、図2の
ルート定義部の要素と図16のルート定義部の要素の組
み合わせにより、作成される。これらの新しいアトミッ
クデータ定義部、レコード定義部、ルート定義部によ
り、新しいデータ定義部が構成される。また、図3に示
した実データ部のレコード列と、図17に示した実デー
タ部のレコード列も、それぞれが順に組み合わされて、
新たなレコードが生成され、新たなレコードの列によ
り、図19に示すような新しい実データ部が作成され
る。作成された新しいデータ定義部と新しい実データ部
により、新しい検索対象データが構成される。
16 and 17 show the fourth search target data.
Of the example of FIG. 18 and FIG.
It is explanatory drawing of an example of the new search object data produced | generated by the product process. Above cartesia
In the n product process, for example, the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 has the identifier “minutes”, and FIG.
Consider a case where the search target data having the data definition part shown in FIG. 4 and the actual data part shown in FIG. 17 is stored in the storage means 1 by the identifier “participant list”. At this time,
When the user inputs “minutes” as the identifier of the direct product search target data and “participant list” as the identifier of the direct product search target data, the search target data created is the data definition unit shown in FIG. New search target data composed of the actual data part shown in FIG. 19 is generated. Figure 2
The atomic data definition part shown in FIG. 16 and the new atomic data definition part shown in FIG. 18 are created by the union. The new record definition part is shown in FIGS.
It is composed of the record definition of the record definition part shown in and the record definition created by the combination thereof. For example, in FIG. 18, a combination of the record definition “question: [speaker, {speak, answer}] in FIG. 2 and the record definition“ in-house: [name, affiliation] in FIG. -A new record definition with "in-house" and record type "[speaker, {speak, answer}, name, department]" is created. A new route definition part is also created by combining the elements of the route definition part of FIG. 2 and the elements of the route definition part of FIG. These new atomic data definition part, record definition part, and route definition part constitute a new data definition part. Further, the record string of the actual data part shown in FIG. 3 and the record string of the actual data part shown in FIG. 17 are also combined in order,
A new record is created, and a new actual data part as shown in FIG. 19 is created by the sequence of the new record. The new search target data is composed of the created new data definition part and the new actual data part.

【0073】第6の処理例として、マルチタイプレコー
ド列を対象にした、レコードのフィールドの並び順を変
更する処理を行なう例について説明する。第6の処理例
において、生成手段3は、指定手段2から、検索対象デ
ータの識別子、レコード種名、該種類のレコードのフィ
ールドの並べ換え方、並べ換え後のレコード種名の指定
を受け取る。これらの情報は、指定手段2の一部である
入力装置を介してユーザが指定する。
As a sixth processing example, an example will be described in which processing for changing the arrangement order of fields of a record is performed for a multi-type record string. In the sixth processing example, the generation unit 3 receives from the designation unit 2 an identifier of search target data, a record type name, a method of rearranging fields of records of the type, and a designation of a record type name after rearrangement. These pieces of information are designated by the user via the input device which is a part of the designation means 2.

【0074】図20は、並べ換え処理を行なう際の入力
情報の形式の一例の説明図である。ユーザが指定手段2
の入力装置を介して、検索対象データの識別子、レコー
ド種名、該種類のレコードのフィールドの並べ換え方、
並べ換え後のレコード種名を指定する際の、入力する情
報の概要を示している。図20において、「識別子」
は、検索対象データの識別子を指定する部分である。
「レコード種名」は、レコード種名を指定する部分であ
る。「並べ換え後のレコード種名」は、並べ換えを行な
った後のレコードのレコード種名を指定する部分であ
る。「フィールド指定」では、フィールドが指定され
る。フィールドの指定方法は、第1の処理例における条
件中での指定方法と同じである。「フィールド指定」
は、「レコード種名」で指定された種類のレコードのフ
ィールドの並べ換え方を示すためのものである。「フィ
ールド指定」の順序が、並べ換えた後のフィールドの順
序を示している。
FIG. 20 is an explanatory diagram showing an example of the format of input information when performing the rearrangement process. User specifies 2
Via the input device of, search target data identifier, record type name, how to sort the fields of the record of the type,
It shows an outline of the information to be input when specifying the record type name after sorting. In FIG. 20, "identifier"
Is a part for designating the identifier of the search target data.
The “record type name” is a part for specifying the record type name. The “record type name after sorting” is a part that specifies the record type name of the record after sorting. In "field designation", a field is designated. The method of specifying the field is the same as the method of specifying the condition in the first processing example. "Field specification"
Indicates how to sort the fields of the record of the type specified by the "record type name". The order of "field designation" indicates the order of fields after rearrangement.

【0075】図21は、並べ換え処理を行なう際の入力
情報の一例の説明図である。図21では、検索対象とな
るのは「議事録」という識別子を持つ検索対象データで
あることが指定されている。また、並べ換えの対象とな
るレコードは、質問レコードであり、質問レコードのフ
ィールドの順序は、{発言,回答}フィールド、発言者
フィールドの順に並べ換えることが指定されている。並
べ換えた後の新しいレコード種名は、「質問2」である
ことも指定されている。
FIG. 21 is an explanatory diagram of an example of input information when performing the rearrangement process. In FIG. 21, it is specified that the search target is the search target data having the identifier “minutes”. The record to be rearranged is a question record, and the field order of the question record is specified to be rearranged in the order of {speak, answer} field and speaker field. It is also specified that the new record type name after rearrangement is “Question 2”.

【0076】生成手段3は、指定手段2から、検索対象
データの識別子、レコード種名、該種類のレコードのフ
ィールドの並べ換え方の指定を受け取った後、指定手段
2から送られてきた識別子を持つ検索対象データを格納
手段1から主記憶装置に読み込む。読み込んだ検索対象
データのデータ定義部から新しいデータ定義部を作り、
それがデータ定義部の規則を満たしているかを確認す
る。確認の結果、規則を満たしていなければ、データ定
義不適合のメッセージの表示命令を表示手段4に送っ
て、処理は終了する。データ定義部の規則を満たしてい
ることが確認できた後、読み込んだ検索対象データの実
データ部の要素のうち、指定された種類のレコードのレ
コード本体のフィールド順を、指定されたフィールド順
に並べ換え、さらに、レコード種名を指定された並び換
え後のレコード種名に変えた、新しいマルチタイプレコ
ード列を作成する。作成された新しいマルチタイプレコ
ード列を新しい実データ部とし、新しいデータ定義部と
ともに、新しい検索対象データが作成される。新しい検
索対象データは、表示手段4によってCRTディスプレ
イに表示され、ユーザは検索結果を見ることができる。
The generating means 3 has the identifier sent from the designating means 2 after receiving from the designating means 2 the identifier of the data to be searched, the record type name and the designation of the rearrangement of the fields of the records of the type. The search target data is read from the storage means 1 into the main storage device. Create a new data definition part from the data definition part of the read search target data,
Make sure it meets the rules of the Data Definition Division. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. After confirming that the rules of the data definition section are satisfied, rearrange the field order of the record body of the specified type record among the elements of the actual data section of the read target data to the specified field order. , Furthermore, a new multi-type record string is created in which the record type name is changed to the specified sorted record type name. The created new multi-type record string is used as a new actual data part, and new search target data is created along with a new data definition part. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0077】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義部に、
「並べ換え後のレコード種名」で指定されたレコード種
名を持ち、「フィールド指定」によって指定されたフィ
ールドのフィールド名が指定された順に並んだレコード
型を持つレコード定義を追加したものである。ルート定
義部は、読み込んだ検索対象データのルート定義部から
「レコード種名」で指定されたものを取り除き、「並び
換え後のレコード種名」で指定されたレコード種名を加
えたものである。
A method of creating a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the record definition part of the retrieved search target data.
A record definition having a record type name specified by "record type name after rearrangement" and a field type of a field specified by "field specification" arranged in the specified order is added. The route definition part removes the one specified by "record type name" from the route definition part of the read target data and adds the record type name specified by "record type name after sorting". .

【0078】図22,図23は、並べ換え処理により生
成された新たな検索対象データの一例の説明図である。
上述の並べ換え処理において、例えば、図2に示したデ
ータ定義部と、図3に示した実データ部を持つ検索対象
データが「議事録」という識別子で格納手段1に格納さ
れている場合を考える。このとき、ユーザが、図21に
示した並べ換えの指示を入力すると、作成される検索対
象データは、図22に示すデータ定義部と、図23に示
す実データ部から構成される新たな検索対象データが生
成される。図22に示すように新しいデータ定義部で
は、質問2レコードの定義が追加される。また、図23
に示すように、新しい実データ部は、質問レコードが質
問2レコードになっている。質問2レコードのフィール
ドの並び順は、指定されているように、{発言,回答}
フィールド、発言者フィールドの順に並べ換えられてい
る。
22 and 23 are explanatory views of an example of new search target data generated by the rearrangement process.
In the above-mentioned rearrangement process, for example, consider a case where search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. . At this time, when the user inputs the rearrangement instruction shown in FIG. 21, the search target data created is a new search target composed of the data definition part shown in FIG. 22 and the actual data part shown in FIG. Data is generated. As shown in FIG. 22, in the new data definition section, the definition of the question 2 record is added. Also, FIG.
As shown in, the question record in the new actual data part is the question 2 record. The order of the fields of the question 2 record is {statement, answer}, as specified.
The fields are rearranged in the order of the speaker field.

【0079】上述の並べ換え処理では、検索対象データ
の実データ部の要素のうち、指定された種類のレコード
のレコード本体のフィールド順を、指定されたフィール
ド順に並べ換え、さらに、レコード種名を指定された並
び換え後のレコード種名に変えた、新しいマルチタイプ
レコード列により新しい実データ部を構成したが、指定
された種類のレコードのみから作成された新しいレコー
ド列により、新しい実データ部を構成することも可能で
ある。すなわち、検索対象データの実データ部の要素の
うち、指定された種類のレコードのレコード本体のフィ
ールド順を、指定されたフィールド順に並べ変え、レコ
ード種名を指定された並び換え後のレコード種名に変え
る。さらに、指定された種類以外のレコードを取り除い
て新しいマルチタイプレコード列を作成するように構成
することができる。図24は、並べ換え処理により生成
された新たな検索対象データにおける実データ部の別の
一例の説明図である。図23の場合と同様に、例えば、
図2に示したデータ定義部と、図3に示した実データ部
を持つ検索対象データが「議事録」という識別子で格納
手段1に格納されているとき、ユーザが図21に示した
入力を行なう場合を考える。この場合には、作成される
検索対象データの実データ部は、図24に示すようにな
る。図24では、図3に示したレコードから、質問レコ
ードのフィールドの順序が変更され、並べ換え後のレコ
ード種名「質問2」を付された質問2レコードのみによ
りマルチタイプレコード列が作成され、新たな実データ
部が構成されている。
In the above-mentioned rearrangement processing, among the elements of the actual data part of the retrieval target data, the field order of the record body of the record of the specified type is rearranged in the specified field order, and the record type name is specified. The new real data part was constructed by the new multi-type record string that was changed to the sorted record type name, but the new real data part was constructed by the new record string created only from the specified type of record. It is also possible. That is, among the elements of the actual data part of the search target data, the field order of the record body of the record of the specified type is rearranged in the specified field order, and the record type name is the specified record type name after the rearrangement. Change to. Further, it can be configured to remove records other than the designated type to create a new multi-type record sequence. FIG. 24 is an explanatory diagram of another example of the actual data part in the new search target data generated by the rearrangement processing. Similar to the case of FIG. 23, for example,
When the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”, the user inputs the input shown in FIG. Consider when to do it. In this case, the actual data part of the created search target data is as shown in FIG. In FIG. 24, the order of the fields of the question record is changed from the record shown in FIG. 3, and the multi-type record string is created only by the question 2 record with the record type name “question 2” after rearrangement. A real data part.

【0080】第7の処理例として、マルチタイプレコー
ド列を対象にした、レコードからフィールドを抽出する
処理(projection処理)を行なう例について
説明する。第7の処理例において、生成手段3は、指定
手段2から、検索対象データの識別子、レコード種名、
該種類のレコードから抽出するフィールド、抽出後のレ
コード種名の指定を受け取る。これらの情報は、指定手
段2の一部である入力装置を介してユーザが指定する。
As a seventh processing example, an example of performing a process (projection process) for extracting a field from a record for a multi-type record string will be described. In the seventh processing example, the generation unit 3 receives the identifier of the search target data, the record type name,
The designation of the field to be extracted from the record of the type and the record type name after the extraction is received. These pieces of information are designated by the user via the input device which is a part of the designation means 2.

【0081】図25は、抽出処理を行なう際の入力情報
の形式の一例の説明図である。ユーザが指定手段2の入
力装置を介して、検索対象データの識別子、レコード種
名、該種類のレコードから抽出するフィールド、抽出後
のレコード種名を指定する際の、入力する情報の概要を
示している。図25において、「識別子」は、検索対象
データの識別子を指定する部分である。「レコード種
名」は、レコード種名を指定する部分である。「抽出後
のレコード種名」は、フィールドの抽出を行なった後の
レコードのレコード種名を指定する部分である。「フィ
ールド指定」では、フィールドが指定される。フィール
ドの指定方法は、第1の処理例における条件中での指定
方法と同じである。「フィールド指定」は、「レコード
種名」で指定された種類のレコードから抽出するフィー
ルド示すためのものである。「フィールド指定」の順序
が、抽出したあとのフィールドの並び順を示している。
FIG. 25 is an explanatory diagram of an example of the format of input information when performing the extraction process. An outline of information to be input when the user designates the identifier of the search target data, the record type name, the field to be extracted from the record of the type, and the record type name after the extraction through the input device of the designation means 2 is shown. ing. In FIG. 25, the “identifier” is a part that specifies the identifier of the search target data. The “record type name” is a part for specifying the record type name. The “record type name after extraction” is a part that specifies the record type name of the record after the field is extracted. In "field designation", a field is designated. The method of specifying the field is the same as the method of specifying the condition in the first processing example. The "field designation" is for indicating the field extracted from the record of the type designated by the "record type name". The order of "field specification" indicates the order of the fields after extraction.

【0082】図26は、抽出処理を行なう際の入力情報
の一例の説明図である。図26では、検索対象となるの
は「議事録」という識別子を持つ検索対象データである
ことが指定されている。また、フィールドの抽出の対象
となるレコードは、質問レコードであり、質問レコード
から抽出されるフィールドは、{発言,回答}フィール
ドであることが指定されている。フィールドの抽出後の
新しいレコード種名は、「質問2」であることも指定さ
れている。
FIG. 26 is an explanatory diagram of an example of input information when performing the extraction process. In FIG. 26, it is specified that the search target is the search target data having the identifier “minutes”. Further, it is specified that the record from which the field is to be extracted is the question record, and the field extracted from the question record is the {speech, answer} field. It is also specified that the new record type name after extraction of the field is “Question 2”.

【0083】生成手段3は、指定手段2から、検索対象
データの識別子、レコード種名、該種類のレコードから
抽出するフィールドの指定、抽出後のレコード種名を受
け取った後、指定手段2から送られてきた識別子を持つ
検索対象データを格納手段1から主記憶装置に読み込
む。読み込んだ検索対象データのデータ定義部から新し
いデータ定義部を作り、それがデータ定義部の規則を満
たしているかどうかを確認する。確認の結果、規則を満
たしていなければ、データ定義不適合のメッセージの表
示命令を表示手段4に送って、処理は終了する。データ
定義部の規則を満たしていることが確認できた後、読み
込んだ検索対象データの実データ部から、新しい実デー
タ部を作成する。作成された新しい実データ部は、新し
いデータ定義部とともに新しい検索対象データが作成さ
れる。新しい検索対象データは、表示手段4によってC
RTディスプレイに表示され、ユーザは検索結果を見る
ことができる。
The generation means 3 receives from the designation means 2 the identifier of the data to be searched, the record type name, the designation of the field to be extracted from the record of the type, the record type name after extraction, and then sends from the designation means 2. The retrieval target data having the obtained identifier is read from the storage means 1 into the main storage device. A new data definition part is created from the data definition part of the read search target data, and it is confirmed whether or not it meets the rules of the data definition part. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. After confirming that the rules of the data definition section are satisfied, a new actual data section is created from the actual data section of the retrieved search target data. In the created new actual data part, new search target data is created together with the new data definition part. The new search target data is displayed on the display unit 4 as C.
Displayed on the RT display, the user can see the search results.

【0084】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義部に、
「抽出後のレコード種名」で指定されたレコード種名を
持ち、「フィールド指定」によって指定されたフィール
ドのフィールド名が指定された順に並んだレコード型を
持つレコード定義を追加したものである。ルート定義部
は、読み込んだ検索対象データのルート定義部から「レ
コード種名」で指定されたものを取り除き、「抽出後の
レコード種名」で指定されたレコード種名を加えたもの
である。
A method of creating a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the record definition part of the retrieved search target data.
A record definition having a record type name specified by "record type name after extraction" and a field type of the field specified by "field specification" arranged in the specified order is added. The route definition part is a route definition part of the read search target data, in which the one designated by "record species name" is removed and the record species name designated by "record species name after extraction" is added.

【0085】新しい実データ部の作り方を説明する。読
み込んだ検索対象データの実データ部の要素のうち、指
定された種類のレコードを、該レコードのレコード本体
から指定されたフィールドを抽出して作った新しいレコ
ード本体と、「抽出後のレコード種名」で指定されたレ
コード種名とからなる新しいレコードで置き換えた、新
しいマルチタイプレコード列を作成する。このとき、新
しいレコード本体のフィールドの並び順は、フィールド
が指定された順序に従う。作成された新しいマルチタイ
プレコード列により、新しい実データ部が構成される。
A method of creating a new actual data part will be described. Among the elements of the actual data part of the read search target data, a new record body created by extracting the specified field from the record body of the record of the specified type, and the "record type name after extraction" Create a new multi-type record string that is replaced with a new record consisting of the record type name specified in. At this time, the order of the fields of the new record body follows the order in which the fields are specified. A new actual data part is configured by the created new multi-type record string.

【0086】図27,図28は、抽出処理により生成さ
れた新たな検索対象データの一例の説明図である。上述
の抽出処理において、例えば、図2に示したデータ定義
部と、図3に示した実データ部を持つ検索対象データが
「議事録」という識別子で格納手段1に格納されている
場合を考える。このとき、ユーザが、図26に示した抽
出の指示を入力すると、作成される検索対象データは、
図27に示すデータ定義部と、図28に示す実データ部
から構成される新たな検索対象データが生成される。図
27に示すように新しいデータ定義部では、質問2レコ
ードの定義が追加され、ルート定義部が変更される。ま
た、図28に示すように、新しい実データ部は、質問レ
コードから{発言,回答}フィールドが抽出されて、レ
コード本体が置き換えられ、また、レコード種名が「質
問2」に置き換えられている。
27 and 28 are explanatory views of an example of new search target data generated by the extraction processing. In the above-mentioned extraction processing, for example, consider a case where the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. . At this time, when the user inputs the extraction instruction shown in FIG. 26, the search target data created is
New search target data composed of the data definition part shown in FIG. 27 and the actual data part shown in FIG. 28 is generated. As shown in FIG. 27, in the new data definition part, the definition of the question 2 record is added and the route definition part is changed. Also, as shown in FIG. 28, in the new actual data part, the {statement, answer} field is extracted from the question record, the body of the record is replaced, and the record type name is replaced with "question 2". .

【0087】上述の抽出処理では、検索対象データの実
データ部の要素のうち、指定された種類のレコードを、
該レコードのレコード本体から指定されたフィールドを
抽出して作った新しいレコード本体と、「抽出後のレコ
ード種名」で指定されたレコード種名とからなる新しい
レコードで置き換えた、新しいマルチタイプレコード列
を作成したが、指定された種類のレコードのみから作成
された新しいマルチタイプレコード列を作成するように
構成することも可能である。すなわち、指定された種類
のレコードを、該レコードのレコード本体から指定され
たフィールドを抽出して作った新しいレコード本体と、
「抽出後のレコード種名」で指定されたレコード種名と
からなる新しいレコードで置き換え、さらに、指定され
なかった種類のレコードを取り除いた、新しいマルチタ
イプレコード列を作成するように構成することもでき
る。図29は、抽出処理により生成された新たな検索対
象データにおける実データ部の別の一例の説明図であ
る。図28の場合と同様に、例えば、図2に示したデー
タ定義部と、図3に示した実データ部を持つ検索対象デ
ータが「議事録」という識別子で格納手段1に格納され
ているとき、ユーザが図26に示した入力を行なう場合
を考える。この場合には、作成される検索対象データの
実データ部は、図29に示すようになる。図29では、
図3に示したレコードのうち、質問レコードから指定さ
れたフィールドを抽出し、抽出後のレコード種名「質問
2」を付された質問2レコードのみにより、新たな実デ
ータ部が構成されている。
In the above extraction process, the record of the specified type among the elements of the actual data part of the search target data is
New multi-type record string replaced with a new record consisting of a new record body created by extracting the specified field from the record body of the record and the record kind name specified in "Record kind name after extraction" However, it is possible to configure to create a new multi-type record string created only from the specified type of record. That is, a new record body created by extracting the designated field from the record body of the record of the designated type,
It can also be configured to create a new multi-type record column by replacing with a new record consisting of the record type name specified in "Record type name after extraction" and removing the records of the type not specified. it can. FIG. 29 is an explanatory diagram of another example of the actual data part in the new search target data generated by the extraction processing. As in the case of FIG. 28, for example, when the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user performs the input shown in FIG. In this case, the actual data part of the created search target data is as shown in FIG. In FIG. 29,
Of the records shown in FIG. 3, the specified field is extracted from the question record, and only the question 2 record with the extracted record type name “question 2” constitutes the new actual data part. .

【0088】第8の処理例として、マルチタイプレコー
ド列を対象にした、レコードの階層化処理を行なう第1
の例について説明する。レコードの階層化処理とは、特
定のフィールド(以下、キー・フィールドと呼ぶ)の値
が等しいレコードを1つの新しいレコードにまとめる処
理である。複数のフィールドがキー・フィールドであっ
てもよい。新しいレコードは、キー・フィールドと、キ
ー・フィールドの値が等しいレコードを要素とするマル
チタイプレコード列が値となる複合フィールドとを持
つ。
As an eighth processing example, a first hierarchical processing of records for a multi-type record string is performed.
An example will be described. The record hierarchization process is a process of collecting records having the same value of a specific field (hereinafter referred to as a key field) into one new record. Multiple fields may be key fields. The new record has a key field and a composite field whose value is a multi-type record string whose elements are records having the same key field value.

【0089】第8の処理例において、生成手段3は、指
定手段2から、検索対象データの識別子、レコード種
名、キー・フィールドとなるフィールドの指定を受け取
る。これらの情報は、指定手段2の一部である入力装置
を介してユーザが指定する。
In the eighth processing example, the generation means 3 receives from the designation means 2 the identifier of the search target data, the record type name, and the designation of the field to be the key field. These pieces of information are designated by the user via the input device which is a part of the designation means 2.

【0090】図30は、階層化処理を行なう際の入力情
報の形式の一例の説明図である。ユーザが指定手段2の
入力装置を介して、検索対象データの識別子、レコード
種名、キー・フィールドとなるフィールド名を指定する
際の、入力する情報の概要を示している。図30におい
て、「識別子」は、検索対象データの識別子を指定する
部分である。「レコード種名」は、レコード種名を指定
する部分である。「フィールド指定」では、フィールド
が指定される。フィールドの指定方法は、第1の処理例
における条件中での指定方法と同じである。「フィール
ド指定」は、「レコード種名」で指定された種類のレコ
ードのフィールドのうち、キー・フィールドとなるもの
を示す。ただし、「レコード種名」で指定された種類の
レコードには、キー・フィールドとして指定されたフィ
ールドが必ず含まれていなければならない。
FIG. 30 is an explanatory diagram of an example of the format of input information when performing the hierarchical processing. The outline of the information to be input when the user designates the identifier of the search target data, the record type name, and the field name to be the key field via the input device of the designating means 2 is shown. In FIG. 30, the "identifier" is a part that specifies the identifier of the search target data. The “record type name” is a part for specifying the record type name. In "field designation", a field is designated. The method of specifying the field is the same as the method of specifying the condition in the first processing example. The "field designation" indicates a key field among the fields of the record of the type designated by the "record type name". However, the record of the type specified by "record type name" must include the field specified as the key field.

【0091】図31は、階層化処理を行なう際の入力情
報の一例の説明図である。図31では、検索対象となる
のは「議事録」という識別子を持つ検索対象データであ
ることが指定されている。また、階層化の対象となるレ
コードは、質問レコードと意見レコードであり、キー・
フィールドは発言者フィールドであることが指定されて
いる。
FIG. 31 is an explanatory diagram of an example of input information when performing the hierarchical processing. In FIG. 31, it is specified that the search target is the search target data having the identifier “minutes”. The records to be layered are question records and opinion records.
The field is specified to be the speaker field.

【0092】生成手段3は、指定手段2から、検索対象
データの識別子、レコード種名、キー・フィールドとな
るフィールドの指定を受け取った後、指定手段2から送
られてきた識別子を持つ検索対象データを格納手段1か
ら主記憶装置に読み込む。読み込んだ検索対象データの
データ定義部から新しいデータ定義部を作り、それがデ
ータ定義部の規則を満たしているかを確認する。確認の
結果、規則を満たしていなければ、データ定義不適合の
メッセージの表示命令を表示手段4に送って、処理は終
了する。データ定義部の規則を満たしていることが確認
できた後、読み込んだ検索対象データの実データ部か
ら、新しい実データ部を作成する。作成された新しい実
データ部は、新しいデータ定義部とともに、新しい検索
対象データが作成される。新しい検索対象データは、表
示手段4によってCRTディスプレイに表示され、ユー
ザは検索結果を見ることができる。
The generation means 3 receives the identifier of the retrieval target data, the record type name, and the designation of the field to be the key field from the designation means 2, and then the retrieval target data having the identifier sent from the designation means 2. Is read from the storage means 1 into the main storage device. A new data definition part is created from the data definition part of the read search target data, and it is confirmed whether it satisfies the rules of the data definition part. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. After confirming that the rules of the data definition section are satisfied, a new actual data section is created from the actual data section of the retrieved search target data. In the created new actual data part, new search target data is created together with the new data definition part. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0093】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義部に、
レコード種名が指定手段2から指定された種類のレコー
ド種名を指定された順序で「.」で連結したものであ
り、レコード型が指定手段2から指定された種類のレコ
ードのキー・フィールドのフィールド名と、指定手段2
から送られてきたレコード種名の集合のフィールドから
構成されるレコード定義が追加される。フィールド名の
並び順は、キー・フィールドのフィールド名、指定され
たレコード種名の集合の順である。ルート定義部は、読
み込んだ検索対象データのルート定義部から、指定され
た「レコード種名」を取り除き、指定されたレコード種
名を指定された順序で「.」で連結したものを追加した
ものである。
How to create a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the record definition part of the retrieved search target data.
The record type name is a concatenation of the record type names of the type designated by the designating means 2 in the designated order by ".", And the record type is the key field of the record of the type designated by the designating means 2. Field name and specifying means 2
A record definition consisting of fields of a set of record type names sent from is added. The order of the field names is the order of the set of the field name of the key field and the specified record type name. The route definition part is obtained by removing the specified "record type name" from the route definition part of the read search target data and adding the specified record type names concatenated with "." In the specified order. Is.

【0094】新しい実データ部の作り方を説明する。ま
ず、要素のないマルチタイプレコード列である仮レコー
ド列1を準備する。検索対象データの実データ部に対し
て、要素がなくなるまで、以下の(1),(2)の処理
を実行する。 (1)検索対象データの実データ部から先頭のレコード
を取り出す。 (2)(1)で取り出したレコードが指定手段から指定
されていない種類のレコードならば、該レコードを仮レ
コード列1の最後尾に連結し、(1)に戻る。そうでな
い場合は、要素のないマルチタイプレコード列である仮
レコード列2を準備し、該レコードを仮レコード列2の
最後尾に連結する。その後、以下のイ,ロの処理を実行
した結果のレコードを仮レコード列1の最後尾に連結
し、(1)に戻る。 イ.検索対象データの実データ部の先頭のレコードが、
指定手段から指定された種類のレコードであり、かつ、
該レコードのキー・フィールドの値が、仮レコード列2
の最後尾のレコードのキー・フィールドの値と等しいと
き、検索対象データの実データ部から先頭のレコードを
取り出し、仮レコード列2の最後尾に連結し、イの処理
を繰り返す。それ以外の場合には、ロの処理を実行す
る。 ロ.指定手段2から指定されたレコード種名を「.」で
連結したものをレコード種名とし、仮レコード列2の先
頭のレコードのキー・フィールドと、仮レコード列2を
値とするフィールドとからなる新しいレコード本体とか
らなる新しいレコードを作成する。レコード種名の連結
の順序は、指定された順序に従う。また、新しいレコー
ド本体のフィールドの並び順は、キー・フィールド、キ
ー・フィールドでないフィールドの順である。
A method of creating a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following processes (1) and (2) are executed until there are no elements in the actual data part of the search target data. (1) The first record is extracted from the actual data part of the search target data. (2) If the record fetched in (1) is of a type not designated by the designating means, the record is linked to the end of the temporary record sequence 1 and the process returns to (1). If not, a temporary record string 2 which is a multi-type record string having no element is prepared and the record is linked to the end of the temporary record string 2. After that, the records resulting from the following processes (a) and (b) are connected to the end of the temporary record string 1, and the process returns to (1). I. The first record of the actual data part of the search target data is
It is a record of the type specified by the specifying means, and
The value of the key field of the record is the temporary record string 2
When the value is equal to the value of the key field of the last record of, the first record is extracted from the actual data part of the search target data, linked to the last of the temporary record sequence 2, and the process of b is repeated. In the other cases, the process of B is executed. B. The record type name specified by the specifying means 2 is connected by "." To form a record type name, which is composed of the key field of the first record of the temporary record string 2 and the field whose value is the temporary record string 2. Create a new record consisting of a new record body. The order of concatenation of record kind names follows the specified order. The order of the fields of the new record body is the order of the key field and the non-key field.

【0095】このイの処理は、キー・フィールドの値が
同じ連続したレコードをマルチタイプレコード列とする
処理であり、作成される新しいレコード本体のキー・フ
ィールドでないフィールドを構成する。また、ロの処理
は、キー・フィールドの値が連続しないときに、それま
でに仮レコード列2に作成したマルチタイプレコード列
を1つのレコードとするための処理であり、作成された
1つのレコードは、仮レコード列1に連結されることに
なる。検索対象データの実データ部に対して、要素がな
くなるまで、上述の処理を実行することにより、仮レコ
ード列1が新しい実データ部となる。
The process (a) is a process of using consecutive records having the same key field value as a multi-type record string, and constitutes a non-key field of the new record body to be created. In addition, the process of (b) is a process of making the multi-type record string created in the temporary record string 2 so far into one record when the values of the key fields are not continuous. Will be linked to the temporary record sequence 1. The temporary record string 1 becomes a new actual data part by executing the above-described processing until the elements of the actual data part of the search target data are exhausted.

【0096】図32,図33は、検索対象データの第5
の例の説明図、図34,図35は、第1の階層化処理に
より生成された新たな検索対象データの一例の説明図で
ある。上述の階層化処理において、例えば、図32に示
したデータ定義部と、図33に示した実データ部を持つ
検索対象データが「議事録」という識別子で格納手段1
に格納されている場合を考える。このとき、ユーザが、
図31に示した階層化の指示を入力すると、作成される
検索対象データは、図34に示すデータ定義部と、図3
5に示す実データ部から構成される新たな検索対象デー
タが生成される。図34に示すように新しいデータ定義
部には、「質問.意見」というレコード種名、および、
キー・フィールド「発言者」と指定されたレコード種名
の集合からなるレコード型によるレコード定義が追加さ
れている。また、新しいルート定義部は、指定されたレ
コード種名「質問」,「意見」が削除され、指定された
レコード種名を指定された順序で「.」で連結した「質
問.意見」の要素が追加されている。実データ部は、図
35に示すように、指定された質問レコード、意見レコ
ードから、同じ発言者フィールドを有する連続したレコ
ードをまとめ、その発言者フィールドと、まとめたレコ
ードの列を複合フィールドとする質問.意見レコードを
作成している。
32 and 33 show the fifth search target data.
34 and 35 are explanatory diagrams of an example of new search target data generated by the first hierarchical processing. In the hierarchical processing described above, for example, the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG.
Suppose it is stored in. At this time, the user
When the hierarchization instruction shown in FIG. 31 is input, the search target data created are the data definition section shown in FIG.
New search target data composed of the actual data part shown in FIG. 5 is generated. As shown in FIG. 34, the new data definition section has a record type name of “question.
A record definition of a record type including a set of record type names designated as a key field "speaker" is added. In addition, the new route definition part deletes the specified record type names "question" and "opinion", and connects the specified record type names with "." In the specified order to form the "question.opinion" element. Has been added. As shown in FIG. 35, the actual data section collects consecutive records having the same speaker field from the designated question record and opinion record, and sets the speaker field and the row of the collected records as a composite field. Question. Creating an opinion record.

【0097】上述の階層化処理では、検索対象データの
実データ部の要素のうち、指定されていない種類のレコ
ードと、指定された種類のレコードから作成された新し
いレコードにより新しい実データ部を構成したが、指定
された種類のレコードから作成された新しいレコードの
みにより、新しい実データ部を構成することも可能であ
る。すなわち、上述の新しい実データ部を作成する処理
のうち、(2)の処理において、(1)で取り出したレ
コードが指定手段から指定されていない種類のレコード
ならば、(1)に戻るように構成する。これにより、読
み込んだ検索対象データの実データ部から、キー・フィ
ールドの値がキー値と同じである連続したレコードの列
を値とする複合フィールドからなる新しいレコードのみ
を作成し、この新しいレコード本体を有する新しいマル
チタイプレコード列により、実データ部を構成すること
ができる。
In the above-described hierarchical processing, a new actual data part is constructed by a record of a type not specified among the elements of the actual data part of the retrieval target data and a new record created from the record of the specified type. However, it is also possible to form a new actual data part only by a new record created from a specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is of a type not specified by the specifying means, the process returns to (1). Constitute. This will create only a new record from the actual data part of the retrieved search data, consisting of a composite field whose value is the column of consecutive records where the value of the key field is the same as the key value. The actual data part can be constructed by a new multi-type record string having.

【0098】図36は、第1の階層化処理により生成さ
れた新たな検索対象データにおける実データ部の別の一
例の説明図である。図35の場合と同様に、例えば、図
32に示したデータ定義部と、図33に示した実データ
部を持つ検索対象データが「議事録」という識別子で格
納手段1に格納されているとき、ユーザが図31に示し
た入力を行なう場合を考える。この場合には、作成され
る検索対象データの実データ部は、図36に示すように
なる。図36では、図35に示したレコードのうち、質
問.意見レコードのみからなるマルチタイプレコード列
により、新たな実データ部が構成されている。
FIG. 36 is an explanatory diagram of another example of the actual data part in the new search target data generated by the first hierarchical processing. As in the case of FIG. 35, for example, when the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user performs the input shown in FIG. In this case, the actual data portion of the created search target data is as shown in FIG. In FIG. 36, the question. A new actual data part is composed of a multi-type record string consisting only of opinion records.

【0099】上述の2つの階層化の例では、階層化され
ているいくつかの種類のレコードに共通のフィールドし
かキー・フィールドに指定できない。しかし、レコード
の種類ごとに別のキー・フィールドを指定することが可
能なように構成することもできる。ただし、このとき、
レコードの種類ごとに指定したキー・フィールドのアト
ミックデータ型は同じでなければならない。
In the above two hierarchized examples, only fields common to several types of hierarchized records can be designated as key fields. However, it can be configured so that a different key field can be specified for each record type. However, at this time,
The key field specified for each record type must have the same atomic data type.

【0100】第9の処理例として、レコードの階層化処
理の第2の例について説明する。この第9の処理例で
は、第8の処理例とほぼ同様の処理を行なうが、データ
定義部および実データ部の作成方法が違う。以下、この
相違する部分について述べる。
As a ninth processing example, a second example of the record hierarchization processing will be described. In this ninth processing example, almost the same processing as in the eighth processing example is performed, but the method of creating the data definition part and the actual data part is different. The difference will be described below.

【0101】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、以下の3つの集合の和集合である。 (1)読み込んだ検索対象データのレコード定義の集合
である。 (2)読み込んだ検索対象データのレコード定義のう
ち、指定手段2からレコード種名が指定されているレコ
ード定義それぞれに対して、レコード種名に「−」を連
結した新しいレコード種名を持ち、かつ、該レコード定
義のレコード型からキー・フィールドとなるフィールド
名を取り除いて作った新しいレコード型を持つレコード
定義からなる集合である。 (3)指定手段2から指定されたレコード種名を指定さ
れた順序で「.」で連結したものを新しいレコード種名
を持ち、キー・フィールドのフィールド名と、指定手段
2から指定されたレコード種名に「−」を連結したもの
を、指定された順で並べたものを新しいレコード型とし
て持つただ1つのレコード定義を要素とする集合であ
る。フィールド名の並び順は、キー・フィールドのフィ
ールド名、キー・フィールドでないフィールドのフィー
ルド名の順である。ルート定義部は、読み込んだ検索対
象データのルート定義部から、指定されたレコード種名
を取り除き、指定された種類のレコード種名を指定され
た順序で「.」で連結した要素を追加したものである。
How to create a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the union of the following three sets. (1) A set of record definitions of the read search target data. (2) Among the record definitions of the retrieved search target data, for each record definition for which the record type name is designated by the designating means 2, a new record type name obtained by concatenating “−” to the record type name is provided, In addition, it is a set of record definitions having a new record type created by removing the field name that is the key field from the record type of the record definition. (3) A new record type name obtained by concatenating the record type names designated by the designating unit 2 in the designated order with ".", And the field name of the key field and the record designated by the designating unit 2 It is a set that has as its element a single record definition that has a new record type in which the seed name is concatenated with "-" arranged in the specified order. The order of the field names is the field name of the key field and the field name of the non-key field. The route definition part removes the specified record type name from the route definition part of the read target data and adds an element that connects the record type names of the specified type with "." In the specified order. Is.

【0102】次に、新しい実データ部の作り方を説明す
る。まず、要素のないマルチタイプレコード列である仮
レコード列1を準備する。検索対象データの実データ部
に対して、要素がなくなるまで、以下の(1),(2)
の処理を実行する。 (1)検索対象データの実データ部から先頭のレコード
を取り出す。 (2)(1)で取り出したレコードが指定手段から指定
されていない種類のレコードならば、該レコードを仮レ
コード列1の最後尾に連結し、(1)に戻る。そうでな
い場合は、要素のないマルチタイプレコード列である仮
レコード列2を準備し、該レコードと仮レコード列2の
最後尾に連結する。その後、以下のイ〜ハの処理を実行
した結果のレコードを仮レコード列1の最後尾に連結
し、(1)に戻る。 イ.検索対象データの実データ部の先頭のレコードが、
指定手段2から指定された種類のレコードであり、か
つ、該レコードのキー・フィールドの値が、仮レコード
列2の最後尾のレコードのキー・フィールドの値と等し
いとき、検索対象データの実データ部から先頭のレコー
ドを取り出し、仮レコード列2の最後尾に連結し、イの
処理を繰り返す。それ以外の場合には、ロの処理を実行
する。 ロ.仮レコード列2のそれぞれのレコードのレコード本
体を、該レコード本体からキー・フィールドを取り除い
たレコード本体で置き換え、レコード種名を該レコード
種名に「−」を連結したものに変えたマルチタイプレコ
ード列を作る。その後、ハの処理を実行する。 ハ.指定手段から指定されたレコード種名を「.」で連
結したものをレコード種名とし、ロ.の処理を実行する
前の仮レコード列2の先頭のレコードのキー・フィール
ドと、処理ロ.で生成した新しいマルチタイプレコード
列を値とするフィールドとからなる新しいレコード本体
とにより新しいレコードを作成する。レコード種名の連
結の順序は、指定された順序に従う。また、フィールド
の並び順は、キー・フィールド、キー・フィールドでな
いフィールドの順である。
Next, how to create a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following (1) and (2) are applied until there are no elements in the actual data part of the search target data.
The process of is executed. (1) The first record is extracted from the actual data part of the search target data. (2) If the record fetched in (1) is of a type not designated by the designating means, the record is linked to the end of the temporary record sequence 1 and the process returns to (1). If not, a temporary record string 2 which is a multi-type record string having no element is prepared, and the record and the temporary record string 2 are connected to the end of the temporary record string 2. After that, the records resulting from the following processings A to C are connected to the end of the temporary record string 1, and the process returns to (1). I. The first record of the actual data part of the search target data is
When the type of record is designated by the designating means 2 and the value of the key field of the record is equal to the value of the key field of the last record of the temporary record sequence 2, the actual data of the search target data The first record is taken out from the copy, linked to the end of the temporary record string 2, and the process of b is repeated. In the other cases, the process of B is executed. B. A multi-type record in which the record body of each record in the provisional record string 2 is replaced with the record body obtained by removing the key field from the record body, and the record type name is changed to a concatenation of the record type name and "-". Make a line. After that, the processing of c is executed. C. The record type name specified by the specifying means is concatenated with "." To be the record type name. Key field of the first record of the tentative record sequence 2 before the execution of the above process, and the process b. Create a new record with a new record body consisting of fields whose values are the new multi-type record string generated in. The order of concatenation of record kind names follows the specified order. The order of the fields is the order of the key field and the non-key field.

【0103】このイ.の処理は、キー・フィールドの値
が同じ連続したレコードをマルチタイプレコード列とす
る処理であり、このマルチタイプレコード列にロ.の処
理を施したものが、作成される新しいレコード本体のキ
ー・フィールドでないフィールドを構成する。また、
ロ.,ハ.の処理は、キー・フィールドの値が連続しな
いときに、それまでに仮レコード列2に作成したマルチ
タイプレコード列を1つのレコードとするための処理で
あり、作成された1つのレコードは、仮レコード列1に
連結されることになる。第8の処理例とは、仮レコード
列2の各レコードから、キー・フィールドを取り除く点
で相違する。検索対象データの実データ部に対して、要
素がなくなるまで、上述の処理を実行することにより、
仮レコード列1が新しい実データ部となる。上述のよう
にして生成された新しいデータ定義部と、新しい実デー
タ部とから、新しい検索対象データを作成する。
This a. The process of (1) is a process of setting consecutive records having the same key field value as a multi-type record string. The field that is not the key field of the new record body to be created is processed by the above process. Also,
B. , C. Is a process for making the multi-type record string created in the temporary record string 2 so far into one record when the values of the key fields are not continuous, and one created record is a temporary record. It will be linked to the record string 1. It differs from the eighth processing example in that the key field is removed from each record of the temporary record sequence 2. By executing the above processing until there are no elements in the actual data part of the search target data,
The temporary record string 1 becomes the new actual data part. New search target data is created from the new data definition part generated as described above and the new actual data part.

【0104】図37,図38は、第2の階層化処理によ
り生成された新たな検索対象データの一例の説明図であ
る。上述の第2の階層化処理において、例えば、図32
に示したデータ定義部と、図33に示した実データ部を
持つ検索対象データが「議事録」という識別子で格納手
段1に格納されている場合を考える。このとき、ユーザ
が、図31に示した階層化の指示を入力すると、作成さ
れる検索対象データは、図37に示すデータ定義部と、
図38に示す実データ部から構成される新たな検索対象
データが生成される。図37に示すように新しいデータ
定義部のレコード定義部には、指定されたレコード種名
「質問」、「意見」に基づき、質問−レコード、意見−
レコード、質問.意見レコードが追加されている。質問
−レコードと意見−レコードは、もとの質問レコード、
意見レコードのレコード型から、キー・フィールド「発
言者」を削除したレコード型を有している。また、質
問.意見レコードは、キー・フィールド「発言者」と、
指定されたレコード種名に「−」をつけた新しいレコー
ド種名「質問−」、「意見−」の集合から構成されるレ
コード型を有している。また、新しいルート定義部は、
指定されたレコード種名「質問」,「意見」が削除さ
れ、指定されたレコード種名を指定された順序で「.」
で連結した「質問.意見」の要素が追加されている。実
データ部は、図38に示すように、指定された質問レコ
ード、意見レコードから、同じ発言者フィールド、例え
ば「a山a’蔵」を有する連続したレコードが抽出さ
れ、発言者フィールド「a山a’蔵」と、抽出したレコ
ードから発言者フィールドを削除し、レコード種名に
[−」を追加したレコード、例えば「質問
−:[...]」や「意見−:[...]」のマルチタ
イプレコード列によって構成される複合フィールドとか
らなるレコード本体を有するレコードが作成される。
37 and 38 are explanatory views of an example of new search target data generated by the second hierarchical processing. In the second layering process described above, for example, as shown in FIG.
Consider a case where the search target data having the data definition part shown in FIG. 3 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes”. At this time, when the user inputs the hierarchization instruction shown in FIG. 31, the search target data created is the data definition section shown in FIG.
New search target data composed of the actual data part shown in FIG. 38 is generated. As shown in FIG. 37, in the record definition section of the new data definition section, based on the specified record type names "question" and "opinion", question-record, opinion-
Records, questions. Opinion records have been added. The question-record and opinion-record are the original question record,
It has a record type in which the key field “speaker” is deleted from the record type of the opinion record. Also, the question. The opinion record contains the key field "Speaker",
It has a record type consisting of a set of new record type names "question-" and "opinion-" in which "-" is added to the designated record type name. Also, the new route definition part
The specified record type names "question" and "opinion" are deleted, and the specified record type names are "." In the specified order.
The element of "Question. Opinion" linked by is added. As shown in FIG. 38, the actual data section extracts a continuous record having the same speaker field, for example, "a mountain a'kura" from the specified question record and opinion record, and the speaker field "a mountain""a'zo", the record in which the speaker field is deleted from the extracted record and [-] is added to the record type name, for example, "question-: [...]" or "opinion-: [...]". A record having a record body composed of a composite field composed of a multi-type record string of "" is created.

【0105】上述の階層化処理の第2の例においても、
指定された種類のレコードから作成された新しいレコー
ドのみにより、新しい実データ部を構成することも可能
である。すなわち、上述の新しい実データ部を作成する
処理のうち、(2)の処理において、(1)で取り出し
たレコードが指定手段から指定されていない種類のレコ
ードであるならば、(1)に戻るように構成する。これ
により、読み込んだ検索対象データの実データ部から、
キー・フィールドの値がキー値と同じである連続したレ
コードの列を抽出し、キーフィールドと、抽出したレコ
ードのマルチタイプレコード列のフィールドによりレコ
ードを作成し、この新しいレコードのみを有する新しい
マルチタイプレコード列により、実データ部を構成する
ことができる。
Also in the second example of the layering process described above,
It is also possible to construct a new actual data part only by a new record created from the specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is a record of a type not specified by the specifying means, the process returns to (1). To configure. As a result, from the actual data part of the read search target data,
A new multitype that extracts a column of consecutive records where the value of the key field is the same as the key value, creates a record with the key field and the fields of the multitype record column of the extracted record, and has only this new record The record string can form the actual data part.

【0106】図39は、第2の階層化処理により生成さ
れた新たな検索対象データにおける実データ部の別の一
例の説明図である。図35の場合と同様に、例えば、図
32に示したデータ定義部と、図33に示した実データ
部を持つ検索対象データが「議事録」という識別子で格
納手段1に格納されているとき、ユーザが図31に示し
た入力を行なう場合を考える。この場合には、作成され
る検索対象データの実データ部は、図39に示すように
なる。図39では、図38に示したレコードのうち、質
問.意見レコードのみにより、新たな実データ部が構成
されている。
FIG. 39 is an explanatory diagram of another example of the actual data part in the new search target data generated by the second hierarchical processing. As in the case of FIG. 35, for example, when the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user performs the input shown in FIG. In this case, the actual data part of the created search target data is as shown in FIG. In FIG. 39, among the records shown in FIG. 38, question. A new actual data part is composed of only the opinion record.

【0107】さらに、この第2の階層化の例において
も、キー・フィールドとして指定できるフィールドは、
階層化されているいくつかの種類のレコードに共通のフ
ィールドのみである。しかし、レコードの種類ごとに別
のキー・フィールドを指定することが可能なように構成
することもできる。ただし、このとき、レコードの種類
ごとに指定したキー・フィールドのアトミックデータ型
は同じでなければならない。
Furthermore, also in this second hierarchical example, the fields that can be designated as key fields are:
Only fields that are common to several types of records that are hierarchical. However, it can be configured so that a different key field can be specified for each record type. However, at this time, the atomic data type of the key field specified for each record type must be the same.

【0108】第10の処理例として、レコードの階層化
処理の第3の例について説明する。この第10の処理例
では、第8の処理例とほぼ同様の処理を行なうが、デー
タ定義部および実データ部の作成方法が違う。以下、こ
の相違する部分について述べる。
As the tenth processing example, the third example of the record hierarchical processing will be described. In the tenth processing example, almost the same processing as the eighth processing example is performed, but the method of creating the data definition part and the actual data part is different. The difference will be described below.

【0109】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義と、レ
コード種名が指定手段2から指定された種類のレコード
種名を「.」で連結したものであり、レコード型がキー
・フィールドのフィールド名と指定されたレコード種名
の集合との列であるようなレコード定義により構成され
る。ここで、レコード種名の連結の順序は、指定された
順序に従う。また、フィールド名の並び順は、キー・フ
ィールドのフィールド名、指定されたレコード種名の集
合の順である。ルート定義部は、読み込んだ検索対象デ
ータのルート定義部から、指定されたレコード種名を取
り除き、指定されたレコード種名を指定された順序
で「.」で連結した要素を追加したものである。
How to create a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition section is obtained by concatenating the record definition of the read search target data and the record type name of the type whose record type name is designated by the designating means 2 by ".", And the record type is a key field field. It consists of a record definition that is a sequence of names and a set of specified record species names. Here, the order of concatenation of the record type names follows the specified order. The order of the field names is the order of the field name of the key field and the set of the designated record type names. The route definition part is obtained by removing the specified record type name from the route definition part of the read target data and adding an element in which the specified record type name is connected by "." In the specified order. .

【0110】次に、新しい実データ部の作り方を説明す
る。まず、要素のないマルチタイプレコード列である仮
レコード列1を準備する。検索対象データの実データ部
に対して、要素がなくなるまで、以下の(1),(2)
の処理を実行する。 (1)検索対象データの実データ部から先頭のレコード
を取り出す。 (2)(1)で取り出したレコードが指定手段から指定
されていない種類のレコードならば、該レコードを仮レ
コード列1の最後尾に連結し、(1)に戻る。そうでな
い場合は、要素のないマルチタイプレコード列である仮
レコード列2を準備し、該レコードを仮レコード列2の
最後尾に連結する。その後、以下のイ.,ロ.の処理を
実行した結果のレコードを仮レコード列1の最後尾に連
結し、(1)に戻る。 イ.検索対象データの実データ部のレコードのうち、指
定手段2から指定された種類のレコードであり、かつ、
該レコードのキー・フィールドの値が、仮レコード列2
の最後尾のレコードのキー・フィールドの値と等しいと
き、検索対象データの実データ部からそのレコードを取
り出し、仮レコード列2の最後尾に連結する。それ以外
のときは何もしない。この処理を、検索対象データの実
データ部の先頭から最後尾まで、順に実行する。 ロ.指定手段2から指定されたレコード種名を「.」で
連結したものをレコード種名とし、仮レコード列2の先
頭のレコードのキー・フィールドと、仮レコード列2を
値とするフィールドとからなる新しいレコード本体とか
ら、新しいレコードを作成する。レコード種名の連結の
順序は、指定された順序に従う。また、フィールドの並
び順は、キー・フィールド、キー・フィールドでないフ
ィールドの順である。
Next, how to create a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following (1) and (2) are applied until there are no elements in the actual data part of the search target data.
The process of is executed. (1) The first record is extracted from the actual data part of the search target data. (2) If the record fetched in (1) is of a type not designated by the designating means, the record is linked to the end of the temporary record sequence 1 and the process returns to (1). If not, a temporary record string 2 which is a multi-type record string having no element is prepared and the record is linked to the end of the temporary record string 2. After that, the following a. , B. The record obtained as a result of performing the process of (1) is linked to the end of the temporary record string 1, and the process returns to (1). I. Of the records in the actual data part of the search target data, the record is of the type designated by the designating means 2, and
The value of the key field of the record is the temporary record string 2
When it is equal to the value of the key field of the last record of the record, that record is taken out from the actual data part of the search target data, and is linked to the last of the temporary record sequence 2. Otherwise, do nothing. This process is sequentially executed from the beginning to the end of the actual data part of the search target data. B. The record type name specified by the specifying means 2 is connected by "." To form a record type name, which is composed of the key field of the first record of the temporary record string 2 and the field whose value is the temporary record string 2. Create a new record from the new record body. The order of concatenation of record kind names follows the specified order. The order of the fields is the order of the key field and the non-key field.

【0111】このイの処理は、キー・フィールドの値が
同じレコードをレコード列の並び順に抽出し、マルチタ
イプレコード列とする処理であり、作成される新しいレ
コード本体のキー・フィールドでないフィールドを構成
する。また、ロの処理は、仮レコード列2に作成したマ
ルチタイプレコード列を1つのレコードとするための処
理であり、作成された1つのレコードは、仮レコード列
1に連結されることになる。第8の処理例とは、同じキ
ー・フィールドを有するレコードが連続していなくても
抽出する点で相違する。検索対象データの実データ部に
対して、要素がなくなるまで、上述の処理を実行するこ
とにより、仮レコード列1が新しい実データ部となる。
上述のようにして生成された新しいデータ定義部と、新
しい実データ部とから、新しい検索対象データを作成す
る。
The process (a) is a process for extracting the records having the same key field value in the order of the record strings to form a multi-type record string, and constructing a field that is not a key field of the new record body to be created. To do. In addition, the process of (b) is a process for making the multi-type record string created in the temporary record string 2 into one record, and one created record is linked to the temporary record string 1. It differs from the eighth processing example in that records having the same key field are extracted even if they are not continuous. The temporary record string 1 becomes a new actual data part by executing the above-described processing until the elements of the actual data part of the search target data are exhausted.
New search target data is created from the new data definition part generated as described above and the new actual data part.

【0112】図40は、第3の階層化処理により生成さ
れた新たな検索対象データにおける実データ部の一例の
説明図である。上述の第3の階層化処理において、例え
ば、図32に示したデータ定義部と、図33に示した実
データ部を持つ検索対象データが「議事録」という識別
子で格納手段1に格納されている場合を考える。このと
き、ユーザが、図31に示した階層化の指示を入力する
と、作成される検索対象データは、図34に示すデータ
定義部と、図40に示す実データ部から構成される新た
な検索対象データが生成される。図40に示すように、
指定された質問レコード、意見レコードから、同じ発言
者フィールド、例えば「a山a’蔵」を有するすべての
レコードが順に抽出され、発言者フィールド「a山a’
蔵」と、抽出したレコードからなるマルチタイプレコー
ド列とからなるレコード本体を有するレコードが作成さ
れる。
FIG. 40 is an explanatory diagram of an example of the actual data part in the new search target data generated by the third hierarchical processing. In the above-described third hierarchical processing, for example, the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes”. Consider the case. At this time, when the user inputs the hierarchization instruction shown in FIG. 31, the search target data to be created is a new search composed of the data definition part shown in FIG. 34 and the actual data part shown in FIG. Target data is generated. As shown in FIG. 40,
From the designated question record and opinion record, all the records having the same speaker field, for example, "a mountain a'kura" are sequentially extracted, and the speaker field "a mountain a '
A record having a record body composed of “Kura” and a multi-type record string composed of the extracted records is created.

【0113】上述の階層化処理の第3の例においても、
指定された種類のレコードから作成された新しいレコー
ドのみにより、新しい実データ部を構成することも可能
である。すなわち、上述の新しい実データ部を作成する
処理のうち、(2)の処理において、(1)で取り出し
たレコードが指定手段から指定されていない種類のレコ
ードならば、(1)に戻るように構成する。これによ
り、読み込んだ検索対象データの実データ部から、キー
・フィールドの値がキー値と同じであるすべてのレコー
ドを抽出し、キー・フィールドと、抽出したレコードの
マルチタイプレコード列をフィールドとする新しいレコ
ードを作成し、この新しいレコードのみを有する新しい
マルチタイプレコード列により、実データ部を構成する
ことができる。
Also in the third example of the layering process described above,
It is also possible to construct a new actual data part only by a new record created from the specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is of a type not specified by the specifying means, the process returns to (1). Constitute. As a result, all records in which the value of the key field is the same as the key value are extracted from the actual data part of the retrieved search target data, and the key field and the multi-type record string of the extracted record are used as fields. It is possible to create a new record and configure the actual data part with a new multi-type record string having only this new record.

【0114】図41は、第3の階層化処理により生成さ
れた新たな検索対象データにおける実データ部の別の一
例の説明図である。図40の場合と同様に、例えば、図
32に示したデータ定義部と、図33に示した実データ
部を持つ検索対象データが「議事録」という識別子で格
納手段1に格納されているとき、ユーザが図31に示し
た入力を行なう場合を考える。この場合には、作成され
る検索対象データの実データ部は、図41に示すように
なる。図41では、図40に示したレコードのうち、質
問.意見レコードのみにより、新たな実データ部が構成
されている。
FIG. 41 is an explanatory diagram of another example of the actual data part in the new search target data generated by the third hierarchical processing. As in the case of FIG. 40, for example, when the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user performs the input shown in FIG. In this case, the actual data part of the created search target data is as shown in FIG. In FIG. 41, the question. A new actual data part is composed of only the opinion record.

【0115】さらに、この第3の階層化の例において
も、キー・フィールドとして指定できるフィールドは、
階層化されているいくつかの種類のレコードに共通のフ
ィールドのみである。しかし、レコードの種類ごとに別
のキー・フィールドを指定することが可能なように構成
することもできる。ただし、このとき、レコードの種類
ごとに指定したキー・フィールドのアトミックデータ型
は同じでなければならない。
Further, also in this third hierarchical example, the fields that can be designated as key fields are:
Only fields that are common to several types of records that are hierarchical. However, it can be configured so that a different key field can be specified for each record type. However, at this time, the atomic data type of the key field specified for each record type must be the same.

【0116】第11の処理例として、レコードの階層化
処理の第4の例について説明する。この第11の処理例
では、第8の処理例とほぼ同様の処理を行なうが、デー
タ定義部および実データ部の作成方法が違う。以下、こ
の相違する部分について述べる。
As the eleventh processing example, the fourth example of the record hierarchical processing will be described. In the eleventh processing example, almost the same processing as in the eighth processing example is performed, but the method of creating the data definition part and the actual data part is different. The difference will be described below.

【0117】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、以下の3つの集合の和集合である。 (1)読み込んだ検索対象データのレコード定義の集合
である。 (2)読み込んだ検索対象データのレコード定義のう
ち、指定手段2からレコード種名が指定されているレコ
ード定義それぞれに対して、レコード種名に「−」を連
結した新しいレコード種名を持ち、かつ、該レコード定
義のレコード型からキー・フィールドとなるフィールド
名を取り除いて作った新しいレコード型を持つレコード
定義からなる集合である。 (3)指定手段2から指定されたレコード種名を指定さ
れた順序で「.」で連結したものを新しいレコード種名
を持ち、キー・フィールドのフィールド名と、指定手段
2から指定されたレコード種名に「−」を連結したもの
を、指定された順で並べたものを新しいレコード型とし
て持つただ1つのレコード定義を要素とする集合であ
る。フィールド名の並び順は、キー・フィールドのフィ
ールド名、キー・フィールドでないフィールドのフィー
ルド名の順である。ルート定義部は、読み込んだ検索対
象データのルート定義部から、指定されたレコード種名
を取り除き、指定された種類のレコード種名を指定され
た順序で「.」で連結した要素を追加したものである。
A method of creating a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the union of the following three sets. (1) A set of record definitions of the read search target data. (2) Among the record definitions of the retrieved search target data, for each record definition for which the record type name is designated by the designating means 2, a new record type name obtained by concatenating “−” to the record type name is provided, In addition, it is a set of record definitions having a new record type created by removing the field name that is the key field from the record type of the record definition. (3) A new record type name obtained by concatenating the record type names designated by the designating unit 2 in the designated order with ".", And the field name of the key field and the record designated by the designating unit 2 It is a set that has as its element a single record definition that has a new record type in which the seed name is concatenated with "-" arranged in the specified order. The order of the field names is the field name of the key field and the field name of the non-key field. The route definition part removes the specified record type name from the route definition part of the read target data and adds an element that connects the record type names of the specified type with "." In the specified order. Is.

【0118】次に、新しい実データ部の作り方を説明す
る。まず、要素のないマルチタイプレコード列である仮
レコード列1を準備する。検索対象データの実データ部
に対して、要素がなくなるまで、以下の(1),(2)
の処理を実行する。 (1)検索対象データの実データ部から先頭のレコード
を取り出す。 (2)(1)で取り出したレコードが指定手段から指定
されていない種類のレコードならば、該レコードを仮レ
コード列1の最後尾に連結し、(1)に戻る。そうでな
い場合は、要素のないマルチタイプレコード列である仮
レコード列2を準備し、該レコードを仮レコード列2の
最後尾に連結する。その後、以下のイ〜ハの処理を実行
した結果のレコードを仮レコード列1の最後尾に連結
し、(1)に戻る。 イ.検索対象データの実データ部のレコードが、指定手
段2から指定された種類のレコードであり、かつ、該レ
コードのキー・フィールドの値が、仮レコード列2の最
後尾のレコードのキー・フィールドの値と等しいとき、
検索対象データの実データ部からそのレコードを取り出
し、仮レコード列2の最後尾に連結し、イの処理を繰り
返す。それ以外のときは何もしない。この処理を、検索
対象データの実データ部の先頭から最後尾までに順に実
行する。 ロ.仮レコード列2のそれぞれのレコードのレコード本
体を、該レコード本体からキー・フィールドを取り除い
たレコード本体で置き換え、レコード種名を該レコード
種名に「−」を連結したものに変えたマルチタイプレコ
ード列を作る。その後、ハの処理を実行する。 ハ.指定手段から指定されたレコード種名を「.」で連
結したものをレコード種名とし、ロの処理を実行する前
の仮レコード列2の先頭のレコードのキー・フィールド
と、処理ロ.で生成した新しいマルチタイプレコード列
を値とするフィールドとからなる新しいレコード本体と
により新しいレコードを作成する。レコード種名の連結
の順序は、指定された順序に従う。また、フィールドの
並び順は、キー・フィールド、キー・フィールドでない
フィールドの順である。
Next, a method of creating a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following (1) and (2) are applied until there are no elements in the actual data part of the search target data.
The process of is executed. (1) The first record is extracted from the actual data part of the search target data. (2) If the record fetched in (1) is of a type not designated by the designating means, the record is linked to the end of the temporary record sequence 1 and the process returns to (1). If not, a temporary record string 2 which is a multi-type record string having no element is prepared and the record is linked to the end of the temporary record string 2. After that, the records resulting from the following processings A to C are connected to the end of the temporary record string 1, and the process returns to (1). I. The record of the actual data part of the search target data is a record of the type designated by the designating means 2, and the value of the key field of the record is the key field of the last record of the temporary record sequence 2. When equal to the value,
The record is taken out from the actual data part of the search target data, linked to the end of the temporary record string 2, and the process of b is repeated. Otherwise, do nothing. This process is sequentially executed from the beginning to the end of the actual data part of the search target data. B. A multi-type record in which the record body of each record in the provisional record string 2 is replaced with the record body obtained by removing the key field from the record body, and the record type name is changed to a concatenation of the record type name and "-". Make a line. After that, the processing of c is executed. C. A record type name obtained by concatenating the record type names designated by the designating means with "." Is used as the record type name, and the key field of the first record of the temporary record sequence 2 before the process b and the process b. Create a new record with a new record body consisting of fields whose values are the new multi-type record string generated in. The order of concatenation of record kind names follows the specified order. The order of the fields is the order of the key field and the non-key field.

【0119】このイの処理は、キー・フィールドの値が
同じすべてのレコードを順に抽出してマルチタイプレコ
ード列とする処理であり、このマルチタイプレコード列
のロ.の処理を施したものが作成される新しいレコード
本体のキー・フィールドでないフィールドを構成する。
また、ロ,ハの処理は、仮レコード列2に作成したマル
チタイプレコード列を1つのレコードとするための処理
であり、作成された1つのレコードは、仮レコード列1
に連結されることになる。第8の処理例とは、同じキー
・フィールドを有するレコードが連続していなくても抽
出する点で相違するとともに、第10の処理例とは、仮
レコード列2の各レコードから、キー・フィールドを取
り除く点で相違する。検索対象データの実データ部に対
して、要素がなくなるまで、上述の処理を実行すること
により、仮レコード列1が新しい実データ部となる。上
述のようにして生成された新しいデータ定義部と、新し
い実データ部とから、新しい検索対象データを作成す
る。
The process (a) is a process of sequentially extracting all the records having the same key field value to form a multi-type record string. Configure a field that is not a key field in the new record body that will be created.
In addition, the processing of b and c is processing for making the multi-type record string created in the temporary record string 2 into one record, and the created one record is the temporary record string 1
Will be linked to. The eighth processing example is different from the eighth processing example in that records having the same key field are extracted even if they are not consecutive, and the tenth processing example differs from each record of the temporary record string 2 in the key field. The difference is in removing. The temporary record string 1 becomes a new actual data part by executing the above-described processing until the elements of the actual data part of the search target data are exhausted. New search target data is created from the new data definition part generated as described above and the new actual data part.

【0120】図42は、第4の階層化処理により生成さ
れた新たな検索対象データにおける実データ部の一例の
説明図である。上述の第4の階層化処理において、例え
ば、図32に示したデータ定義部と、図33に示した実
データ部を持つ検索対象データが「議事録」という識別
子で格納手段1に格納されている場合を考える。このと
き、ユーザが、図31に示した階層化の指示を入力する
と、作成される検索対象データは、図37に示すデータ
定義部と、図42に示す実データ部から構成される新た
な検索対象データが生成される。図42に示すように、
指定された質問レコード、意見レコードから、同じ発言
者フィールド、例えば「a山a’蔵」を有するすべての
レコードが順に抽出され、発言者フィールド「a山a’
蔵」と、抽出したレコードから発言者フィールドを削除
し、レコード種名に[−」を追加したレコード、例えば
「質問−:[...]」や「意見−:[...]」のマ
ルチタイプレコード列によって構成される複合フィール
ドとからなるレコード本体を有するレコードが作成され
る。
FIG. 42 is an explanatory diagram of an example of the actual data part in the new search target data generated by the fourth hierarchical processing. In the fourth hierarchical processing described above, for example, the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes”. Consider the case. At this time, when the user inputs the hierarchization instruction shown in FIG. 31, the search target data created is a new search composed of the data definition part shown in FIG. 37 and the actual data part shown in FIG. Target data is generated. As shown in FIG. 42,
From the designated question record and opinion record, all the records having the same speaker field, for example, "a mountain a'kura" are sequentially extracted, and the speaker field "a mountain a '
"Kura", the speaker field is deleted from the extracted record, and a record type name with [-] added, for example, "question-: [...]" or "opinion-: [...]" A record having a record body composed of a composite field composed of a multi-type record string is created.

【0121】上述の階層化処理の第4の例においても、
指定された種類のレコードから作成された新しいレコー
ドのみにより、新しい実データ部を構成することも可能
である。すなわち、上述の新しい実データ部を作成する
処理のうち、(2)の処理において、(1)で取り出し
たレコードが指定手段から指定されていない種類のレコ
ードならば、(1)に戻るように構成する。これによ
り、読み込んだ検索対象データの実データ部から、キー
・フィールドの値がキー値と同じであるすべてのレコー
ドを順に抽出し、キーフィールドと、抽出したレコード
のマルチタイプレコード列のフィールドによりレコード
本体を作成し、この新しいレコードのみを有する新しい
レコードのマルチタイプレコード列により、実データ部
を構成することができる。
Also in the fourth example of the layering process described above,
It is also possible to construct a new actual data part only by a new record created from the specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is of a type not specified by the specifying means, the process returns to (1). Constitute. As a result, all records in which the value of the key field is the same as the key value are sequentially extracted from the actual data part of the read search target data, and the records are extracted by the key field and the field of the multi-type record column of the extracted record. The actual data part can be constructed by creating a main body and using the multi-type record string of the new record having only this new record.

【0122】図43は、第4の階層化処理により生成さ
れた新たな検索対象データにおける実データ部の別の一
例の説明図である。図42の場合と同様に、例えば、図
32に示したデータ定義部と、図33に示した実データ
部を持つ検索対象データが「議事録」という識別子で格
納手段1に格納されているとき、ユーザが図31に示し
た入力を行なう場合を考える。この場合には、作成され
る検索対象データの実データ部は、図43に示すように
なる。図43では、図42に示したレコードのうち、質
問.意見レコードのみにより、新たな実データ部が構成
されている。
FIG. 43 is an explanatory diagram of another example of the actual data part in the new search target data generated by the fourth hierarchical processing. As in the case of FIG. 42, for example, when the search target data having the data definition part shown in FIG. 32 and the actual data part shown in FIG. 33 is stored in the storage means 1 with the identifier “minutes” , Consider the case where the user performs the input shown in FIG. In this case, the actual data part of the created search target data is as shown in FIG. In FIG. 43, among the records shown in FIG. 42, question. A new actual data part is composed of only the opinion record.

【0123】さらに、この第4の階層化の例において
も、キー・フィールドとして指定できるフィールドは、
階層化されているいくつかの種類のレコードに共通のフ
ィールドのみである。しかし、レコードの種類ごとに別
のキー・フィールドを指定することが可能なように構成
することもできる。ただし、このとき、レコードの種類
ごとに指定したキー・フィールドのアトミックデータ型
は同じでなければならない。
Further, also in this fourth hierarchical example, the fields that can be designated as key fields are:
Only fields that are common to several types of records that are hierarchical. However, it can be configured so that a different key field can be specified for each record type. However, at this time, the atomic data type of the key field specified for each record type must be the same.

【0124】第12の処理例として、マルチタイプレコ
ード列を対象にした、レコードの非階層化処理を行なう
例について説明する。レコードの非階層化処理とは、非
階層化フィールド、すなわち、非階層化されるレコード
中の複合フィールドのどれか1つを非階層化して、複数
の新しいレコードを作る処理である。ここで、新しいレ
コードのレコード本体は、非階層化フィールドの各要素
のレコードを構成しているフィールドと、非階層化フィ
ールド以外のフィールドからなる。第12の処理例にお
いて、生成手段3は、指定手段2から、検索対象データ
の識別子、非階層化されるレコードのレコード種名、非
階層化フィールドの指定を受け取る。これらの情報は、
指定手段2の一部である入力装置を介してユーザが指定
する。
As a twelfth processing example, an example of performing non-hierarchical processing of records for a multi-type record string will be described. The non-hierarchical process of a record is a process of non-hierarchizing a non-hierarchical field, that is, one of composite fields in a record to be non-hierarchical to create a plurality of new records. Here, the record body of the new record is composed of fields constituting the record of each element of the non-hierarchical field and fields other than the non-hierarchical field. In the twelfth processing example, the generation unit 3 receives the identifier of the search target data, the record type name of the non-hierarchized record, and the designation of the non-hierarchized field from the designation unit 2. This information is
The user makes a designation through an input device which is a part of the designation means 2.

【0125】生成手段3は、指定手段2から、検索対象
データの識別子、非階層化されるレコードのレコード種
名、非階層化フィールドの指定を受け取った後、指定手
段2から送られてきた識別子を持つ検索対象データを格
納手段1から主記憶装置に読み込む。読み込んだ検索対
象データのデータ定義部から新しいデータ定義部を作
り、それがデータ定義部の規則を満たしているかを確認
する。確認の結果、規則を満たしていなければ、データ
定義不適合のメッセージの表示命令を表示手段4に送っ
て、処理は終了する。データ定義部の規則を満たしてい
ることが確認できた後、読み込んだ検索対象データの実
データ部から、新しい実データ部を作成する。新しい実
データ部と、新しいデータ定義部から、新しい検索対象
データが作成される。新しい検索対象データは、表示手
段4によってCRTディスプレイに表示され、ユーザは
検索結果を見ることができる。
The generation means 3 receives the identifier of the data to be searched, the record type name of the non-hierarchized record, and the designation of the non-hierarchized field from the designation means 2, and then the identifier sent from the designation means 2. Data to be searched for is read from the storage means 1 into the main storage device. A new data definition part is created from the data definition part of the read search target data, and it is confirmed whether it satisfies the rules of the data definition part. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. After confirming that the rules of the data definition section are satisfied, a new actual data section is created from the actual data section of the retrieved search target data. New search target data is created from the new actual data section and the new data definition section. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0126】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義部に、
新しいレコード定義が追加される。新しいレコード定義
のレコード種名は、指定されたレコード種名を持つデー
タ定義Aの非階層化フィールドの要素Bから、レコード
定義Aのレコード種名に「.」と要素Bのレコード種名
を連結して作成される。また、新しいレコード定義のレ
コード型は、レコード定義Aのレコード型から非階層化
フィールドのフィールド名を取り除いたものに、要素B
をレコード種名として持つレコード定義のレコード型を
連結して作成される。作成されたレコード種名、レコー
ド型により、新しいレコード定義が作成される。この新
しいレコード定義は、指定手段2から指定されたレコー
ド種名を持つデータ定義と、指定された非階層化フィー
ルドのフィールド名の要素との全ての組み合わせのそれ
ぞれに対して作成される。ルート定義部は、読み込んだ
検索対象データのルート定義部から、指定されたレコー
ド種名を取り除き、指定されたレコード種名と非階層化
フィールドのフィールド名の要素を「.」で連結したも
のを追加して作成する。
A method of creating a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the record definition part of the retrieved search target data.
A new record definition is added. For the record kind name of the new record definition, "." And the record kind name of the element B are connected to the record kind name of the record definition A from the element B of the non-hierarchical field of the data definition A having the specified record kind name. Created. Also, the record type of the new record definition is the record type of the record definition A with the field name of the non-hierarchical field removed, and the element B
It is created by concatenating the record types of the record definition that has as the record type name. A new record definition is created according to the created record type name and record type. This new record definition is created for each of all combinations of the data definition having the record type name designated by the designating means 2 and the element of the field name of the designated non-hierarchical field. The route definition part removes the specified record type name from the route definition part of the read target data, and connects the specified record type name and the field name element of the non-hierarchical field with ".". Add and create.

【0127】新しい実データ部の作り方について説明す
る。まず、要素のないマルチタイプレコード列である仮
レコード列1を準備する。検索対象データの実データ部
に対して、以下の(1)、(2)の処理を実行する。 (1)検索対象データの実データ部から先頭のレコード
(R1レコードという)を取り出す。 (2)(1)で取り出したレコードが指定手段から指定
されていない種類のレコードならば、該レコードを仮レ
コード列1の最後尾に連結し、(1)に戻る。そうでな
い場合は、要素の内マルチタイプレコード列である仮レ
コード2を準備し、取り出したレコードの非階層化フィ
ールドの値に要素がなくなるまで、以下のイ〜ニの処理
を実行した結果の仮レコード列2を仮レコード列1の最
後尾に連結し、(1)に戻る。 イ.R1レコードの非階層化フィールドの値から、先頭
のレコード(R2レコードという)を取り出す。 ロ.R1レコードのレコード種名に、「.」と、R2レ
コードのレコード種名を連結した新しいレコード種名を
作る。 ハ.R1レコードのレコード本体から、非階層化フィー
ルドを取り除いたものに、R2レコードのレコード本体
を連結してできる新しいレコード本体を作る。 ニ.ロで作成したレコード種名と、ハで作成したレコー
ド本体からなるレコードを、仮レコード列2の最後尾に
連結する。
A method of creating a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following processes (1) and (2) are executed on the actual data part of the search target data. (1) The first record (referred to as R1 record) is extracted from the actual data part of the search target data. (2) If the record fetched in (1) is of a type not designated by the designating means, the record is linked to the end of the temporary record sequence 1 and the process returns to (1). If not, prepare the temporary record 2 which is the multi-type record string of the elements, and execute the following processing of a to i until the value of the non-hierarchical field of the fetched record has no elements. The record string 2 is connected to the end of the temporary record string 1, and the process returns to (1). I. The first record (referred to as R2 record) is extracted from the value of the non-hierarchical field of the R1 record. B. A new record type name is created by concatenating the record type name of the R1 record with the record type name of the R2 record. C. A new record body is created by concatenating the record body of the R2 record with the non-hierarchical field removed from the record body of the R1 record. D. The record consisting of the record type name created in (b) and the record body created in (c) is linked to the end of the temporary record string 2.

【0128】図44,図45は、非階層化処理により生
成された新たな検索対象データの一例の説明図である。
上述の非階層化処理において、例えば、図2に示したデ
ータ定義部と、図3に示した実データ部を持つ検索対象
データが「議事録」という識別子で格納手段1に格納さ
れている場合を考える。このとき、ユーザが、検索対象
データの識別子として「議事録」、非階層化されるレコ
ードの種類として質問レコード、非階層化フィールドと
して{発言,回答}フィールドを指定して、非階層化の
指示を入力すると、作成される検索対象データは、図4
4に示すデータ定義部と、図45に示す実データ部から
構成される新たな検索対象データが生成される。
FIGS. 44 and 45 are explanatory views of an example of new search target data generated by the non-hierarchical processing.
In the non-hierarchical processing described above, for example, when the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. think of. At this time, the user specifies "minutes" as the identifier of the search target data, the question record as the type of the non-hierarchized record, and the {sent, answer} field as the non-hierarchical field, and instructs the non-hierarchicalization. When you enter, the search target data created will be
New search target data composed of the data definition part shown in FIG. 4 and the actual data part shown in FIG. 45 is generated.

【0129】図44に示すように新しいデータ定義部に
は、レコード種名「質問」と、非階層化フィールドの各
要素のレコードのレコード種名「発言」、「回答」か
ら、「質問・発言」および「質問・回答」というレコー
ド種名のレコード定義が追加されている。この追加され
たレコード定義のレコード型は、例えば質問・発言レコ
ードでは、質問レコードのレコード定義のレコード型か
ら非階層化フィールド{発言,回答}を削除し、非階層
化フィールドの1つの要素である発言レコードのレコー
ド型、すなわち、「内容」を追加して作成されている。
質問・回答についても同様である。また、新しいルート
定義部は、指定されたレコード種名「質問」が削除さ
れ、指定されたレコード種名と非階層化フィールドの要
素のレコードのレコード種名から作成された「質問・発
言」,「質問・回答」が追加されている。
As shown in FIG. 44, in the new data definition section, from the record type name “question” and the record type names “statement” and “answer” of the record of each element of the non-hierarchical field, “question / statement” is displayed. ] And “Question / Answer” record type names have been added. This added record definition record type is one element of the non-hierarchical field, for example, in the question / utterance record, the non-hierarchical field {utterance, answer} is deleted from the record definition record type of the question record. It is created by adding the record type of the utterance record, that is, "content".
The same applies to questions and answers. In addition, the new route definition part deletes the specified record type name “Question”, creates the “Question / Speak” from the specified record type name and the record type name of the record of the element of the non-hierarchical field, "Question / Answer" has been added.

【0130】実データ部は、図45に示すように、指定
されていないレコードと、指定された各質問レコードか
ら、非階層化フィールドの要素のそれぞれについて作成
された新しいレコードから構成されている。作成された
新しいレコードのレコード本体は、例えば、発言者が
「a山a’蔵」の質問レコードの非階層化フィールドの
要素のうち、最初の発言レコードの場合には、質問レコ
ードから非階層化フィールドを除いた残りのフィールド
「a山a’蔵」と、非階層化フィールドの要素である発
言レコードのレコード本体「この発明は...」から構
成される。
As shown in FIG. 45, the actual data portion is composed of a record which is not designated and a new record which is created for each element of the non-hierarchical field from each designated question record. The record body of the created new record is, for example, in the case of the first comment record among the elements of the non-hierarchical field of the question record in which the speaker is “a mountain a'zo”, it is non-hierarchical from the question record. It is composed of the remaining field "a mountain a'zo" excluding the field and the record body "this invention is ..." Of the utterance record that is an element of the non-hierarchical field.

【0131】上述の非階層化処理では、検索対象データ
の実データ部の要素のうち、指定されなかった種類のレ
コードと、指定された種類のレコードから作成された新
しいレコードにより新しい実データ部を構成したが、指
定された種類のレコードから作成された新しいレコード
のみにより、新しい実データ部を構成することも可能で
ある。すなわち、上述の新しい実データ部を作成する処
理のうち、(2)の処理において、(1)で取り出した
レコードが指定手段から指定されていない種類のレコー
ドならば、(1)に戻るように構成する。これにより、
読み込んだ検索対象データの実データ部の要素のうち、
指定された種類のレコードに上述のイ〜ニの処理を実行
した結果の仮レコード2のみが仮レコード1に連結さ
れ、これにより、新しい実データ部をを構成することが
できる。
In the non-hierarchical processing described above, among the elements of the actual data part of the retrieval target data, a new actual data part is created by a record of a type not specified and a new record created from the record of the specified type. Although configured, it is possible to configure a new actual data part only with a new record created from a specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is of a type not specified by the specifying means, the process returns to (1). Constitute. This allows
Of the elements of the actual data part of the retrieved search target data,
Only the temporary record 2 that is the result of executing the above-mentioned processes a to d on the designated type of record is concatenated to the temporary record 1, whereby a new actual data part can be configured.

【0132】図46は、非階層化処理により生成された
新たな検索対象データにおける実データ部の別の一例の
説明図である。図45の場合と同様に、例えば、図2に
示したデータ定義部と、図3に示した実データ部を持つ
検索対象データが「議事録」という識別子で格納手段1
に格納されているとき、ユーザが、検索対象データの識
別子として「議事録」、非階層化されるレコードの種類
として質問レコード、非階層化フィールドとして{発
言,回答}フィールドを指定して、非階層化処理の指定
を行なう場合を考える。この場合には、作成される検索
対象データの実データ部は、図46に示すようになる。
図46では、図45に示したレコードのうち、質問レコ
ードから非階層化された質問.発言レコード及び質問.
回答レコードにより、新たな実データ部が構成されてい
る。
FIG. 46 is an explanatory diagram of another example of the actual data portion in the new search target data generated by the non-hierarchical processing. As in the case of FIG. 45, for example, the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG.
In the case of the non-hierarchical field, the user specifies "minutes" as the identifier of the search target data, the question record as the type of the non-hierarchical record, and the {sent, answer} field as the non-hierarchical field. Consider a case where the hierarchical processing is designated. In this case, the actual data part of the created search target data is as shown in FIG.
In FIG. 46, among the records shown in FIG. 45, the question. Statement record and question.
The answer record constitutes a new actual data part.

【0133】第13の処理例として、マルチタイプレコ
ード列を対象にした、レコードの拡張処理を行なう例に
ついて説明する。レコードの拡張処理とは、レコードか
ら新たなデータ(以下、拡張データと呼ぶ)を作成し、
作成されたデータを値とするフィールドをレコードに追
加する処理である。拡張データは、アトミックデータ型
のデータ、あるいはマルチタイプレコード列等である。
この第13の処理例では、レコードから拡張データを作
成する操作として、selection処理を指定する
ことができる。もちろん、これ以外の処理を指定するこ
とが可能なように構成しても良い。このselecti
on処理は、レコードの特定の複合フィールドの値の要
素から、条件に適合しないレコードを取り除いた新しい
マルチタイプレコード列を作成する処理である。
As a thirteenth processing example, an example of performing record expansion processing for a multi-type record string will be described. The record expansion process creates new data (hereinafter referred to as expansion data) from the record,
This is a process of adding a field whose value is the created data. The extended data is atomic data type data, a multi-type record string, or the like.
In the thirteenth processing example, the selection processing can be specified as the operation of creating the extension data from the record. Of course, it may be configured so that processing other than this can be designated. This selecti
The on process is a process for creating a new multi-type record string by removing records that do not meet the conditions from the element of the value of the specific composite field of the record.

【0134】第13の処理例において、生成手段3は、
指定手段2から、検索対象データの識別子、拡張される
レコードのレコード種名、レコードが拡張された後のレ
コード種名、拡張されるレコードから拡張データを作成
するための操作の指定を受け取る。これらの情報は、指
定手段2の一部である入力装置を介してユーザが指定す
る。
In the thirteenth processing example, the generation means 3 is
From the designation means 2, the identifier of the search target data, the record type name of the record to be extended, the record type name after the record is extended, and the designation of the operation for creating the extended data from the extended record are received. These pieces of information are designated by the user via the input device which is a part of the designation means 2.

【0135】図47は、拡張処理を行なう際の入力情報
の形式の一例の説明図である。ユーザが指定手段2の入
力装置を介して、検索対象データの識別子、拡張される
レコードのレコード種名、レコードが拡張された後のレ
コード種名、拡張されるレコードから拡張データを作成
するための操作を指定する際の、入力する情報の概要を
示している。図47において、「識別子」は、検索対象
データの識別子を指定する部分である。「レコード種
名」は、拡張されるレコードのレコード種名を指定する
部分である。「拡張後のレコード種名」は、レコードが
拡張された後のレコード種名を指定する部分である。
「操作指定」は、拡張されるレコードから拡張データを
作成するための操作を指定する部分である。
FIG. 47 is an explanatory diagram of an example of the format of input information when performing the extension process. For the user to create extended data from the identifier of the search target data, the record type name of the record to be extended, the record type name after the record is extended, and the extended record via the input device of the specifying means 2. It shows an overview of the information to be entered when specifying the operation. In FIG. 47, the “identifier” is a part that specifies the identifier of the search target data. The “record type name” is a part that specifies the record type name of the expanded record. The “extended record type name” is a part that specifies the record type name after the record is extended.
The "operation designation" is a portion for designating an operation for creating extended data from a record to be extended.

【0136】図48は、「操作指定」の入力情報の形式
の一例の説明図である。図48において、「対象フィー
ルド指定」は、拡張されるレコード中の複合フィールド
を指定する部分である。ここで指定された複合フィール
ドの値がselection処理の対象となる。「レコ
ード種名」は、レコード種名を指定する部分である。
「条件」は、「by」の前に記述された種類のレコード
に対する条件を指定する部分である。「by」と「条
件」の部分が省略された場合には、「レコード種名」の
部分で指定されたレコードをすべて選択する。「条件指
定」の部分でのフィールドの指定方法は、第1の処理例
の条件の指定と同じである。
FIG. 48 is an explanatory diagram showing an example of the format of the input information of "operation designation". In FIG. 48, "target field designation" is a portion for designating a composite field in the expanded record. The value of the composite field specified here is the target of the selection process. The “record type name” is a part for specifying the record type name.
“Condition” is a part for designating a condition for a record of the type described before “by”. If the "by" and "condition" parts are omitted, all the records specified in the "record type name" part are selected. The method of specifying the field in the "condition specification" part is the same as the condition specification of the first processing example.

【0137】図49は、拡張処理を行なう際の入力情報
の一例の説明図である。図49では、検索対象となるの
は「議事録」という識別子を持つ検索対象データである
ことが指定されている。また、拡張の対象となるレコー
ドは、質問レコードであり、質問レコードが拡張された
後のレコード種名が「質問’」であり、拡張データを作
成するための操作が、質問レコードの{発言,回答}フ
ィールドの値を対象にしたselection処理であ
ることが指定されている。また、このselectio
n処理の選択の対象となるレコードは、発言レコードで
あり、「by」と「条件」の部分が省略されているの
で、発言レコードはすべて選択される。
FIG. 49 is an explanatory diagram of an example of input information when the expansion process is performed. In FIG. 49, it is specified that the search target is the search target data having the identifier “minutes”. Further, the record to be expanded is a question record, the record type name after expansion of the question record is "question '", and the operation for creating the expanded data is It is specified that the selection process is for the value of the answer field. Also, this selectio
The record to be selected in the n process is the utterance record, and since the “by” and “condition” portions are omitted, all the utterance records are selected.

【0138】生成手段3は、指定手段2から、検索対象
データの識別子、拡張されるレコードのレコード種名、
レコードが拡張された後のレコード種名、拡張されるレ
コードから拡張データを作成するための操作の指定を受
け取った後、指定手段2から送られてきた識別子を持つ
検索対象データを格納手段1から主記憶装置に読み込
む。読み込んだ検索対象データのデータ定義部から新し
いデータ定義部を作り、それがデータ定義部の規則を満
たしているかを確認する。確認の結果、規則を満たして
いなければ、データ定義不適合のメッセージの表示命令
を表示手段4に送って、処理は終了する。データ定義部
の規則を満たしていることが確認できた後、読み込んだ
検索対象データの実データ部の要素から、新しい実デー
タ部を作成する。作成された新しい実データ部と、新し
いデータ定義部とから、新しい検索対象データが作成さ
れる。新しい検索対象データは、表示手段4によってC
RTディスプレイに表示され、ユーザは検索結果を見る
ことができる。
The generating means 3 receives from the specifying means 2 the identifier of the search target data, the record type name of the record to be expanded,
After receiving the record type name after the record is extended and the designation of the operation for creating the extended data from the extended record, the retrieval target data having the identifier sent from the designation means 2 is stored from the storage means 1. Read to main memory. A new data definition part is created from the data definition part of the read search target data, and it is confirmed whether it satisfies the rules of the data definition part. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. After confirming that the rules of the data definition section are satisfied, a new actual data section is created from the elements of the actual data section of the read target data. New search target data is created from the created new actual data part and the new data definition part. The new search target data is displayed on the display unit 4 as C.
Displayed on the RT display, the user can see the search results.

【0139】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義部に、
「拡張後のレコード種名」で指定されたレコード種名を
持ち、「レコード種名^」で指定されたレコード種名を
持つレコード定義のレコード型の最後尾に、「対象フィ
ールド指定」で指定されたフィールドのフィールド名を
追加したレコード型を持つ新しいレコード定義を追加し
たものである。ルート定義部は、読み込んだ検索対象デ
ータのルート定義部から、「レコード種名」で指定され
たものを取り除き、「拡張後のレコード種名」で指定さ
れたものを加えたものである。
How to create a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the record definition part of the retrieved search target data.
It has the record type name specified in "Expanded record type name" and has the record type name specified in "Record type name ^", and is specified in "Target field specification" at the end of the record type of the record definition. It adds a new record definition with a record type that adds the field name of the specified field. The route definition part is a route definition part of the read search target data, in which the one designated by the "record type name" is removed and the one designated by the "extended record type name" is added.

【0140】新しい実データ部の作り方について説明す
る。まず、要素のないマルチタイプレコード列である仮
レコード列1を準備する。読み込んだ検索対象データの
実データ部に対して、要素がなくなるまで、以下の
(1)、(2)の処理を実行する。 (1)検索対象データの実データ部から先頭のレコード
を取り出す。 (2)取り出したレコードが、指定手段2から指定され
ていない種類のレコードならば、取り出したレコードを
仮レコード列1の最後尾に連結し、(1)に戻る。そう
でない場合は、指定手段2から指定されたレコードの複
合フィールドの値にselection処理を施して作
ったマルチタイプレコード列を値とする新しいフィール
ドを作成し、この新しいフィールドをレコード本体の最
後尾に追加する。さらに、レコード種名を「拡張後のレ
コード種名」で指定されたものに変える。この処理によ
り作成されたレコードを、仮レコード列1の最後尾に連
結し、(1)へ戻る。実データ部の要素がなくなったと
き、仮レコード列1が新しい実データ部を構成してい
る。
A method of creating a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following processes (1) and (2) are executed until there are no elements in the actual data part of the read search target data. (1) The first record is extracted from the actual data part of the search target data. (2) If the fetched record is of a type that is not designated by the designation means 2, the fetched record is linked to the end of the temporary record string 1 and the process returns to (1). If this is not the case, a new field whose value is a multi-type record string created by subjecting the value of the composite field of the record specified by the specifying means 2 to the selection process is created, and this new field is added to the end of the record body. to add. Furthermore, the record type name is changed to the one specified in the "extended record type name". The record created by this processing is linked to the end of the temporary record string 1, and the process returns to (1). When there are no more elements in the actual data part, the temporary record string 1 constitutes a new actual data part.

【0141】図50,図51は、拡張処理により生成さ
れた新たな検索対象データの一例の説明図である。上述
の拡張処理において、例えば、図2に示したデータ定義
部と、図3に示した実データ部を持つ検索対象データが
「議事録」という識別子で格納手段1に格納されている
場合を考える。このとき、ユーザが、図49に示した拡
張の指示を入力すると、作成される検索対象データは、
図50に示すデータ定義部と、図51に示す実データ部
から構成される新たな検索対象データが生成される。
50 and 51 are explanatory views of an example of new search target data generated by the expansion processing. In the above-described expansion processing, for example, consider a case where search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. . At this time, when the user inputs the extension instruction shown in FIG. 49, the search target data created is
New search target data composed of the data definition part shown in FIG. 50 and the actual data part shown in FIG. 51 is generated.

【0142】図50に示すように、新しいデータ定義部
には、質問’レコードが追加されている。この質問’レ
コードのレコード型は、質問レコードのレコード型に、
「対象フィールド指定」で指定された{発言,回答}と
いうフィールドが追加されている。また、ルート定義部
は、「質問」が「質問’」に変更されている。実データ
部は、図51に示すように、指定されていない意見レコ
ードと、拡張された新しい質問’レコードから構成され
ている。作成された新しい質問’レコードのレコード本
体は、例えば、質問レコードの{発言,回答}フィール
ドの要素のレコードのうち、発言レコードすべてのマル
チタイプレコード列を作り、これを質問レコードのフィ
ールドの最後に追加して作成されている。
As shown in FIG. 50, a question 'record is added to the new data definition section. The record type of this question 'record is the same as the record type of the question record,
A field called {speech, answer} specified in "Target field specification" is added. Further, in the route definition part, "question" is changed to "question '". As shown in FIG. 51, the actual data section is composed of an unspecified opinion record and an expanded new question 'record. The record body of the created new question 'record is, for example, a multi-type record string of all of the statement records among the records of the elements of the statement field {statement, answer} of the question record, and this is added to the end of the field of the question record. It is created by adding.

【0143】上述の拡張処理では、検索対象データの実
データ部の要素のうち、指定されなかった種類のレコー
ドと、指定された種類のレコードから作成された新しい
レコードにより新しい実データ部を構成したが、指定さ
れた種類のレコードから作成された新しいレコードのみ
により、新しい実データ部を構成することも可能であ
る。すなわち、上述の新しい実データ部を作成する処理
のうち、(2)の処理において、(1)で取り出したレ
コードが指定手段から指定されていない種類のレコード
ならば、(1)に戻るように構成する。これにより、指
定手段から指定されていない種類のレコードは仮レコー
ド1に連結されず、これらのレコードを取り除いた新し
い実データ部を構成することができる。
In the above-mentioned extension processing, a new actual data part is constructed by the record of the unspecified type among the elements of the actual data part of the retrieval target data and the new record created from the specified type of record. However, it is also possible to configure a new actual data part only by a new record created from the specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is of a type not specified by the specifying means, the process returns to (1). Constitute. As a result, a record of a type that is not designated by the designation means is not linked to the temporary record 1, and a new actual data part can be constructed by removing these records.

【0144】図52は、拡張処理により生成された新た
な検索対象データにおける実データ部の別の一例の説明
図である。図51の場合と同様に、例えば、図2に示し
たデータ定義部と、図3に示した実データ部を持つ検索
対象データが「議事録」という識別子で格納手段1に格
納されているとき、ユーザが、図49に示した拡張処理
の指定を行なう場合を考える。この場合には、作成され
る検索対象データの実データ部は、図52に示すように
なる。図52では、図51に示したレコードのうち、質
問’レコードにより、新たな実データ部が構成されてい
る。
FIG. 52 is an explanatory diagram of another example of the actual data part in the new search target data generated by the expansion processing. Similar to the case of FIG. 51, for example, when the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user specifies the extension processing shown in FIG. In this case, the actual data portion of the created search target data is as shown in FIG. In FIG. 52, of the records shown in FIG. 51, the question 'record constitutes a new actual data part.

【0145】第14の処理例として、マルチタイプレコ
ード列を対象にした、レコードの置換処理を行なう例に
ついて説明する。レコードの置換処理とは、レコードか
ら新たなデータ(以下、置換データと呼ぶ)を作成し、
作成されたデータを値とするフィールドを、レコードの
特定のフィールドと置き換える処理である。置換データ
は、アトミックデータ型のデータ、あるいは、マルチタ
イプレコード列等である。この第14の処理例では、第
13の処理例と同様に、レコードから置換データを作成
する操作として、selection処理を指定するこ
とができる。もちろん、これ以外の処理を指定すること
が可能なように構成しても良い。このselectio
n処理は、第13の処理例と同様である。
As a fourteenth processing example, an example of performing record replacement processing for a multi-type record string will be described. With record replacement processing, new data (hereinafter referred to as replacement data) is created from the record,
This is a process of replacing a field whose value is the created data with a specific field of the record. The replacement data is atomic data type data, a multi-type record string, or the like. In the fourteenth processing example, similarly to the thirteenth processing example, the selection processing can be designated as the operation for creating the replacement data from the record. Of course, it may be configured so that processing other than this can be designated. This selectio
The n process is the same as the 13th process example.

【0146】第14の処理例において、生成手段3は、
指定手段2から、検索対象データの識別子、置換処理さ
れるレコードのレコード種名、置換されるフィールド、
レコードが置換された後のレコード種名、置換されるレ
コードから置換データを作成するための操作の指定を受
け取る。これらの情報は、指定手段2の一部である入力
装置を介してユーザが指定する。
In the fourteenth processing example, the generation means 3
From the designating means 2, the identifier of the search target data, the record type name of the record to be replaced, the field to be replaced,
Receives the record type name after the record is replaced and the specification of the operation to create replacement data from the replaced record. These pieces of information are designated by the user via the input device which is a part of the designation means 2.

【0147】図53は、置換処理を行なう際の入力情報
の形式の一例の説明図である。ユーザが指定手段2の入
力装置を介して、検索対象データの識別子、置換処理さ
れるレコードのレコード種名、置換されるフィールド、
レコードが置換された後のレコード種名、置換されるレ
コードから置換データを作成するための操作を指定する
際の、入力する情報の概要を示している。図53におい
て、「識別子」は、検索対象データの識別子を指定する
部分である。「レコード種名」は、置換処理されるレコ
ードのレコード種名を指定する部分である。「置換フィ
ールド指定」は、置換処理されるフィールドを指定する
部分である。「置換後のレコード種名」は、レコードが
置換された後のレコード種名を指定する部分である。
「操作指定」は、置換処理されるレコードから置換デー
タを作成するための操作を指定する部分である。ここに
記述される内容は、第13の処理例とほぼ同じであり、
例えば、図54に示したような形式で指定することがで
きる。
FIG. 53 is an explanatory diagram showing an example of the format of input information when performing the replacement process. The user inputs the identifier of the search target data, the record type name of the record to be replaced, the field to be replaced, through the input device of the specifying unit 2.
It shows an outline of the information to be input when specifying the record type name after the record is replaced and the operation for creating replacement data from the replaced record. In FIG. 53, the “identifier” is a part that specifies the identifier of the search target data. The “record type name” is a part that specifies the record type name of the record to be replaced. The "replacement field designation" is a portion that designates a field to be replaced. The “record type name after replacement” is a part that specifies the record type name after the record is replaced.
The "operation designation" is a portion for designating an operation for creating replacement data from a record to be replaced. The contents described here are almost the same as those in the 13th processing example.
For example, it can be specified in the format as shown in FIG.

【0148】図54は、置換処理を行なう際の入力情報
の一例の説明図である。図54では、検索対象となるの
は「議事録」という識別子を持つ検索対象データである
ことが指定されている。また、置換の対象となるレコー
ドは、質問レコードであり、置換されるフィールドが
{発言,回答}フィールドであることが指定されてい
る。さらに、質問レコードが置換された後のレコード種
名が「質問’」であり、置換データを作成するための操
作が、質問レコードの{発言,回答}フィールドの値を
対象にしたselection処理であることが指定さ
れている。また、このselection処理の選択の
対象となるレコードは、発言レコードであり、「by」
と「条件」が省略されているので、発言レコードはすべ
て選択される。
FIG. 54 is an explanatory diagram of an example of input information when performing the replacement process. In FIG. 54, it is specified that the search target is the search target data having the identifier “minutes”. Also, the record to be replaced is a question record, and it is specified that the field to be replaced is the {speech, answer} field. Further, the record type name after the question record is replaced is "question '", and the operation for creating the replacement data is the selection process for the value of the {speak, answer} field of the question record. Is specified. In addition, the record to be selected in this selection process is the utterance record, and “by”
And the "condition" are omitted, all speech records are selected.

【0149】生成手段3は、指定手段2から、検索対象
データの識別子、置換処理されるレコードのレコード種
名、置換されるフィールド、レコードが置換された後の
レコード種名、置換されるレコードから置換データを作
成するための操作の指定を受け取った後、指定手段2か
ら送られてきた識別子を持つ検索対象データを格納手段
1から主記憶装置に読み込む。読み込んだ検索対象デー
タのデータ定義部から新しいデータ定義部を作り、それ
がデータ定義部の規則を満たしているかを確認する。確
認の結果、規則を満たしていなければ、データ定義不適
合のメッセージの表示命令を表示手段4に送って、処理
は終了する。データ定義部の規則を満たしていることが
確認できた後、読み込んだ検索対象データの実データ部
の要素から、新しい実データ部を作成する。作成された
新しい実データ部と、新しいデータ定義部とから、新し
い検索対象データが作成される。新しい検索対象データ
は、表示手段4によってCRTディスプレイに表示さ
れ、ユーザは検索結果を見ることができる。
From the designating means 2, the generating means 3 uses the identifier of the data to be searched, the record type name of the record to be replaced, the field to be replaced, the record type name after the record is replaced, and the record to be replaced. After receiving the designation of the operation for creating the replacement data, the retrieval target data having the identifier sent from the designation unit 2 is read from the storage unit 1 into the main storage device. A new data definition part is created from the data definition part of the read search target data, and it is confirmed whether it satisfies the rules of the data definition part. If the result of the confirmation is that the rule is not satisfied, a display command of a message of data definition incompatibility is sent to the display means 4, and the process ends. After confirming that the rules of the data definition section are satisfied, a new actual data section is created from the elements of the actual data section of the read target data. New search target data is created from the created new actual data part and the new data definition part. The new search target data is displayed on the CRT display by the display unit 4, and the user can see the search result.

【0150】新しいデータ定義部の作り方を説明する。
アトミックデータ定義部は、読み込んだ検索対象データ
のアトミックデータ定義部と同じである。レコード定義
部は、読み込んだ検索対象データのレコード定義部に、
「置換後のレコード種名」で指定されたレコード種名を
持ち、「レコード種名」で指定されたレコード種名を持
つレコード定義のレコード型のフィールドのうち、「操
作指定」内の「対象フィールド指定」で指定されたフィ
ールドのフィールド名を、「置換フィールド指定」で指
定されたフィールドのフィールド名に置き換えたレコー
ド型を持つ新しいレコード定義を追加したものである。
ルート定義部は、読み込んだ検索対象データのルート定
義部から、「レコード種名」で指定されたものを取り除
き、「置換後のレコード種名」で指定されたものを加え
たものである。
How to create a new data definition part will be described.
The atomic data definition part is the same as the atomic data definition part of the read search target data. The record definition part is the record definition part of the retrieved search target data.
Of the record type fields of the record definition that have the record type name specified in "Record type name after replacement" and the record type name specified in "Record type name", select "Target" in "Operation specification". A new record definition having a record type in which the field name of the field specified in "field specification" is replaced with the field name of the field specified in "replacement field specification" is added.
The route definition part is the route definition part of the read search target data, which has the one specified by "record type name" removed and the one specified by "record type name after replacement" added.

【0151】新しい実データ部の作り方について説明す
る。まず、要素のないマルチタイプレコード列である仮
レコード列1を準備する。読み込んだ検索対象データの
実データ部に対して、要素がなくなるまで、以下の
(1)、(2)の処理を実行する。 (1)検索対象データの実データ部から先頭のレコード
を取り出す。 (2)取り出したレコードが、指定手段2から指定され
ていない種類のレコードならば、取り出したレコードを
仮レコード列1の最後尾に連結し、(1)に戻る。そう
でない場合は、指定手段2から指定されたレコードのう
ち、「置換フィールド指定」で指定されたフィールド
を、取り出したレコードのフィールドのうち「対象フィ
ールド指定」で指定された複合フィールドの値にsel
ection処理を施して作ったマルチタイプレコード
列を値とする新しいフィールドで置き換える。さらに、
レコード種名を「置換後のレコード種名」で指定された
ものに変える。この処理により作成されたレコードを、
仮レコード列1の最後尾に連結し、(1)へ戻る。実デ
ータ部の要素がなくなったとき、仮レコード列1が新し
い実データ部を構成している。
A method of creating a new actual data part will be described. First, a temporary record string 1 which is a multi-type record string having no element is prepared. The following processes (1) and (2) are executed until there are no elements in the actual data part of the read search target data. (1) The first record is extracted from the actual data part of the search target data. (2) If the fetched record is of a type that is not designated by the designation means 2, the fetched record is linked to the end of the temporary record string 1 and the process returns to (1). Otherwise, in the record designated by the designating means 2, the field designated by the "replacement field designation" is set to the value of the composite field designated by the "target field designation" among the fields of the retrieved record.
Replace the multi-type record string created by performing the section process with a new field whose value is. further,
Change the record type name to the one specified in "Record type name after replacement". The record created by this process is
The temporary record string 1 is linked to the end and the process returns to (1). When there are no more elements in the actual data part, the temporary record string 1 constitutes a new actual data part.

【0152】図55,図56は、置換処理により生成さ
れた新たな検索対象データの一例の説明図である。上述
の置換処理において、例えば、図2に示したデータ定義
部と、図3に示した実データ部を持つ検索対象データが
「議事録」という識別子で格納手段1に格納されている
場合を考える。このとき、ユーザが、図54に示した置
換の指示を入力すると、図55に示すデータ定義部と、
図56に示す実データ部から構成される新たな検索対象
データが生成される。
55 and 56 are explanatory views of an example of new search target data generated by the replacement process. In the above-mentioned replacement process, for example, consider a case where search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. . At this time, when the user inputs the replacement instruction shown in FIG. 54, the data definition section shown in FIG.
New search target data composed of the actual data part shown in FIG. 56 is generated.

【0153】図55に示すように、新しいデータ定義部
には、質問’レコードが追加されている。この質問’レ
コードのレコード型は、質問レコードのレコード型に、
「対象フィールド指定」である{発言,回答}というフ
ィールドを「置換フィールド名」である{発言,回答}
というフィールドに置き換えているが、結局質問レコー
ドと同じレコード型となっている。また、ルート定義部
は、「質問」が「質問’」に変更されている。実データ
部は、図56に示すように、指定されていない意見レコ
ードと、置換された新しい質問’レコードから構成され
ている。作成された新しい質問’レコードのレコード本
体は、例えば、質問レコードの{発言,回答}フィール
ドの要素のレコードのうち、発言レコードすべてのレコ
ードの集合を作り、この集合を質問レコードの{発言,
回答}フィールドと置換して作成されている。そのた
め、回答レコードが取り除かれている。
As shown in FIG. 55, a question 'record is added to the new data definition section. The record type of this question 'record is the same as the record type of the question record,
The field of {sentence, reply} which is "target field designation" is {sentence, reply} which is "replacement field name"
It has been replaced with a field called, but in the end it has the same record type as the question record. Further, in the route definition part, "question" is changed to "question '". As shown in FIG. 56, the actual data portion is composed of an unspecified opinion record and a replaced new question 'record. The record body of the created new question 'record is, for example, a set of all the record of the statement record among the records of the elements of the field {statement, answer} of the question record, and this set is set to {statement of {statement,
It is created by replacing the answer field. Therefore, the answer record has been removed.

【0154】上述の置換処理では、検索対象データの実
データ部の要素のうち、指定されなかった種類のレコー
ドと、指定された種類のレコードから作成された新しい
レコードにより新しい実データ部を構成したが、指定さ
れた種類のレコードから作成された新しいレコードのみ
により、新しい実データ部を構成することも可能であ
る。すなわち、上述の新しい実データ部を作成する処理
のうち、(2)の処理において、(1)で取り出したレ
コードが指定手段から指定されていない種類のレコード
ならば、(1)に戻るように構成する。これにより、指
定手段から指定されていない種類のレコードは仮レコー
ド1に連結されず、これらのレコードを取り除いた新し
い実データ部を構成することができる。
In the above-described replacement processing, a new actual data part is constructed by the record of the unspecified type and the new record created from the record of the specified type among the elements of the actual data part of the retrieval target data. However, it is also possible to configure a new actual data part only by a new record created from the specified type of record. That is, in the process of (2) in the process of creating the new actual data part described above, if the record extracted in (1) is of a type not specified by the specifying means, the process returns to (1). Constitute. As a result, a record of a type that is not designated by the designation means is not linked to the temporary record 1, and a new actual data part can be constructed by removing these records.

【0155】図57は、置換処理により生成された新た
な検索対象データにおける実データ部の別の一例の説明
図である。図56の場合と同様に、例えば、図2に示し
たデータ定義部と、図3に示した実データ部を持つ検索
対象データが「議事録」という識別子で格納手段1に格
納されているとき、ユーザが、図54に示した置換処理
の指定を行なう場合を考える。この場合には、作成され
る検索対象データの実データ部は、図57に示すように
なる。図57では、図56に示したレコードのうち、質
問’レコードにより、新たな実データ部が構成されてい
る。
FIG. 57 is an explanatory diagram of another example of the actual data part in the new search target data generated by the replacement process. Similar to the case of FIG. 56, for example, when the search target data having the data definition part shown in FIG. 2 and the actual data part shown in FIG. 3 is stored in the storage means 1 with the identifier “minutes”. , Consider the case where the user specifies the replacement process shown in FIG. 54. In this case, the actual data part of the created search target data is as shown in FIG. In FIG. 57, of the records shown in FIG. 56, the question 'record constitutes a new actual data part.

【0156】上述の第13,第14の処理例として説明
したレコードの拡張処理や置換処理は、複合フィールド
中のマルチタイプレコード列に対して、第1乃至第14
の処理例が行なう処理を可能にするための処理である。
したがって、第13,14の処理例において、拡張デー
タや置換データを作る操作に、selection処理
以外に、第2乃至第14の処理例で述べたような、各種
の処理を指定することが可能なように構成してもよい。
The record extension processing and replacement processing described as the above-mentioned thirteenth and fourteenth processing examples apply to the first to fourteenth processing for the multi-type record string in the composite field.
This is processing for enabling the processing performed by the processing example.
Therefore, in the thirteenth and fourteenth processing examples, various operations such as those described in the second to fourteenth processing examples can be specified in addition to the selection processing for the operation of creating the extended data and the replacement data. It may be configured as follows.

【0157】上述の各処理例の説明では、個々の処理に
ついて説明したが、これらの処理は、それぞれ単独で実
行可能に構成することもできるし、また、いくつかの処
理を行なえるように構成することもできる。さらに、第
1乃至第14の処理例の全てを行なうことができるデー
タ検索装置を構成してもよい。複数の処理を行なえるよ
うに構成した場合、処理の結果は検索対象データである
ので、別の操作の対象となることが可能なように構成す
ることができ、いくつかの処理を連続して行なわせるこ
とも可能である。このときの指定手段2からの入力は、
逐次指定して行くこともできるし、また、連続して行な
う処理の指定をファイル化しておき、ファイルを読み込
むことにより、一括して処理を行なうように構成するこ
とも可能である。さらに、別のプログラム等から上述の
処理の実行を指定できるように構成することもできる。
In the above description of each processing example, individual processing has been described. However, each of these processings can be configured to be able to be executed independently, or configured to perform some processing. You can also do it. Furthermore, a data search device capable of performing all of the first to fourteenth processing examples may be configured. When configured so that multiple processes can be performed, the result of the process is the search target data, so it can be configured so that it can be the target of another operation. It can also be done. At this time, the input from the designating means 2 is
It is possible to sequentially specify, or it is possible to make a specification of processing to be continuously performed in a file and read the file to perform processing collectively. Furthermore, the execution of the above-described processing can be designated from another program or the like.

【0158】上述の処理例で用いた検索対象データは、
すべて単一の文書の論理構造を表わしたものであった。
しかし、複数の文書の列に対応する検索対象データを作
ることは容易である。図58,図59は、検索対象デー
タの第6の例の説明図である。例えば、図58,図59
に示した検索対象データは、複数の議事録の列を表現し
ている。このように、各文書の列を連結してマルチタイ
プレコード列とすることにより、複数の文書の列に対応
する検索対象データを作ることができる。
The search target data used in the above processing example is
They all represented the logical structure of a single document.
However, it is easy to create search target data corresponding to a sequence of a plurality of documents. 58 and 59 are explanatory diagrams of a sixth example of search target data. For example, FIGS.
The search target data shown in (1) represents a series of minutes. In this way, by connecting the columns of each document into a multi-type record string, it is possible to create search target data corresponding to the columns of a plurality of documents.

【0159】[0159]

【発明の効果】以上の説明から明らかなように、本発明
によれば、従来の1種類のレコードからなるレコード集
合のみならず、複数の種類のレコードからなる順次関係
を有するマルチタイプレコード列に対して、種々の処理
を行なうことが可能なデータ検索装置を得ることができ
る。また、これらの処理のうちのいくつかの機能を備え
ることにより、ユーザは理解しやすいプリミティブな操
作の組み合わせを指定することによって、例えば、文書
の論理情報を表現したマルチタイプレコード列を操作で
きるように構成可能となるとともに、マルチタイプレコ
ード列に対する処理であっても、指定された操作がどの
ような処理であるのかを理解することが容易になるとい
う効果がある。
As is clear from the above description, according to the present invention, not only the conventional record set consisting of one type of record but also the multi-type record sequence having a sequential relationship consisting of a plurality of types of records. On the other hand, it is possible to obtain a data search device capable of performing various processes. In addition, by providing some functions of these processes, the user can operate a multi-type record string expressing logical information of a document by designating a combination of primitive operations that are easy to understand. In addition to the above, there is an effect that it becomes easy to understand what kind of processing the designated operation is, even in the processing for the multi-type record string.

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

【図1】 本発明のデータ検索装置の一実施例を示す構
成図である。
FIG. 1 is a configuration diagram showing an embodiment of a data search device of the present invention.

【図2】 検索対象データの第1の例におけるデータ定
義部の説明図である。
FIG. 2 is an explanatory diagram of a data definition unit in a first example of search target data.

【図3】 検索対象データの第1の例における実データ
部の説明図である。
FIG. 3 is an explanatory diagram of an actual data part in a first example of search target data.

【図4】 selection処理を行なう際の入力情
報の形式の一例の説明図である。
FIG. 4 is an explanatory diagram of an example of a format of input information when performing a selection process.

【図5】 selection処理を行なう際の入力情
報の一例の説明図である。
FIG. 5 is an explanatory diagram of an example of input information when performing a selection process.

【図6】 selection処理により生成された新
たな検索対象データにおける実データ部の一例の説明図
である。
FIG. 6 is an explanatory diagram of an example of an actual data part in new search target data generated by the selection process.

【図7】 selection処理により生成された新
たな検索対象データにおける実データ部の別の一例の説
明図である。
FIG. 7 is an explanatory diagram of another example of the actual data part in the new search target data generated by the selection process.

【図8】 検索対象データの第2の例におけるデータ定
義部の説明図である。
FIG. 8 is an explanatory diagram of a data definition unit in a second example of search target data.

【図9】 検索対象データの第2の例における実データ
部の説明図である。
FIG. 9 is an explanatory diagram of an actual data part in a second example of search target data.

【図10】 union処理により生成された新たな検
索対象データにおけるデータ定義部の一例の説明図であ
る。
FIG. 10 is an explanatory diagram of an example of a data definition unit in new search target data generated by the union process.

【図11】 union処理により生成された新たな検
索対象データにおける実データ部の一例の説明図であ
る。
FIG. 11 is an explanatory diagram of an example of an actual data part in new search target data generated by the union process.

【図12】 検索対象データの実データ部の第3の例の
説明図である。
FIG. 12 is an explanatory diagram of a third example of the actual data part of the search target data.

【図13】 intersection処理により生成
された新たな検索対象データにおけるデータ定義部の一
例の説明図である。
FIG. 13 is an explanatory diagram of an example of a data definition unit in new search target data generated by the intersection process.

【図14】 intersection処理により生成
された新たな検索対象データにおける実データ部の一例
の説明図である。
FIG. 14 is an explanatory diagram of an example of an actual data part in new search target data generated by the intersection process.

【図15】 difference処理により生成され
た新たな検索対象データの実データ部の一例の説明図で
ある。
FIG. 15 is an explanatory diagram of an example of an actual data part of new search target data generated by the difference process.

【図16】 検索対象データの第4の例におけるデータ
定義部の説明図である。
FIG. 16 is an explanatory diagram of a data definition unit in a fourth example of search target data.

【図17】 検索対象データの第4の例における実デー
タ部の説明図である。
FIG. 17 is an explanatory diagram of an actual data part in a fourth example of search target data.

【図18】 cartesian product処理
により生成された新たな検索対象データにおけるデータ
定義部の一例の説明図である。
FIG. 18 is an explanatory diagram of an example of a data definition unit in new search target data generated by the cartesian product process.

【図19】 cartesian product処理
により生成された新たな検索対象データにおける実デー
タ部の一例の説明図である。
FIG. 19 is an explanatory diagram of an example of an actual data part in new search target data generated by the cartesian product process.

【図20】 並べ換え処理を行なう際の入力情報の形式
の一例の説明図である。
FIG. 20 is an explanatory diagram of an example of a format of input information when performing a rearrangement process.

【図21】 並べ換え処理を行なう際の入力情報の一例
の説明図である。
FIG. 21 is an explanatory diagram of an example of input information when performing a rearrangement process.

【図22】 並べ換え処理により生成された新たな検索
対象データにおけるデータ定義部の一例の説明図であ
る。
FIG. 22 is an explanatory diagram of an example of a data definition unit in new search target data generated by the rearrangement process.

【図23】 並べ換え処理により生成された新たな検索
対象データにおける実データ部の一例の説明図である。
FIG. 23 is an explanatory diagram of an example of an actual data part in new search target data generated by the rearrangement process.

【図24】 並べ換え処理により生成された新たな検索
対象データにおける実データ部の別の一例の説明図であ
る。
FIG. 24 is an explanatory diagram of another example of the actual data part in the new search target data generated by the rearrangement processing.

【図25】 抽出処理を行なう際の入力情報の形式の一
例の説明図である。
FIG. 25 is an explanatory diagram of an example of a format of input information when performing extraction processing.

【図26】 抽出処理を行なう際の入力情報の一例の説
明図である。
FIG. 26 is an explanatory diagram of an example of input information when performing extraction processing.

【図27】 抽出処理により生成された新たな検索対象
データにおけるデータ定義部の一例の説明図である。
FIG. 27 is an explanatory diagram of an example of a data definition unit in new search target data generated by extraction processing.

【図28】 抽出処理により生成された新たな検索対象
データにおける実データ部の一例の説明図である。
FIG. 28 is an explanatory diagram of an example of an actual data portion in new search target data generated by the extraction processing.

【図29】 抽出処理により生成された新たな検索対象
データにおける実データ部の別の一例の説明図である。
FIG. 29 is an explanatory diagram of another example of the actual data part in the new search target data generated by the extraction processing.

【図30】 階層化処理を行なう際の入力情報の形式の
一例の説明図である。
FIG. 30 is an explanatory diagram of an example of a format of input information when performing a layering process.

【図31】 階層化処理を行なう際の入力情報の一例の
説明図である。
FIG. 31 is an explanatory diagram of an example of input information when performing a hierarchical process.

【図32】 検索対象データの第5の例におけるデータ
定義部の説明図である。
FIG. 32 is an explanatory diagram of a data definition unit in a fifth example of search target data.

【図33】 検索対象データの第5の例における実デー
タ部の説明図である。
FIG. 33 is an explanatory diagram of an actual data part in a fifth example of search target data.

【図34】 第1の階層化処理により生成された新たな
検索対象データにおけるデータ定義部の一例の説明図で
ある。
FIG. 34 is an explanatory diagram of an example of a data definition unit in new search target data generated by the first hierarchical processing.

【図35】 第1の階層化処理により生成された新たな
検索対象データにおける実データ部の一例の説明図であ
る。
FIG. 35 is an explanatory diagram of an example of an actual data part in new search target data generated by the first hierarchical processing.

【図36】 第1の階層化処理により生成された新たな
検索対象データにおける実データ部の別の一例の説明図
である。
FIG. 36 is an explanatory diagram of another example of the actual data part in the new search target data generated by the first hierarchical processing.

【図37】 第2の階層化処理により生成された新たな
検索対象データにおけるデータ定義部の一例の説明図で
ある。
[Fig. 37] Fig. 37 is an explanatory diagram of an example of a data definition unit in new search target data generated by the second hierarchical processing.

【図38】 第2の階層化処理により生成された新たな
検索対象データにおける実データ部の一例の説明図であ
る。
FIG. 38 is an explanatory diagram of an example of an actual data part in new search target data generated by the second hierarchical processing.

【図39】 第2の階層化処理により生成された新たな
検索対象データにおける実データ部の別の一例の説明図
である。
FIG. 39 is an explanatory diagram of another example of the actual data part in the new search target data generated by the second hierarchical processing.

【図40】 第3の階層化処理により生成された新たな
検索対象データにおける実データ部の一例の説明図であ
る。
FIG. 40 is an explanatory diagram of an example of an actual data portion in new search target data generated by the third hierarchical processing.

【図41】 第3の階層化処理により生成された新たな
検索対象データにおける実データ部の別の一例の説明図
である。
FIG. 41 is an explanatory diagram of another example of the actual data part in the new search target data generated by the third hierarchical processing.

【図42】 第4の階層化処理により生成された新たな
検索対象データにおける実データ部の一例の説明図であ
る。
FIG. 42 is an explanatory diagram of an example of an actual data part in new search target data generated by the fourth hierarchical processing.

【図43】 第4の階層化処理により生成された新たな
検索対象データにおける実データ部の別の一例の説明図
である。
FIG. 43 is an explanatory diagram of another example of the actual data part in the new search target data generated by the fourth hierarchical processing.

【図44】 非階層化処理により生成された新たな検索
対象データにおけるデータ定義部の一例の説明図であ
る。
[Fig. 44] Fig. 44 is an explanatory diagram of an example of a data definition unit in new search target data generated by non-hierarchical processing.

【図45】 非階層化処理により生成された新たな検索
対象データにおける実データ部の一例の説明図である。
FIG. 45 is an explanatory diagram showing an example of an actual data part in new search target data generated by the non-hierarchical processing.

【図46】 非階層化処理により生成された新たな検索
対象データにおける実データ部の別の一例の説明図であ
る。
FIG. 46 is an explanatory diagram of another example of the actual data part in the new search target data generated by the non-hierarchical processing.

【図47】 拡張処理を行なう際の入力情報の形式の一
例の説明図である。
[Fig. 47] Fig. 47 is an explanatory diagram of an example of a format of input information when performing expansion processing.

【図48】 「操作指定」の入力情報の形式の一例の説
明図である。
FIG. 48 is an explanatory diagram of an example of a format of input information of “operation designation”.

【図49】 拡張処理を行なう際の入力情報の一例の説
明図である。
[Fig. 49] Fig. 49 is an explanatory diagram of an example of input information when performing expansion processing.

【図50】 拡張処理により生成された新たな検索対象
データにおけるデータ定義部の一例の説明図である。
FIG. 50 is an explanatory diagram of an example of a data definition unit in new search target data generated by the extension process.

【図51】 拡張処理により生成された新たな検索対象
データにおける実データ部の一例の説明図である。
[Fig. 51] Fig. 51 is an explanatory diagram of an example of an actual data portion in new search target data generated by expansion processing.

【図52】 拡張処理により生成された新たな検索対象
データにおける実データ部の別の一例の説明図である。
FIG. 52 is an explanatory diagram of another example of the actual data part in the new search target data generated by the extension processing.

【図53】 置換処理を行なう際の入力情報の形式の一
例の説明図である。
FIG. 53 is an explanatory diagram showing an example of a format of input information when performing a replacement process.

【図54】 置換処理を行なう際の入力情報の一例の説
明図である。
FIG. 54 is an explanatory diagram of an example of input information when performing a replacement process.

【図55】 置換処理により生成された新たな検索対象
データにおけるデータ定義部の一例の説明図である。
FIG. 55 is an explanatory diagram of an example of a data definition unit in new search target data generated by the replacement process.

【図56】 置換処理により生成された新たな検索対象
データにおける実データ部の一例の説明図である。
FIG. 56 is an explanatory diagram of an example of an actual data part in new search target data generated by the replacement process.

【図57】 置換処理により生成された新たな検索対象
データにおける実データ部の別の一例の説明図である。
FIG. 57 is an explanatory diagram of another example of the actual data part in the new search target data generated by the replacement process.

【図58】 検索対象データの第6の例におけるデータ
定義部の説明図である。
FIG. 58 is an explanatory diagram of a data definition unit in a sixth example of search target data.

【図59】 検索対象データの第6の例における実デー
タ部の説明図である。
FIG. 59 is an explanatory diagram of an actual data part in a sixth example of search target data.

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

1 格納手段、2 指定手段、3 生成手段、4 表示
手段。
1 storage means, 2 designation means, 3 generation means, 4 display means.

Claims (25)

【特許請求の範囲】[Claims] 【請求項1】 順序関係を有するレコード列から所望の
情報を取り出すデータ検索装置において、複数の種類の
レコードにより構成可能なレコード列を格納する格納手
段と、該格納手段に格納されているレコード列に対する
処理要求が入力可能な指定手段と、該指定手段から入力
された処理要求に基づき前記格納手段に格納されている
レコード列に対して処理を行ない新たなレコード列を生
成する生成手段を有することを特徴とするデータ検索装
置。
1. A data search apparatus for extracting desired information from a record string having an order relation, a storage unit for storing a record string configurable by a plurality of types of records, and a record string stored in the storage unit. And a generation means for generating a new record string by processing the record string stored in the storage means on the basis of the processing request inputted from the specifying means. Data retrieval device characterized by.
【請求項2】 前記指定手段から、レコードの種類と、
該種類のレコードに対する条件が指定され、前記生成手
段は、前記格納手段に格納されている第1のレコード列
から、前記指定手段で指定されたレコードの種類であ
り、かつ、条件を満たさないレコードを取り除いた、新
しい第2のレコード列を生成することを特徴とする請求
項1に記載のデータ検索装置。
2. The type of record from the designation means,
A condition for a record of the type is designated, and the generation unit is a record that is the type of the record designated by the designation unit from the first record string stored in the storage unit and does not satisfy the condition. The data search device according to claim 1, wherein a new second record string from which is deleted is generated.
【請求項3】 前記指定手段から、レコードの種類と、
該種類のレコードに対する条件が指定され、前記生成手
段は、前記格納手段に格納されている第1のレコード列
から、前記指定手段で指定されたレコードの種類であ
り、かつ、条件を満たさないレコードと、指定手段で指
定されなかったレコードとを取り除いた第2のレコード
列を生成することを特徴とする請求項1に記載のデータ
検索装置。
3. The type of record from the designation means,
A condition for a record of the type is designated, and the generation unit is a record that is the type of the record designated by the designation unit from the first record string stored in the storage unit and does not satisfy the condition. 2. The data search device according to claim 1, wherein the second record string is created by removing the records not specified by the specifying means.
【請求項4】 前記生成手段は、前記格納手段に格納さ
れている第1のレコード列の後に第2のレコード列を連
結した新しい第3のレコード列を生成することを特徴と
する請求項1に記載のデータ検索装置。
4. The generating means generates a new third record string which is a concatenation of the second record string after the first record string stored in the storing means. The data retrieval device described in.
【請求項5】 前記生成手段は、前記格納手段に格納さ
れている第1のレコード列から、前記格納手段に格納さ
れている第2のレコード列中に存在しないレコードを取
り除いた新しい第3のレコード列を生成することを特徴
とする請求項1に記載のデータ検索装置。
5. The new generating means removes a record that does not exist in the second record sequence stored in the storage means from the first record sequence stored in the storage means. The data search device according to claim 1, wherein a record string is generated.
【請求項6】 前記生成手段は、前記格納手段に格納さ
れている第1のレコード列から、前記格納手段に格納さ
れている第2のレコード列中に存在するレコードを取り
除いた新しい第3のレコード列を生成することを特徴と
する請求項1に記載のデータ検索装置。
6. The generating means removes a record existing in the second record sequence stored in the storage means from the first record sequence stored in the storage means, and creates a new third record sequence. The data search device according to claim 1, wherein a record string is generated.
【請求項7】 前記生成手段は、前記格納手段に格納さ
れている第1のレコード列に含まれるレコードのフィー
ルドと、前記格納手段に格納されている第2のレコード
列に含まれるレコードのフィールドとを、この順序で並
べたレコードを、第1のレコード列に含まれるレコード
の順に、それぞれ、第2のレコード列に含まれるレコー
ドの順序ですべての組み合わせについて作成した新しい
第3のレコード列を生成することを特徴とする請求項1
に記載のデータ検索装置。
7. The generation unit is a field of a record included in a first record string stored in the storage unit, and a field of a record included in a second record string stored in the storage unit. , And a new third record string created for all combinations in the order of the records included in the first record string and in the order of the records included in the second record string. It produces | generates, The Claim 1 characterized by the above-mentioned.
The data retrieval device described in.
【請求項8】 前記指定手段から、レコードの種類と、
該種類のレコードのフィールドの並び順が指定され、前
記生成手段は、前記格納手段に格納されている第1のレ
コード列の前記指定手段で指定された種類のレコードの
フィールドの並び順を、前記指定手段で指定された並び
順に変更した新しい第2のレコード列を生成することを
特徴とする請求項1に記載のデータ検索装置。
8. The type of record from the designation means,
The field arrangement order of the record of the type is designated, and the generation unit sets the field arrangement order of the record of the type designated by the designating unit of the first record string stored in the storage unit as described above. 2. The data search device according to claim 1, wherein a new second record string in which the arrangement order designated by the designation means is changed is generated.
【請求項9】 前記指定手段から、レコードの種類と、
該種類のレコードのフィールドの並び順が指定され、前
記生成手段は、前記格納手段に格納されている第1のレ
コード列の前記指定手段で指定された種類のレコードの
フィールドの並び順を、前記指定手段で指定された並び
順に変更し、さらに、前記指定手段で指定されなかった
種類のレコードを取り除いた新しい第2のレコード列を
生成することを特徴とする請求項1に記載のデータ検索
装置。
9. The type of record from the designation means,
The field arrangement order of the record of the type is designated, and the generation unit sets the field arrangement order of the record of the type designated by the designating unit of the first record string stored in the storage unit as described above. 2. The data search device according to claim 1, wherein a new second record string is created by changing the order of arrangement designated by the designating means, and further removing a record of a type not designated by the designating means. .
【請求項10】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールド群の一部が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列の前記指定手段で指定された種類のレコ
ードを、該レコード中のフィールドのうちで前記指定手
段で指定されたもののみからなる新しいレコードに置き
換えた新しい第2のレコード列を生成することを特徴と
する請求項1に記載のデータ検索装置。
10. The type of record and a part of a field group of the record of the type are designated by the designating unit, and the generating unit is configured to designate the first record string stored in the storing unit. A new second record string is generated by replacing the record of the type designated by the means with a new record consisting of only the fields designated by the designating means among the fields in the record. 1. The data search device described in 1.
【請求項11】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールド群の一部が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列の前記指定手段で指定された種類のレコ
ードを、該レコード中のフィールドのうちで前記指定手
段で指定されたもののみからなる新しいレコードに置き
換え、さらに、前記指定手段で指定されなかった種類の
レコードを取り除いた新しい第2のレコード列を生成す
ることを特徴とする請求項1に記載のデータ検索装置。
11. The specifying unit specifies a record type and a part of a field group of the record of the type, and the generating unit specifies the first record string stored in the storage unit. The record of the type designated by the means is replaced with a new record consisting of only the fields designated by the designating means among the fields in the record, and the record of the type not designated by the designating means is removed. The data search device according to claim 1, wherein a new second record string is generated.
【請求項12】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールド群の一部が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列のうち、前記指定手段で指定された種類
であり、かつ、指定手段で指定されたフィールド群のフ
ィールド値が等しい部分列を、該部分列を階層化して作
った新しいレコードに置き換えた新しい第2のレコード
列を生成することを特徴とする請求項1に記載のデータ
検索装置。
12. The type of record and a part of a field group of the record of the type are designated by the designating unit, and the generating unit selects one of the first record strings stored in the storing unit. A new second record string in which a subsequence of the type designated by the designating means and having the same field value of the field group designated by the designating means is replaced with a new record created by layering the substring. The data search device according to claim 1, wherein
【請求項13】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールド群の一部が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列のレコードのうち、前記指定手段で指定
された種類であり、かつ、前記指定手段で指定されたフ
ィールド群のフィールド値が等しい部分列を、該部分列
を階層化して作った新しいレコードに置き換え、さら
に、前記指定手段で指定されなかった種類のレコードを
取り除いた新しい第2のレコード列を生成することを特
徴とする請求項1に記載のデータ検索装置。
13. The type of record and a part of the field group of the record of the type are designated by the designating unit, and the generating unit stores the record of the first record string stored in the storing unit. Of these, a subsequence of the type designated by the designating means and having the same field value of the field group designated by the designating means is replaced with a new record created by hierarchizing the subsequence. 2. The data search device according to claim 1, wherein a new second record string is created by removing a record of a type that is not designated by the designation means.
【請求項14】 前記部分列を階層化して作った新しい
レコードが、前記指定手段で指定されたフィールド群
と、前記部分列を値とするフィールドとからなるレコー
ドであることを特徴とする請求項12または13に記載
のデータ検索装置。
14. A new record created by hierarchizing the partial string is a record composed of a field group designated by the designating unit and a field having the partial string as a value. The data search device according to 12 or 13.
【請求項15】 前記部分列を階層化して作った新しい
レコードが、前記指定手段で指定されたフィールド群
と、前記部分列中の各レコードを、該レコードのフィー
ルド群のうちで前記指定手段で指定されなかったものか
らなるレコードで置き換えたものを値とするフィールド
とからなるレコードであることを特徴とする請求項12
または13に記載のデータ検索装置。
15. A new record created by hierarchizing the subsequence is a field group designated by the designating means, and each record in the subsequence is designated by the designating means in the field group of the record. 13. A record comprising a field having a value obtained by replacing a record consisting of unspecified one.
Alternatively, the data search device according to item 13.
【請求項16】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールド群の一部が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列中のレコードで、前記指定手段で指定さ
れた種類であり、かつ、前記指定手段で指定されたフィ
ールド群のフィールド値が等しい1つ以上のレコードを
順に抽出して連結し、このレコード列を階層化して作っ
た新しいレコードと、第1のレコード列中のレコード
で、前記指定手段で指定されなかった種類のレコードと
を、第1のレコード列中のレコードの順に連結した新し
い第2のレコード列を生成することを特徴とする請求項
1に記載のデータ検索装置。
16. The type of record and a part of a field group of the record of the type are designated by the designating unit, and the generating unit records in the first record string stored in the storing unit. Then, one or more records that are of the type designated by the designating means and have the same field value of the field group designated by the designating means are sequentially extracted and concatenated, and this record string is hierarchically created. A new second record string is created by concatenating the new record and the record of the first record string of the type not specified by the specifying means in the order of the records in the first record string. The data search device according to claim 1, wherein
【請求項17】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールド群の一部が指定さ
れ、前記生成手段は、前記格納手段に格納されている第
1のレコード列中のレコードで、前記指定手段で指定さ
れた種類であり、かつ、前記指定手段で指定されたフィ
ールド群のフィールド値が等しい1つ以上のレコードを
順に抽出して連結し、このレコード列を階層化して作っ
た新しいレコードを、第1のレコード列中のレコードの
順に連結した新しい第2のレコード列を生成することを
特徴とする請求項1に記載のデータ検索装置。
17. The type of record and a part of the field group of the record of the type are designated by the designating unit, and the generating unit records in the first record string stored in the storing unit. Then, one or more records that are of the type designated by the designating means and have the same field value of the field group designated by the designating means are sequentially extracted and concatenated, and this record string is hierarchically created. The data retrieving apparatus according to claim 1, wherein the new record sequence is created by concatenating the new record sequence in the order of the records in the first record sequence.
【請求項18】 前記新しいレコードは、前記指定手段
で指定されたフィールド群と、前記1つ以上のレコード
を抽出した順に連結したレコード列を値とするフィール
ドとからなるレコードであることを特徴とする請求項1
6または17に記載のデータ検索装置。
18. The new record is a record composed of a field group designated by the designating means and a field having a value as a record string obtained by concatenating the one or more records in the order of extraction. Claim 1
The data search device according to 6 or 17.
【請求項19】 前記新しいレコードは、前記指定手段
で指定されたフィールド群と、前記1つ以上のレコード
を抽出した順に連結したレコード列の各レコードから前
記指定手段で指定されたフィールドを取り除いたレコー
ド列を値とするフィールドとからなるレコードであるこ
とを特徴とする請求項16又は17に記載のデータ検索
装置。
19. The new record is obtained by removing the field designated by the designating unit from each record of the field group designated by the designating unit and a record string in which the one or more records are connected in the order of extraction. The data search apparatus according to claim 16 or 17, wherein the record is a record including a field having a record string as a value.
【請求項20】 前記指定手段から、レコードの種類
と、フィールド値が1つ以上の型のレコードからなるレ
コード列であるフィールドが指定され、前記生成手段
は、前記格納手段に格納されている第1のレコード列の
うち、前記指定手段で指定された種類のレコードを、該
レコードのフィールドのうち前記指定手段から指定され
たフィールドの値であるレコード列の各レコードを、前
記レコード中の前記指定手段から指定されなかったフィ
ールド群に追加して作ったレコード列で置き換えた新し
い第2のレコード列を生成することを特徴とする請求項
1に記載のデータ検索装置。
20. The type of record and a field that is a record string consisting of records of one or more types of field values are designated by the designating unit, and the generating unit is stored in the storing unit. Of the one record string, the record of the type designated by the designating means is designated, and each record of the record string which is the value of the field designated by the designating means of the fields of the record is designated in the record. 2. The data search device according to claim 1, wherein a new second record string is created by replacing the record string created by adding to a field group not specified by the means.
【請求項21】 前記指定手段から、レコードの種類
と、フィールド値が1つ以上の型のレコードからなるレ
コード列であるフィールドが指定され、前記生成手段
は、前記格納手段に格納されている第1のレコード列の
うち、前記指定手段で指定された種類のレコードを、該
レコードのフィールドのうち前記指定手段から指定され
たフィールドの値であるレコード列の各レコードを、前
記レコード中の前記指定手段から指定されなかったフィ
ールド群に追加して作ったレコード列で置き換え、さら
に、前記指定手段で指定されなかった種類のレコードを
取り除いた新しい第2のレコード列を生成することを特
徴とする請求項1に記載のデータ検索装置。
21. The type of record and a field, which is a record string consisting of records of one or more types of field values, are designated by the designating unit, and the generating unit is stored in the storing unit. Of the one record string, the record of the type designated by the designating means is designated, and each record of the record string which is the value of the field designated by the designating means of the fields of the record A new second record string is created by replacing with a record string created by adding to a field group not specified by the means, and further removing a record of a type not specified by the specifying means. Item 1. The data search device according to item 1.
【請求項22】 前記指定手段から、レコードの種類
と、該種類のレコードから新たなデータを作成する作成
方法とが指定され、前記生成手段は、前記格納手段に格
納されている第1のレコード列の前記指定手段で指定さ
れた種類のレコードに、前記指定手段で指定された作成
方法にしたがって前記レコードから作成されたデータを
フィールド値とするフィールドを追加した新しい第2の
レコード列を生成することを特徴とする請求項1に記載
のデータ検索装置。
22. The type of record and a creating method for creating new data from the type of record are specified by the specifying unit, and the generating unit is the first record stored in the storage unit. A new second record string is created by adding a field whose field value is the data created from the record according to the creating method specified by the specifying unit to the record of the type specified by the specifying unit of the column. The data search device according to claim 1, wherein
【請求項23】 前記指定手段から、レコードの種類
と、該種類のレコードから新たなデータを作成する作成
方法とが指定され、前記生成手段は、前記格納手段に格
納されている第1のレコード列の前記指定手段で指定さ
れた種類のレコードに、前記指定手段で指定された作成
方法にしたがって前記レコードから作成されたデータを
フィールド値とするフィールドを追加し、さらに、前記
指定手段で指定されなかった種類のレコードを取り除い
た新しい第2のレコード列を生成することを特徴とする
請求項1に記載のデータ検索装置。
23. The designation unit designates a record type and a creation method for creating new data from the record of the type, and the creation unit creates a first record stored in the storage unit. A field having data created from the record according to the creating method specified by the specifying means as a field value is added to the record of the type specified by the specifying means of the column, and further specified by the specifying means. The data search device according to claim 1, wherein a new second record string is created by removing a record of a type that has not existed.
【請求項24】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールドと、該種類のレコー
ドから新たなデータを作成する作成方法が指定され、前
記生成手段は、前記格納手段に格納されている第1のレ
コード列の前記指定手段で指定された種類のレコードの
前記指定手段で指定されたフィールドを、前記指定手段
で指定された作成方法にしたがって前記レコードから作
成されたデータをフィールド値とするフィールドで置き
換えた新しい第2のレコード列を生成することを特徴と
する請求項1に記載のデータ検索装置。
24. The type of record, a field of the record of the type, and a creating method of creating new data from the record of the type are specified by the specifying unit, and the generating unit stores in the storage unit. The field designated by the designating means of the record of the type designated by the designating means of the first record string, and the data created from the record according to the creating method designated by the designating means The data search device according to claim 1, wherein a new second record string replaced with a field to be a value is generated.
【請求項25】 前記指定手段から、レコードの種類
と、該種類のレコードのフィールドと、該種類のレコー
ドから新たなデータを作成する作成方法が指定され、前
記生成手段は、前記格納手段に格納されている第1のレ
コード列の前記指定手段で指定された種類のレコードの
前記指定手段で指定されたフィールドを、前記指定手段
で指定された作成方法にしたがって前記レコードから作
成されたデータをフィールド値とするフィールドに置き
換え、さらに、前記指定手段で指定されなかった種類の
レコードを取り除いた新しい第2のレコード列を生成す
ることを特徴とする請求項1に記載のデータ検索装置。
25. The specification unit specifies a record type, a field of the record of the type, and a creation method of creating new data from the record of the type, and the generation unit stores the data in the storage unit. The field designated by the designating means of the record of the type designated by the designating means of the first record string, and the data created from the record according to the creating method designated by the designating means The data search device according to claim 1, wherein a new second record string is generated by replacing a field as a value and further removing a record of a type not designated by the designation means.
JP5113876A 1993-04-16 1993-04-16 Data retrieval device Expired - Fee Related JP2903941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5113876A JP2903941B2 (en) 1993-04-16 1993-04-16 Data retrieval device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5113876A JP2903941B2 (en) 1993-04-16 1993-04-16 Data retrieval device

Publications (2)

Publication Number Publication Date
JPH06301730A true JPH06301730A (en) 1994-10-28
JP2903941B2 JP2903941B2 (en) 1999-06-14

Family

ID=14623336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5113876A Expired - Fee Related JP2903941B2 (en) 1993-04-16 1993-04-16 Data retrieval device

Country Status (1)

Country Link
JP (1) JP2903941B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001256361A (en) * 2000-03-13 2001-09-21 Toshio Tsukishiro Device and method for information distribution

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047671A (en) * 1990-04-25 1992-01-13 Hitachi Ltd Data base retrieval processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047671A (en) * 1990-04-25 1992-01-13 Hitachi Ltd Data base retrieval processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001256361A (en) * 2000-03-13 2001-09-21 Toshio Tsukishiro Device and method for information distribution

Also Published As

Publication number Publication date
JP2903941B2 (en) 1999-06-14

Similar Documents

Publication Publication Date Title
JP4045399B2 (en) Structured document management apparatus and structured document management method
US6185556B1 (en) Method and apparatus for changing temporal database
JPH0475170A (en) Data base operation system
US5752016A (en) Method and apparatus for database interrogation using a user-defined table
US20070106767A1 (en) Database device database search device, and method thereof
JP3860992B2 (en) Data combination / presentation method and data combination / presentation program
JP2006172446A (en) Complex data access
Mishra et al. Mastering Oracle SQL: Putting Oracle SQL to Work
JPH06301730A (en) Data retrieving device
JPH09259139A (en) Documents Intelligent Search System
JPH0981582A (en) Value-based data management device and data management method
JPH11203327A (en) Parts list management method and apparatus
Santucci et al. A dynamic form-based data visualiser for semantic query languages
US5553278A (en) Method and system for manipulation of database and issuing report thereof
JPH06301729A (en) Data retrieving device
JP2021165979A (en) Production knowledge management system, production knowledge management method and production knowledge management program
JP2003141136A (en) How to update the document search index
JP2001134596A (en) Structured document management device and structured document search method
JPH0728834A (en) Information retrieval device
JPH10301935A (en) Data processing method
JPH05135054A (en) Document processing method
JP2003186670A (en) Automatic generation device, automatic generation method and automatic generation program for database access component
JPH04348468A (en) Data base device
JP3824468B2 (en) Data management system
JP2002202904A (en) Data management method and computer-readable recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080326

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090326

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees